Adding to your agents

Configure your favorite IDE to connect to your deployed Cospec MCP servers.

Prerequisites

Before adding your MCP server to your agent, make sure you have one deployment

Add Connector / MCP server

Follow the URL https://claude.ai/settings/connectors
Click "Add Custom Connector".
Paste your deployment URL

Configuration Steps

  1. 1Open your terminal
  2. 2Run the MCP add command with HTTP transport
  3. 3Verify the server was added successfully

Commands

# Add your MCP server with HTTP transport
claude mcp add --transport http <name> <url>

# Example:
claude mcp add --transport http Cospec https://your-deployment-url

# List configured servers
claude mcp list

Configuration Steps

  1. 1Open Cursor Settings
  2. 2Open "Tools and Integrations"
  3. 3Add "New MCP Server URL"
  4. 4Paste the config provided on your deployment

Alternative: JSON Configuration

Add to your Cursor configuration file:

// In Cursor .cursor/mcp.json
{
  "cospec": {
    "url": "<your-deployment-url>"
  }
}

Configure MCP Server

Add your server to VS Code's MCP configuration.

// In VS Code .vscode/mcp.json
        "servers": {
          "cospec": {
            "url": <your-deployment-url>,
            "type": "http"
          }
        }

Troubleshooting

Sometimes VS Code will retain ClientIDs from the OAuth 2.0 sequence. If you encounter authentication issues, you may need to remove these by typing the below in the VS Code tool bar:

Remove authentication in VS Code
🔧
Other IDEs & Clients
General configuration for any MCP-compatible client

Any client that supports the Model Context Protocol can connect to your Cospec server. All you'll need is your deployment URL!