---
title: Connect an Agent Through MCP
description: Configure a Streamable HTTP MCP client with a scoped SeeLLM API key and confirm that its tools are available.
audience: [agent]
type: guide
version: v1
stability: stable
lastVerified: "2026-08-01"
prerequisites: [/docs/api/authentication/]
related: [/docs/mcp/, /docs/mcp/setup/, /docs/mcp/tools/]
artifacts: []
---

## Prerequisites

- A SeeLLM API key from `Settings > API Keys` in the dashboard.
- An MCP client that supports Streamable HTTP configuration.

## Recommended path

1. Create an API key and store it in the client’s secret mechanism; do not put it in source control.
2. Add the canonical MCP endpoint and bearer header to the client configuration.
3. Restart or reconnect the client so it performs the MCP initialization exchange.
4. Use the tool list or a simple analytical question to confirm access.

```json
{
  "mcpServers": {
    "seellm": {
      "url": "https://api.seellm.link/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_your_api_key_here"
      }
    }
  }
}
```

## Expected result

The client exposes SeeLLM MCP tools scoped to the API key’s organization. A bare HTTP `POST` is not a complete MCP integration because the client must complete initialization.

## Verify

Restart the client and confirm SeeLLM tools appear. Then ask: “Show me the weekly observed AI request trend for example.com over the last 90 days.” Verify that the request reaches the configured `https://api.seellm.link/mcp` server.

## Troubleshooting

- If tools do not appear, confirm the endpoint is exactly `https://api.seellm.link/mcp` and restart the client.
- If authentication fails, send the full key with `Authorization: Bearer sk_live_...`.
- If the client only supports a different transport, use a compatible Streamable HTTP client.

## Related reference

- [MCP Setup Guide](/docs/mcp/setup/)
- [MCP Tools Reference](/docs/mcp/tools/)
- [Authentication](/docs/api/authentication/)
