# MCP
Source: https://nordvec.com/docs/guides/mcp#connecting-a-client

## Connecting a client [#connecting-a-client]

Point an MCP client at the knowledge-base server with your API key as a
bearer token. Most clients take a configuration block like this one:

```json
{
  "mcpServers": {
    "nordvec": {
      "url": "https://nordvec.com/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer nv_eu_live_your_api_key"
      }
    }
  }
}
```

The server is stateless Streamable HTTP: every message is one `POST` carrying
one JSON-RPC request, and the answer comes back in the response body. There
are no sessions to keep and no server-initiated stream, so a `GET` on the URL
answers `405`, and a `POST` whose `Content-Type` is not `application/json`
answers `415` before the body is read.

<Callout type="warn">
Only an API key can use the knowledge-base server. A signed-in browser session
is refused, and every tool needs the key scope the matching REST operation
needs, so a key created for one job can do exactly that job through MCP too.
</Callout>

The server authenticates with a static bearer key and does not offer OAuth
discovery. A client that lets you set request headers (coding agents, IDE
extensions, the MCP Inspector in header mode) connects as shown above; a
hosted client that only supports the OAuth authorization flow cannot connect
yet.

A client that sends the `MCP-Protocol-Version` header is answered under that
version when the server supports it (`2025-06-18` and `2024-11-05`) and
refused with `400` when it does not, so a version mismatch is reported at the
first message rather than as a malformed reply later.