> ## 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.

# Servidores MCP

> Dale al agente las herramientas de cualquier servidor MCP.

Añade un servidor y sus herramientas llegan al agente como `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
```

Los servidores se guardan en tu configuración de usuario, en `mcpServers`, y se cargan cuando arranca Archetype. Para conservar uno sin ejecutarlo, ponle `"disabled": true` o usa **Desactivar** en la página MCP de la app. Puedes bloquear una sola herramienta para todos los motores con `"tools": { "deny": ["delete_repo"] }`.

Las reglas de aprobación también se aplican a las herramientas MCP:

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


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