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

# Connect an MCP client

> Add Darwin to any remote-MCP compatible client.

Use `https://darwin.so/mcp` as the remote server URL. The client opens Darwin in a browser to authenticate and approve the requested scopes.

For clients that accept JSON configuration:

```json theme={null}
{
  "mcpServers": {
    "darwin": {
      "url": "https://darwin.so/mcp"
    }
  }
}
```

## Connection flow

1. Add the remote server URL.
2. Complete Darwin OAuth in the browser.
3. Approve `agent:read` and/or `agent:write`.
4. Return to the client and use the Darwin tools.

Compatible clients may present this flow differently. If a client cached an older endpoint, remove and reconnect the server using the canonical URL above.

<Warning>
  Do not paste a Darwin API key into an MCP client. MCP authentication uses browser-based OAuth.
</Warning>
