# Other MCP clients

> The technical details for connecting any MCP client to Naruska CRM: server URL, transport and OAuth discovery.

Any client that supports remote MCP servers with OAuth can connect.

| Setting                     | Value                                                   |
| --------------------------- | ------------------------------------------------------- |
| Server URL                  | `https://staging-mcp.naruskacrm.com/mcp`                                           |
| Transport                   | Streamable HTTP (stateless: every request stands alone) |
| Authentication              | OAuth 2.1 with PKCE, through the user's own sign-in     |
| Protected resource metadata | `https://staging-mcp.naruskacrm.com/.well-known/oauth-protected-resource`   |
| Client registration         | dynamic (RFC 7591)                                      |

## How sign-in works

1. The client calls the server URL without a token and gets `401` with a `WWW-Authenticate` header that points at the protected resource metadata.
2. The metadata names the authorization server. The client reads its metadata, registers itself and starts the authorization code flow with PKCE.
3. The user signs in with Google, Microsoft or Apple, picks a company and allows the client. The consent page shows the name the client gave itself and the address it returns to.
4. The client gets an access token and a refresh token. Every tool call then runs as that user, in that company, with their rights.

Users see and disconnect clients in the web app under [Connected apps](https://staging-app.naruskacrm.com/connected-apps).

## What the server offers

- Tools only; no resources or prompts. The list is on [MCP tools](/mcp-tools.md).
- Server instructions that tell the model how to choose records and when to undo.
- Results are short text for the model, with every record's id in brackets.
- Every write returns an operation id; the `undo` tool takes it, or undoes the user's latest change without one.

## Good practice for clients

- Fetch the tool list when a session starts. After a Naruska CRM update, a new session gets the new tools.
- Don't retry a refused call unchanged: its text explains what to do instead.
- Tool calls count against the company's monthly quota (`mcp.tool_calls`). See [Usage and limits](/api/usage-and-limits.md).

Integrations that don't act for a person should use the [API](/api.md) with a service account instead.
