MCP Integration Guide
Want copy-paste configs? See the Install page for ready-to-use configuration blocks for all supported clients.
Overview
reasoning.services exposes four cognitive tools as MCP servers over native HTTP transport:
- Structured Reflection β Guided self-reflection that surfaces what you are missing
- Sequential Thinking β Stage gates that prevent skipping steps
- Context Switcher β Multi-perspective analysis from 9 viewpoints
- Decision Matrix β Weighted criteria with sensitivity analysis
Prerequisites: An active reasoning.services subscription and your API key from the account dashboard.
Claude Desktop
Claude Desktop has native MCP support with HTTP transport. Add reasoning.services to your configuration file:
1. Locate your configuration file
The config file location varies by operating system:# macOS
~/Library/Application Support/Claude/claude_desktop_config.json
# Windows
%APPDATA%\Claude\claude_desktop_config.json
# Linux
~/.config/Claude/claude_desktop_config.json2. Add the MCP server configuration
Add all four services as native HTTP MCP servers. Replace YOUR_RSVC_API_KEY with your actual API key:
{
"mcpServers": {
"structured-reflection": {
"type": "http",
"url": "https://reasoning.services/tools/structured-reflection/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"sequential-thinking": {
"type": "http",
"url": "https://reasoning.services/tools/sequential-thinking/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"context-switcher": {
"type": "http",
"url": "https://reasoning.services/tools/context-switcher/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"decision-matrix": {
"type": "http",
"url": "https://reasoning.services/tools/decision-matrix/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
}
}
}3. Restart Claude Desktop
Quit and reopen Claude Desktop. You should see the reasoning.services tools available in your tools menu.
Cursor
Cursor supports MCP servers with native HTTP transport. Configuration lives in ~/.cursor/mcp.json or via Settings β Features β MCP Servers.
1. Open MCP configuration
Go to Settings β Features β MCP Servers or edit ~/.cursor/mcp.json directly.
2. Add server entries
Cursor uses a flat object (no mcpServers wrapper). Replace YOUR_RSVC_API_KEY with your actual API key:
{
"structured-reflection": {
"type": "http",
"url": "https://reasoning.services/tools/structured-reflection/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"sequential-thinking": {
"type": "http",
"url": "https://reasoning.services/tools/sequential-thinking/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"context-switcher": {
"type": "http",
"url": "https://reasoning.services/tools/context-switcher/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"decision-matrix": {
"type": "http",
"url": "https://reasoning.services/tools/decision-matrix/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
}
}3. Reload Cursor
Use the command palette (Cmd/Ctrl + Shift + P) and run "Developer: Reload Window" to activate the new MCP servers.
Claude Code (CLI)
Add reasoning.services tools using the CLI or by editing your settings file directly.
Option A: CLI one-liners
Run each command to register a service. Replace YOUR_RSVC_API_KEY with your actual API key:
claude mcp add structured-reflection --transport http --url https://reasoning.services/tools/structured-reflection/mcp --header "Authorization: Bearer YOUR_RSVC_API_KEY"
claude mcp add sequential-thinking --transport http --url https://reasoning.services/tools/sequential-thinking/mcp --header "Authorization: Bearer YOUR_RSVC_API_KEY"
claude mcp add context-switcher --transport http --url https://reasoning.services/tools/context-switcher/mcp --header "Authorization: Bearer YOUR_RSVC_API_KEY"
claude mcp add decision-matrix --transport http --url https://reasoning.services/tools/decision-matrix/mcp --header "Authorization: Bearer YOUR_RSVC_API_KEY"Option B: Manual configuration
Edit ~/.claude/settings.json and add the mcpServers block:
{
"mcpServers": {
"structured-reflection": {
"type": "http",
"url": "https://reasoning.services/tools/structured-reflection/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"sequential-thinking": {
"type": "http",
"url": "https://reasoning.services/tools/sequential-thinking/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"context-switcher": {
"type": "http",
"url": "https://reasoning.services/tools/context-switcher/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"decision-matrix": {
"type": "http",
"url": "https://reasoning.services/tools/decision-matrix/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
}
}
}Windsurf
Windsurf supports MCP servers with native HTTP transport. Configuration lives in ~/.codeium/windsurf/mcp_config.json.
Add server entries
Windsurf uses the mcpServers wrapper (same structure as Claude Desktop). Replace YOUR_RSVC_API_KEY with your actual API key:
{
"mcpServers": {
"structured-reflection": {
"type": "http",
"url": "https://reasoning.services/tools/structured-reflection/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"sequential-thinking": {
"type": "http",
"url": "https://reasoning.services/tools/sequential-thinking/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"context-switcher": {
"type": "http",
"url": "https://reasoning.services/tools/context-switcher/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"decision-matrix": {
"type": "http",
"url": "https://reasoning.services/tools/decision-matrix/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
}
}
}Reload Windsurf
Restart Windsurf or reload the window to activate the new MCP servers.
Cline / Continue (VS Code)
VS Code extensions like Cline and Continue support MCP servers through their own configuration. These extensions typically accept a flat JSON object of server definitions.
Cline
Open Cline settings in VS Code and add the MCP server configuration. Replace YOUR_RSVC_API_KEY with your actual API key:
{
"structured-reflection": {
"type": "http",
"url": "https://reasoning.services/tools/structured-reflection/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"sequential-thinking": {
"type": "http",
"url": "https://reasoning.services/tools/sequential-thinking/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"context-switcher": {
"type": "http",
"url": "https://reasoning.services/tools/context-switcher/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"decision-matrix": {
"type": "http",
"url": "https://reasoning.services/tools/decision-matrix/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
}
}Continue
Add the same configuration to your ~/.continue/config.json under the experimental or mcpServers key, depending on your Continue version.
{
"structured-reflection": {
"type": "http",
"url": "https://reasoning.services/tools/structured-reflection/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"sequential-thinking": {
"type": "http",
"url": "https://reasoning.services/tools/sequential-thinking/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"context-switcher": {
"type": "http",
"url": "https://reasoning.services/tools/context-switcher/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
},
"decision-matrix": {
"type": "http",
"url": "https://reasoning.services/tools/decision-matrix/mcp",
"headers": { "Authorization": "Bearer YOUR_RSVC_API_KEY" }
}
}Authentication
Getting Your API Key
- Sign in to your reasoning.services account
- Navigate to Account β API Keys
- Generate a new key
- Copy and securely store the key (it won't be shown again)
Security note:Keep your API key secure. Don't commit it to version control. Use environment variables or secret management tools for production deployments.
Using Environment Variables
Store your API key in an environment variable and reference it in the headers block of your JSON config. The Authorization header value accepts the key directly β no shell variable expansion needed in the JSON file itself.
# In your shell profile (.zshrc, .bashrc, etc.)
export REASONING_SERVICES_API_KEY="your_api_key_here"
# Then replace YOUR_RSVC_API_KEY in the JSON config with the actual key value.
# Some clients support environment variable references in headers β
# check your client's documentation for details.Available Tools
Once connected, you'll have access to these MCP tools:
start_reflection / reflect / conclude_reflection
Structured Reflection tools for guided problem-solving sessions.
> Start a reflection session about this architecture decision
> reflect: "I'm not sure if I should use microservices or monolith"
> Get insights from the sessionprocess_thought / generate_summary
Sequential Thinking tools for staged reasoning with checkpoints.
> Process thought: "First, let's define the problem clearly"
> Stage: Problem Definition
> Continue with Research stage...start_context_analysis / analyze_from_perspectives / synthesize
Context Switcher tools for multi-perspective analysis.
> Analyze "Should we migrate to Kubernetes?" from:
> - Technical perspective
> - Business perspective
> - Risk perspective
> Synthesize findingsstart_decision_analysis / add_criterion / evaluate_options
Decision Matrix tools for weighted decision-making.
> Compare PostgreSQL vs MongoDB vs DynamoDB
> Criteria: consistency (weight: 1.5), scalability (1.0), cost (0.8)
> Run sensitivity analysisTroubleshooting
"Server not responding" or connection timeouts
- β’Verify your API key is correct and not expired
- β’Ensure you have network access to
reasoning.services - β’Try restarting your MCP client after configuration changes
"Unauthorized" errors (401)
- β’Regenerate your API key from the account dashboard
- β’Ensure the header value is
Bearer YOUR_RSVC_API_KEY(note the space after Bearer) - β’Check that your subscription is active
Tools not appearing in client
- β’Verify your JSON configuration syntax is valid
- β’Check client logs for MCP connection errors
- β’Test connectivity directly with curl:
curl -H 'Authorization: Bearer YOUR_RSVC_API_KEY' https://reasoning.services/tools/context-switcher/mcp