# Access control for MCP servers and tools

> Grant or deny MCP servers and individual tools to users, groups and agents. Deny wins, agents can be narrowed below their owner, and hidden tools look like unknown tools.

Source: https://neurouter.com/features/access-control · Last updated: 2026-11-24

With Neurouter, an agent reaches only the MCP servers and tools it has been granted, however many servers your organization runs.

## The model

- **Subjects:** users, groups (local, or synced from your identity provider's groups claim) and agents. An agent is an identity owned by a user.
- **Targets:** a whole server, or a single tool on it.
- **Effect:** allow or deny. **Deny always wins**, so a deny on a group beats an allow on a user.
- **Narrowing:** an agent acts with its owner's access and can be restricted further, so a CI agent can be limited to two tools even if its owner can use fifty.
- **Invisible by default:** tools a caller may not use don't appear in search results, and calling one returns the same error as an unknown tool.

## Roles

| Role | Can |
|---|---|
| Admin | Manage everything |
| Server Owner | Manage their servers' tools, grants, access requests and approvals |
| Auditor | Read the audit log, verify the chain and read metrics |
| User | Use granted tools, create agents and keys, request access |

Admin and Auditor can be mapped from identity-provider groups. Admins get no implicit tool access: they grant it explicitly, like everyone else.

## Authentication in front of it

- People sign in with your OpenID Connect provider ([Entra ID](https://neurouter.com/integrations/entra-id), [Okta](https://neurouter.com/integrations/okta), [Google Workspace](https://neurouter.com/integrations/google-workspace), [Keycloak](https://neurouter.com/integrations/keycloak)).
- Interactive MCP clients use Neurouter's own OAuth 2.1 authorization server; scripts use revocable API keys.
- Upstream credentials stay in the gateway and are never handed to clients.

## Access requests

People can request access to a server or tool from the portal with a reason. An admin or the server's owner approves or denies; an approval creates the grant.

## Rate limits

Token-bucket limits per agent (600 calls a minute, burst 120, by default) and per agent and tool (120 a minute, burst 30), shared across replicas and adjustable per tool.

## Related

- [Security model](https://neurouter.com/docs/security-model)
- [Tool pinning](https://neurouter.com/features/tool-pinning)
- [Human approvals](https://neurouter.com/features/approvals)
