SuperClaude MCP Server
Brings all SuperClaude features to Gemini CLI, enabling advanced coding assistance, persona switching, and token optimization.
README
SuperClaude MCP Server
An MCP server that brings all SuperClaude features to Gemini CLI.
Prerequisites
- SuperClaude must already be installed in Claude Code
- Node.js 18 or higher
- Gemini CLI installed
Installation
Method 1: Local Installation
# Create project directory
mkdir superclaude-mcp && cd superclaude-mcp
# Copy files (save the code above)
# - superclaude-mcp-server.js
# - package.json
# Install dependencies
npm install
# Grant execution permissions
chmod +x superclaude-mcp-server.js
Method 2: Global Installation
# Global install
npm install -g .
# Or use npm link
npm link
Gemini CLI Configuration
Add the following to your ~/.gemini/settings.json file:
{
"mcpServers": {
"superclaude": {
"command": "node",
"args": ["/path/to/superclaude-mcp-server.js"],
"env": {
"CLAUDE_CONFIG_DIR": "${HOME}/.claude"
}
}
}
}
Or configure using npx:
{
"mcpServers": {
"superclaude": {
"command": "npx",
"args": ["-y", "superclaude-gemini-integration-mcp"],
"env": {
"CLAUDE_CONFIG_DIR": "${HOME}/.claude"
}
}
}
}
Usage
1. Verify MCP Server
gemini
# In Gemini CLI
/mcp
# Check if superclaude server is listed
2. Using SuperClaude Commands
# Build project
gemini "Use sc_build to create a React app with TDD setup"
# Switch persona
gemini "Switch to architect persona using sc_persona"
# Analyze code
gemini "Run sc_analyze on the current codebase with deep analysis"
# Troubleshoot
gemini "Use sc_troubleshoot to debug the API connection issue"
# Create checkpoint
gemini "Create a git checkpoint named 'before-refactor'"
3. Using Flags and Options
# Include flags
gemini "Use sc_build with react type and flags --tdd --magic"
# Use with persona
gemini "Use sc_analyze with security persona for vulnerability scanning"
# Evidence-based approach
gemini "Use sc_design with evidence for new authentication system"
4. Token Optimization
# Set ultra-compressed mode
gemini "Set token mode to ultracompressed"
# All subsequent responses will be compressed
gemini "Build a complex microservices architecture"
Available Tools
Command Tools (sc_*)
sc_build- Build projectssc_dev-setup- Set up development environmentsc_test- Create and run testssc_analyze- Analyze codesc_troubleshoot- Troubleshoot issuessc_improve- Improve codesc_explain- Explain codesc_deploy- Automate deploymentsc_migrate- Handle migrationssc_scan- Security scanningsc_estimate- Project estimationsc_cleanup- Clean up codesc_git- Git operationssc_design- System designsc_spawn- Create specialized agentssc_document- Generate documentationsc_load- Load configurations
Utility Tools
sc_persona- Switch personassc_checkpoint- Manage Git checkpointssc_token_mode- Set token optimization
Personas
Available personas:
architect- System Architectfrontend- Frontend Engineerbackend- Backend Engineersecurity- Security Engineerqa- QA Engineer
Advanced Usage
Using with GEMINI.md
Create a GEMINI.md file in your project root:
# SuperClaude Commands
## Shortcuts
- "sc:build" → Execute sc_build tool
- "sc:analyze" → Execute sc_analyze tool
- "sc:persona [name]" → Switch persona
## Default Persona
Activate architect persona at project start
## Token Mode
Automatically use compressed mode for complex tasks
Setting Up Shell Aliases
Add to your .bashrc or .zshrc:
# SuperClaude shortcuts
alias gsc='gemini "Execute SuperClaude command"'
alias gsc-build='gemini "Use sc_build to"'
alias gsc-analyze='gemini "Use sc_analyze on"'
alias gsc-persona='gemini "Switch to persona"'
Usage examples:
gsc-build "create a Next.js app with TypeScript"
gsc-analyze "the authentication module"
gsc-persona "security for threat modeling"
Troubleshooting
MCP Server Not Visible
- Restart Gemini CLI
- Check configuration file path
- Verify Node.js version (18+)
Commands Not Working
- Verify SuperClaude installation:
ls ~/.claude - Check logs:
gemini --verbose - Check MCP server status:
/mcpcommand
Personas Not Loading
- Check persona file:
~/.claude/shared/superclaude-personas.yml - Default personas will be used
- Try manually switching personas
Contributing
Issues and PRs are always welcome!
License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.