MCP server that auto-classifies prompt complexity and routes to the right Claude thinking mode
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add thinkgate --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y mcp-thinkgate~/.codex/config.toml
[mcp_servers.thinkgate]
command = "npx"
args = ["-y", "mcp-thinkgate"]
env = { ANTHROPIC_API_KEY = "<ANTHROPIC_API_KEY>" }
# codex mcp add thinkgate --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y mcp-thinkgate~/.cursor/mcp.json
{
"mcpServers": {
"thinkgate": {
"command": "npx",
"args": [
"-y",
"mcp-thinkgate"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"thinkgate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-thinkgate"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"thinkgate": {
"command": "npx",
"args": [
"-y",
"mcp-thinkgate"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"thinkgate": {
"command": "npx",
"args": [
"-y",
"mcp-thinkgate"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"thinkgate": {
"command": "npx",
"args": [
"-y",
"mcp-thinkgate"
],
"env": {
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}Environment variables
ANTHROPIC_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.