> ## Documentation Index
> Fetch the complete documentation index at: https://docs.earthcare.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Other apps and scripts

> Gemini CLI, Grok, any app that takes a remote MCP server with OAuth, and your own agents and scripts with an API key.

Any app that accepts a remote MCP server with OAuth can use your connection
link:

```text theme={null}
https://www.earthcare.network/mcp
```

## Gemini CLI

```bash theme={null}
gemini mcp add --transport http earth-care-network https://www.earthcare.network/mcp
```

Start Gemini CLI, run `/mcp auth earth-care-network` and sign in in your
browser. `/mcp` lists the tools.

## Grok

On grok.com, open **Connectors → New Connector → Custom**, paste the link and
sign in.

## Your own agent or script

Scripts can't open a browser to sign in, so they use an API key.

**1. Create a key**

In your portal, open **Settings → Developers** and click **Create key**
([open it](https://portal.earthcare.network/portal/settings#developers)).
Copy it now: we show it once.

**2. Send it as a Bearer header**

```bash theme={null}
curl -s https://www.earthcare.network/mcp \
  -H "Authorization: Bearer ecn_mcp_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

Most MCP clients take the same header. For example, Gemini CLI:

```bash theme={null}
gemini mcp add --transport http earth-care-network https://www.earthcare.network/mcp \
  --header "Authorization: Bearer ecn_mcp_YOUR_KEY"
```

> [!WARNING]
>
> A key acts as you, in every enterprise you belong to. Keep it out of code and
> shared files, and read it from an environment variable or a secret manager.
> Revoke it in **Settings → Developers**.

## Next

* [Technical reference](https://docs.earthcare.network/mcp/overview.md): the endpoint, scopes and errors.
* [Tools reference](https://docs.earthcare.network/mcp/tools.md): every tool the server advertises.
* [What agents can and can't do](https://docs.earthcare.network/mcp/agents-can-and-cant.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.