Cursor

Cursor supports MCP servers, letting you use Toolcog directly in your IDE for API operations while coding.

Prerequisites

Configuration

Cursor uses JSON configuration files for MCP servers. Choose based on your needs:

LocationScope
~/.cursor/mcp.jsonAll projects (user-level)
.cursor/mcp.jsonSingle project

User-Level Configuration

Create or edit ~/.cursor/mcp.json:

{
"mcpServers": {
"toolcog": {
"url": "https://mcp.toolcog.com"
}
}
}

Project-Level Configuration

Create .cursor/mcp.json in your project root:

{
"mcpServers": {
"toolcog": {
"url": "https://mcp.toolcog.com/mycompany/project-catalog"
}
}
}

Configuration via UI

You can also add MCP servers through the Cursor UI:

  1. Open FilePreferencesCursor Settings
  2. Select the MCP option
  3. Click to add a new server
  4. Enter the Toolcog URL: https://mcp.toolcog.com

Using Toolcog

After configuration, Toolcog’s tools are available in Cursor’s AI features. Ask Cursor:

“Find the Stripe API operation for creating a payment intent”

Cursor will use Toolcog to discover the operation, show you its interface, and help you use it in your code.

Authentication

When Cursor needs to access your Toolcog account:

  1. Cursor displays an authorization link
  2. Click to open your browser and sign in to Toolcog
  3. Return to Cursor

For downstream services (GitHub, Stripe, etc.), the same flow applies when you try to call an operation that requires authorization.

Catalogs

Connect to specific catalogs by using scoped URLs:

{
"mcpServers": {
"toolcog-internal": {
"url": "https://mcp.toolcog.com/mycompany/internal-apis"
},
"toolcog-public": {
"url": "https://mcp.toolcog.com"
}
}
}

Limitations

Verify It’s Working

In Cursor, ask the AI:

“What operations does Toolcog have available for Stripe?”

If you see a list of Stripe operations, Toolcog is connected.

Troubleshooting

Server not connecting

Tools not appearing

Authentication errors

Next Steps