# MCP quickstart

> Connect the Intents MCP server to Claude Code, Claude Desktop and claude.ai, Cursor, VS Code, Windsurf, ChatGPT, Codex or any MCP client.

Each snippet connects with a **test key** (`ik_test_…`, from dashboard.intents.fi → Developers →
API keys). Leave the header out to use the public tools only.

## Claude Code

```bash
claude mcp add --transport http intents https://mcp.intents.fi \
  --header "Authorization: Bearer ik_test_…"
```

## Claude Desktop and claude.ai

Settings → Connectors → **Add custom connector**, name it `Intents` and paste
`https://mcp.intents.fi` (or a product endpoint). The public tools work at once. The first time
you use an account tool, Claude sends you to Intents to sign in and approve it: pick the account,
test or live mode, and **Allow**.

## Cursor

`~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):

```json
{
  "mcpServers": {
    "intents": {
      "url": "https://mcp.intents.fi",
      "headers": { "Authorization": "Bearer ik_test_…" }
    }
  }
}
```

## VS Code

`.vscode/mcp.json`. VS Code asks for the key once and keeps it out of the file:

```json
{
  "inputs": [
    { "type": "promptString", "id": "intents-key", "description": "Intents test key (ik_test_…)", "password": true }
  ],
  "servers": {
    "intents": {
      "type": "http",
      "url": "https://mcp.intents.fi",
      "headers": { "Authorization": "Bearer ${input:intents-key}" }
    }
  }
}
```

## Windsurf

`~/.codeium/windsurf/mcp_config.json`:

```json
{
  "mcpServers": {
    "intents": {
      "serverUrl": "https://mcp.intents.fi",
      "headers": { "Authorization": "Bearer ik_test_…" }
    }
  }
}
```

## ChatGPT

Settings → Apps & Connectors → Advanced settings → turn on **Developer mode**, then **Create**:
URL `https://mcp.intents.fi`, authentication **OAuth** (ChatGPT registers itself; nothing to
paste). Choose **No authentication** instead if you only want the public tools.

## Codex

`~/.codex/config.toml`, with the key in your shell's environment:

```toml
[mcp_servers.intents]
url = "https://mcp.intents.fi"
bearer_token_env_var = "INTENTS_API_KEY"
```

## Any other client

| Setting | Value |
|---|---|
| URL | `https://mcp.intents.fi` (or a product endpoint above) |
| Transport | Streamable HTTP (`POST`, JSON responses; no SSE stream, no session) |
| Auth header (optional) | `Authorization: Bearer ik_test_…` or `ik_live_…` |

A client that only speaks stdio can bridge to it:
`npx -y mcp-remote https://mcp.intents.fi --header "Authorization: Bearer ${INTENTS_API_KEY}"`.

Listing the server somewhere? Add `?source=<name>` to the URL (`https://mcp.intents.fi/?source=glama`):
signup links the tools return then carry `utm_source=<name>&utm_medium=mcp`.

## Check it works

Ask your agent to call `whoami`. With no key it answers `auth: none`; with a key it names your
business and the mode. Then try `get_started`: it returns the setup steps for what you are
building.

---

Source: https://intents.fi/docs/mcp/quickstart · The whole corpus: https://intents.fi/docs/llms-full.txt
