Connect AI clients
Setup for the clients people actually run, Claude Code and Cursor among them. Each page names the config file, gives the exact JSON, and shows how to confirm the server answered. Every step was run against the versions printed at the top of the page.
Connect AI clients
- How to add MCP servers to Claude CodeAdd remote and local MCP servers to Claude Code with claude mcp add, pick the right scope, pass credentials without committing them, and check that the tools loaded.
- How to set up MCP servers in CursorConfigure MCP servers in Cursor with mcp.json: global or project config, local and remote servers, keys from environment variables, and how to check that the tools loaded.
- How to add MCP servers to Claude Desktop without plaintext keysWhere claude_desktop_config.json lives on macOS and Windows, how to add a server, what its env block exposes, and how to set up Claude Desktop so the file holds no API keys.
- Remote MCP servers: how to connect one, authenticate, and limit what it can doConnect a remote MCP server to Claude Code, Cursor and Claude Desktop with the exact config for each, sign in with OAuth or an API key header, and limit its tools per agent.