# Give agents MCP tools without per-client sprawl

> Understand what an MCP server is, then connect agents to AnyRouter instead of pasting a new config into every app.

Connect agents to AnyRouter over MCP

**Slug**: `mcp-for-agents`  
**URL**: https://anyrouter.dev/use-cases/mcp-for-agents  
**Markdown**: https://anyrouter.dev/use-cases/mcp-for-agents.md  
**Short link**: https://anyrouter.dev/u/mcp-for-agents  

## Why use this

Every new MCP server is another token and another JSON blob copied into Claude Desktop, Cursor, and your own agents.

## Set it up

1. Read how MCP servers expose tools over one JSON-RPC transport.
2. Point clients at AnyRouter's MCP endpoint instead of N server URLs.
3. Keep model calls on anyrouter/auto so tool-using agents have a healthy default.

## Code

### MCP endpoint

```text
https://anyrouter.dev/api/v1/mcp
```

## Related

- [mcp-gateway](https://anyrouter.dev/use-cases/mcp-gateway)
- [hermes-agent](https://anyrouter.dev/use-cases/hermes-agent)
- [claude-agent-sdk](https://anyrouter.dev/use-cases/claude-agent-sdk)
