Skip to content
MCP-Bridge
AI & ML

Anthropic API Claude Desktop Config

Add the Anthropic API MCP server to Claude Desktop with this ready-to-use configuration.

Setup Instructions

  1. Open Claude Desktop
  2. Go to Settings → Developer → Edit Config → claude_desktop_config.json
  3. Paste the JSON below into the file
  4. Set your API Key in the env section
  5. Restart Claude Desktop

Configuration JSON

Copy the entire block into your claude_desktop_config.json

{
  "mcpServers": {
    "anthropic": {
      "command": "npx",
      "args": [
        "-y",
        "@anthropic/mcp-server"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-..."
      }
    }
  }
}

Environment Variables

ANTHROPIC_API_KEY

Replace sk-ant-... with your actual anthropic api key

Endpoints

POST/v1/messages

Create a message

POST/v1/complete

Complete text