Skip to main content
Claude Code connects to remote MCP servers over HTTP and signs in with OAuth. Pick one of the two ways below.

Option A — the Profit with Purpose plugin

The public Profit with Purpose skills repository is also a Claude Code plugin marketplace. The plugin adds the connector, the skills, and the /ecn-connect and /ecn-status commands, and it updates from the marketplace.
Then run /ecn-connect. The first tool call opens Earth Care Network’s sign-in in your browser.

Option B — the connector alone

1

Add the server

--scope user makes it available in every project.
2

Sign in

Start Claude Code, run /mcp, choose earth-care-network, and sign in to Earth Care Network in the browser. Pick the scopes the connection may use.
3

Use it

Ask, for example:
Help me get my enterprise on Earth Care Network.
Already connected in Claude on the web or desktop? Claude Code picks up that connector when you sign in with the same Claude account, so you can skip the command.

Share it with a project

--scope project writes the server to the project’s .mcp.json, so everyone who opens the project gets it. With OAuth there is no secret in that file; each person signs in as themselves.

Without a browser (scripts, CI)

Use an API key from the portal (Settings → Developers, open it) as a header instead of OAuth. Use this too if the browser sign-in fails after Claude Code restarts on a new port:
An ecn_mcp_… key acts as you. Never commit one; read it from an environment variable or your secret manager.

Remove it

Troubleshooting

  • No tools, or “Unauthorized” — the sign-in did not finish. Run /mcp and sign in again. With a key, check the Bearer prefix.
  • Is the server up? curl -s https://www.earthcare.network/mcp/health/ answers {"ok": true, …}. It does not list tools — that needs a signed-in connection.
  • insufficient_scope — reconnect and grant that scope.
  • human_only — working as designed: the answer’s portal_url is where you publish, send or pay yourself.