> ## Documentation Index
> Fetch the complete documentation index at: https://docs.archetype.ing/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP servers

> Give the agent the tools of any MCP server.

Add a server, and its tools reach the agent as `mcp__<server>__<tool>`.

```bash theme={null}
# a local server, with what it needs in its environment
archetype mcp add docs --env DOCS_TOKEN=… -- docs-mcp --stdio

# a remote one
archetype mcp add linear https://mcp.example.com/mcp --header "Authorization: Bearer ${LINEAR_TOKEN}"

archetype mcp list           # the servers, and the plugins' own
archetype mcp check docs     # start it and list its tools
archetype mcp login linear   # sign in to a server that asks for it
archetype mcp remove docs
```

Servers are kept in your user config under `mcpServers` and load when Archetype starts. To keep one without running it, set `"disabled": true` on it, or use **Turn off** on the app's MCP page. A single tool can be kept from every engine with `"tools": { "deny": ["delete_repo"] }`.

Approval rules work on MCP tools too:

```json theme={null}
{ "approvalRules": [{ "tool": "mcp__docs__*", "action": "allow" }] }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.