Claude Code is Anthropic’s CLI for Claude. It supports MCP servers, letting you use Toolcog directly from the command line.
Use the Claude Code CLI to add the Toolcog MCP server:
claude mcp add toolcog --transport http --scope user -- https://mcp.toolcog.comThis adds Toolcog at user scope, making it available across all your projects.
MCP servers can be configured at three scope levels:
| Scope | Use Case | Location |
|---|---|---|
user | Available everywhere | ~/.claude/settings.local.json |
project | Shared with team | .mcp.json in project root |
local | Project-specific, not shared | .claude/settings.local.json in project |
For most users, user scope is appropriate:
claude mcp add toolcog --transport http --scope user -- https://mcp.toolcog.comFor team-shared access to a custom catalog:
claude mcp add toolcog --transport http --scope project -- https://mcp.toolcog.com/mycompany/shared-catalogList configured MCP servers:
claude mcp listYou should see toolcog in the output.
Test the connection:
claude mcp get toolcogStart a Claude Code session and ask for API operations:
claudeThen in the session:
“Find Stripe operations for creating invoices”
Claude will use Toolcog to discover operations, show you their interfaces, and execute them when you ask.
When Claude needs to access your Toolcog account:
Your session persists until it expires.
Connect to a specific catalog:
claude mcp add toolcog-internal --transport http --scope user -- https://mcp.toolcog.com/mycompany/internal-apisYou can have multiple Toolcog connections with different scopes.
claude mcp remove toolcogVerify the server is configured:
claude mcp listIf not listed, re-add it with the correct transport:
claude mcp add toolcog --transport http --scope user -- https://mcp.toolcog.comEnsure you’re authenticated with Toolcog. If prompted, click the authorization link to sign in.
On native Windows (not WSL), some MCP configurations may require the cmd /c wrapper. For Toolcog’s HTTP transport, this typically isn’t needed.
If you prefer editing config files directly, add to ~/.claude/settings.local.json:
{ "mcpServers": { "toolcog": { "transport": "http", "url": "https://mcp.toolcog.com" } }}