How to add an MCP server to Claude and Cursor (with real Chile and LATAM data)

Step by step per client: Claude custom connector, claude_desktop_config.json, claude mcp add in Claude Code, mcp.json in Cursor and VS Code. Verified configs and real data from Nov 27, 2026.

  • MCP
  • Claude
  • Cursor
  • Article

An MCP server (Model Context Protocol) gives your AI assistant tools: instead of pasting data into the chat, Claude or Cursor call an API directly and answer with the data and its source. This article shows, client by client, how to add a remote MCP server to Claude (claude.ai and Claude Desktop), Claude Code, Cursor and, as a bonus, VS Code. Our example is the Better Llama MCP, with 15 tools for public data from Chile, Colombia, Peru and Mexico.

Menus, paths and commands come from each client's official documentation (linked in every section). The configs are the same ones in our examples repository, and the output is real: we got it on November 27, 2026 at 10:22 (Chile time) with Claude Code 2.1.332 and the Cursor CLI. For the bigger picture of why an MCP helps with public data, start with how to connect AI agents to public data with one MCP.

Summary: one MCP, five clients

The MCP is https://mcp.betterllama.com/mcp: Streamable HTTP, no sign-up and no authentication during the beta (60 requests per minute per IP). The only thing that changes between clients is where you paste it:

ClientWhere you set it upWhat you addDocs
Claude (claude.ai, Claude Desktop, Cowork)Customize → Connectors → «+ Add» → «Add custom connector»MCP: https://mcp.betterllama.com/mcpClaude Help Center
Claude Desktop (local server)claude_desktop_config.jsonnpx -y mcp-remote …Model Context Protocol
Claude Codeclaude mcp add--transport httpClaude Code Docs
Cursor~/.cursor/mcp.json or .cursor/mcp.json"url"Cursor Docs
VS Code (GitHub Copilot)Chat: Open Customizations → MCP Servers"type": "http"VS Code Docs

Claude (claude.ai and Claude Desktop): custom connector

In Claude, a remote MCP server is added as a custom connector. According to the Claude Help Center, it is available on Free, Pro, Max, Ultra, Team and Enterprise plans (Free allows one custom connector), and the same connector works in claude.ai, Claude Desktop and Cowork. On an individual plan:

  1. Go to Customize → Connectors.
  2. Click «+ Add», then «Add custom connector».
  3. Enter a name (for example Better Llama) and the MCP address exactly: https://mcp.betterllama.com/mcp. Click «Continue».
  4. Review the authentication settings Claude detected and click «Continue».
  5. Under Authentication choose «No sign in»: this MCP does not use OAuth. Finish with «Add».
  6. In a conversation, open the «+» button at the lower left → «Connectors» and turn Better Llama on.

On Team and Enterprise plans, an Owner first adds it in Organization settings → Connectors («Add» → «Custom» → «Web») and then each member connects it from Customize → Connectors. A useful detail from the docs: Claude connects to the server from Anthropic's cloud, not from your computer, so the server must be public over HTTPS on port 443. The Better Llama MCP is.

Claude Desktop with a config file (local alternative)

If you want the connection to leave from your own machine, or your account cannot add custom connectors, Claude Desktop also reads local servers from claude_desktop_config.json. The official MCP guide puts it at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Open it from the app menu (Claude → Settings…) → Developer → «Edit Config»; in the newer settings layout, local servers are under Settings → Desktop app → Extensions («Manage»), per the Claude Desktop help. Since this file only takes local servers (commands), we use the mcp-remote bridge, which runs on Node.js and forwards everything to the remote MCP. This is config/claude_desktop_config.json, unchanged:

claude_desktop_config.json
{
  "mcpServers": {
    "betterllama": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.betterllama.com/mcp"]
    }
  }
}

Save, quit Claude Desktop completely and open it again. We ran exactly that command (npx -y mcp-remote https://mcp.betterllama.com/mcp, mcp-remote 0.17.1) over stdio, the way Claude Desktop launches it: it answered initialize with server betterllama 0.5.1, listed all 15 tools and returned the November 27 UF: CLP 41,419.22.

Claude Code: one command

In your terminal, the command from the Claude Code documentation for remote HTTP servers is claude mcp add --transport http <name> <url>. With Better Llama:

terminal
claude mcp add --transport http betterllama https://mcp.betterllama.com/mcp

By default it goes to the local scope (just you, in that project). Add --scope user to have it in all your projects or --scope project to share it with your team in .mcp.json. This is what Claude Code 2.1.332 printed when adding it and when checking the connection with claude mcp get (without the terminal's check-mark glyph):

terminal
$ claude mcp add --transport http betterllama https://mcp.betterllama.com/mcp
Added HTTP MCP server betterllama with URL: https://mcp.betterllama.com/mcp to local config

$ claude mcp get betterllama
betterllama:
  Scope: Local config (private to you in this project)
  Status: Connected
  Type: http
  URL: https://mcp.betterllama.com/mcp

Inside a session, /mcp shows the server status and how many tools it exposes. To remove it: claude mcp remove betterllama.

Cursor: mcp.json

The Cursor documentation defines two locations: ~/.cursor/mcp.json in your home folder (every project, in the editor and the CLI) or .cursor/mcp.json at a project root (that project only). For a remote server the url key is enough. This is config/cursor-mcp.json:

mcp.json
{
  "mcpServers": {
    "betterllama": {
      "url": "https://mcp.betterllama.com/mcp"
    }
  }
}

Cursor asks for approval before using MCP tools; servers are turned on or off in Customize, in the sidebar. With that same file in ~/.cursor/mcp.json, the Cursor CLI (2026.11.22) listed all 15 tools with cursor-agent mcp list-tools betterllama, and this is how it looked after approving it:

terminal
$ cursor-agent mcp list
betterllama: not loaded (needs approval)
$ cursor-agent mcp enable betterllama
Enabled and approved MCP server: betterllama
$ cursor-agent mcp list
betterllama: ready

If something fails, open the Output panel and pick «MCP Logs».

Optional: VS Code (GitHub Copilot)

According to the VS Code documentation, run Chat: Open Customizations from the Command Palette → MCP Servers → Add Server (+), choose HTTP, paste https://mcp.betterllama.com/mcp, give it an ID (for example betterllama) and pick Global → Copilot Global. If you prefer a file, the portable format goes in ~/.copilot/mcp-config.json (personal) or .mcp.json at the workspace root. This is config/copilot-mcp-config.json:

mcp-config.json
{
  "mcpServers": {
    "betterllama": {
      "type": "http",
      "url": "https://mcp.betterllama.com/mcp",
      "tools": ["*"]
    }
  }
}

The older format, .vscode/mcp.json with "servers", belongs to the Local harness that VS Code marks as deprecated; we keep it in config/vscode-mcp.json for existing setups.

Try it: questions with real data

With the MCP connected in any of these clients, ask in plain language. The model usually calls search_tools first to pick the tool. This is the real answer to «tipo de cambio Perú» (Peru exchange rate):

JSON
→ tools/call
{
  "name": "search_tools",
  "arguments": {
    "query": "tipo de cambio Perú"
  }
}

← result (10 tools; top 3)
[
  {
    "name": "peru_bcrp_series",
    "country": "PE",
    "access": "none"
  },
  {
    "name": "colombia_trm",
    "country": "CO",
    "access": "none"
  },
  {
    "name": "mexico_banxico_indicators",
    "country": "MX",
    "access": "none"
  }
]

Then it calls the chosen tool. These are real calls from November 27, 2026: the day's UF per the CMF, CLP 41,419.22 (observed dollar: CLP 1,037.91),

JSON
→ tools/call
{
  "name": "get_chile_financial_indicators",
  "arguments": {
    "source": "uf",
    "period": "current"
  }
}

← result (results[0], extracto)
{
  "indicatorName": "Unidad de Fomento (UF)",
  "date": "2026-11-27",
  "value": 41419.22,
  "unit": "CLP"
}
"attribution": "Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos — https://www.cmfchile.cl"

and Peru's interbank ask exchange rate, the latest published by the BCRP: PEN 3.4916 per dollar as of November 25:

JSON
→ tools/call
{
  "name": "peru_bcrp_series",
  "arguments": {
    "series": [
      "tc_interbancario_venta"
    ],
    "maxItems": 1
  }
}

← result (results[0])
{
  "alias": "tc_interbancario_venta",
  "name": "Tipo de cambio - TC Interbancario (S/ por US$) - Venta",
  "unit": "S/ por US$",
  "latest": {
    "period": "25.Nov.26",
    "date": "2026-11-25",
    "value": 3.49157142857143
  }
}

Prompts to start with: «What is the UF worth today? Cite the source», «What was Peru's latest interbank exchange rate?», «Were there earthquakes above 5 in Chile this week?». These are the 15 tools the MCP exposes today:

tools/list
search_tools, search_chile_public_tenders, get_chile_financial_indicators, get_chile_central_bank_series, find_chile_fuel_prices, chilexpress_shipping, get_chile_electricity_market, search_chile_official_gazette, get_chile_earthquakes, get_santiago_stock_exchange_data, chile_calendar_and_rut, colombia_secop_search, colombia_trm, peru_bcrp_series, mexico_banxico_indicators

Tools that need your key

Most need none. Mercado Público and the Santiago Stock Exchange use your own free key, which the MCP receives in an HTTP header (for example X-MercadoPublico-Ticket). In Claude Code pass it with --header; in Cursor, with "headers" in mcp.json; in Claude connectors, under Request headers. Do not paste keys into chat.

Common problems

SymptomWhat to do
Claude does not show the toolsEnable the connector in the conversation: «+» button at the lower left → «Connectors». The connector connects from Anthropic's cloud, not from your computer; the MCP is public over HTTPS on port 443, so you do not need to open anything on your network.
Claude Desktop does not load claude_desktop_config.jsonQuit Claude Desktop completely and open it again. Check the JSON syntax and the logs: mcp.log in ~/Library/Logs/Claude (macOS) or %APPDATA%\Claude\logs (Windows). The bridge needs Node.js.
Claude Code: «has a "url" but no "type"»It happens if you write the server by hand in .mcp.json or ~/.claude.json without "type": "http". With claude mcp add --transport http it does not.
Cursor: «needs approval» or tools missingCursor asks for approval before using MCP tools. Turn the server on in Customize (sidebar) and check Output → «MCP Logs» if the connection fails.

Next steps

Want the MCP inside your own agent instead of an assistant? See LangChain, the OpenAI Agents SDK and the Vercel AI SDK or the n8n workflow with MCP. The examples repository also has configs for Codex, Gemini CLI and Windsurf, and the home page sums them up. To understand the data, continue with the Chile economic indicators guide or the BCRP guide.

Connect your agent in a minute

15 tools with official data from Chile, Colombia, Peru and Mexico, free during the beta and with no sign-up.

https://mcp.betterllama.com/mcp