OpenMCP

Using an OpenMCP server

One command to connect your MCP client to a web API

Claude desktop

npx @open-mcp/config add {server-id} \
  ~/Library/Application\ Support/Claude/claude_desktop_config.json \
  --ENV_VAR=abc123

Cursor

Run this from the root of your project directory or, to add to all cursor projects, run it from your home directory ~

npx @open-mcp/config add {server-id} \
  .cursor/mcp.json \
  --ENV_VAR=abc123

Other

npx @open-mcp/config add {server-id} \
  /path/to/config.json \
  --ENV_VAR=abc123

Manually

If you don't want to use the command-line helper, add the following to your MCP client config manually:

{
  "mcpServers": {
    "{server-id}": {
      "command": "npx",
      "args": ["-y", "@open-mcp/{server-id}"],
      "env": {...}
    }
  }
}

Example

On this page