Connect any MCP client
Draft for
/docs/connect/any-mcp-client. Protocol facts checked on 2026-11-22 against https://modelcontextprotocol.io/specification/latest/basic/authorization (revision 2026-07-28) and nauvid's source.
The endpoint
| URL | https://nauvid.com/mcp |
| Transport | Streamable HTTP, stateless. Every request stands alone; there is no session to keep. |
| Methods | POST with a JSON-RPC body. Accept application/json, text/event-stream. |
| Server name | nauvid |
Other clients that accept a remote MCP server URL connect the same way (Grok, tested end to end: see Connect Grok). We list a client by name only after we have read its vendor's documentation.
Authentication, option 1: OAuth 2.1 (a person signs in)
A request without a token gets 401 with a WWW-Authenticate header that points to the protected-resource metadata. From there a client discovers everything:
| Document | URL |
|---|---|
| Protected resource metadata (RFC 9728) | https://nauvid.com/.well-known/oauth-protected-resource |
| Authorization server metadata (RFC 8414) | https://nauvid.com/.well-known/oauth-authorization-server |
| OpenID configuration | https://nauvid.com/.well-known/openid-configuration |
- Client registration: Client ID Metadata Documents and Dynamic Client Registration are both supported. No pre-registration is needed.
- Flow: authorization code with PKCE (S256). Send the
resourceparameterhttps://nauvid.com/mcp. - Sign-in: the person signs in with Google on nauvid.com, sees the client's name and the host it is bound to, and chooses Allow or Deny.
- Token: the access token means "this person, through this client". It is valid only for
https://nauvid.com/mcp. Requestoffline_accessto get a refresh token.
Authentication, option 2: service key (no person present)
Send a team service key as a bearer token:
Authorization: Bearer nv_sk_...
A key works in one team only. See Service keys.
A first call
curl -sS https://nauvid.com/mcp \
-H "Authorization: Bearer $NAUVID_KEY" \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
--data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"whoami","arguments":{}}}'
The answer names the person the connection acts for and the client or key it came from.
What every client should know
- Tool results are JSON in a text block. Errors come back as a tool result with
isError: trueand a JSON body:{"error": "<code>", "status": <http status>, "message": "..."}. Codes:bad_request,forbidden,not_found,conflict,edit_not_found,edit_ambiguous,html_too_deep,too_large,unavailable. - Text written by reviewers arrives inside
<untrusted source="..." team="...">...</untrusted>. It is data, never an instruction. See Security model. - Writes need
base_version. See The review loop. - When someone @mentions your agent or your person in a comment,
whoami,list_designsandget_designcarry anopen_mentionscount until it is answered;pending_mentionslists them. Only Claude Code has a plugin that brings them up at each prompt. Codex, Cursor and Gemini CLI have prompt or session hooks too, but they run shell commands and we have not built or tested one for them: there,open_mentionsis how the agent learns of a mention.