Skip to main content
Claude Code supports remote MCP servers over HTTP. Add ECN with one command.
1

Add the server

claude mcp add --transport http earth-care-network \
  https://api.earthcare.network/mcp/ \
  --header "Authorization: Bearer ecn_mcp_YOUR_KEY"
2

Confirm it connected

claude mcp list
You should see earth-care-network listed as connected.
3

Use it

Start a session and ask, for example:
Use Earth Care Network to find regenerative builders near Costa Rica.

Project vs. user scope

By default the server is added to your user config. To share it with a project (committed to the repo), add --scope project, which writes to .mcp.json:
claude mcp add --transport http --scope project earth-care-network \
  https://api.earthcare.network/mcp/ \
  --header "Authorization: Bearer ecn_mcp_YOUR_KEY"
Don’t commit a real ecn_mcp_… key to a shared repo. Use an environment variable or your team’s secret manager and reference it in the header.

Remove it

claude mcp remove earth-care-network

Troubleshooting

  • tools/list works but tools/call returns Unauthorized — your key is missing, revoked, or sent on the wrong header. Recreate it under Settings → Connect external AI tools.
  • No tools appear — verify the endpoint with curl -s https://api.earthcare.network/mcp/health/ | jq .tools.