> ## 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 서버

> MCP 서버의 도구를 에이전트에게 줍니다.

서버를 추가하면 그 도구가 `mcp__<서버>__<도구>`라는 이름으로 에이전트에게 갑니다.

```bash theme={null}
# 로컬 서버, 필요한 환경 변수와 함께
archetype mcp add docs --env DOCS_TOKEN=… -- docs-mcp --stdio

# 원격 서버
archetype mcp add linear https://mcp.example.com/mcp --header "Authorization: Bearer ${LINEAR_TOKEN}"

archetype mcp list           # 서버 목록, 플러그인의 서버 포함
archetype mcp check docs     # 서버를 띄워 도구 목록 확인
archetype mcp login linear   # 로그인을 요구하는 서버에 로그인
archetype mcp remove docs
```

서버는 사용자 설정의 `mcpServers`에 남고, Archetype이 시작할 때 불러옵니다. 지우지 않고 쉬게 하려면 서버에 `"disabled": true`를 적거나 앱의 MCP 페이지에서 **끄기**를 누릅니다. 도구 하나만 모든 엔진에서 빼려면 `"tools": { "deny": ["delete_repo"] }`를 씁니다.

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.