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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。