main
md 88 lines 2.3 KB
Rendered Raw
1 # MCP Integration — Configuration and Samples
2
3 MCP (Model Context Protocol) servers extend Squad with tools for external services — Trello, Aspire dashboards, Azure, Notion, and more. The user configures MCP servers in their environment; Squad discovers and uses them.
4
5 ## Config File Locations
6
7 Users configure MCP servers at these locations (checked in priority order):
8 1. **Repository-level:** `.copilot/mcp-config.json` (team-shared, committed to repo)
9 2. **Workspace-level:** `.vscode/mcp.json` (VS Code workspaces)
10 3. **User-level:** `~/.copilot/mcp-config.json` (personal)
11 4. **CLI override:** `--additional-mcp-config` flag (session-specific)
12
13 ## Sample Config — Trello
14
15 ```json
16 {
17 "mcpServers": {
18 "trello": {
19 "command": "npx",
20 "args": ["-y", "@trello/mcp-server"],
21 "env": {
22 "TRELLO_API_KEY": "${TRELLO_API_KEY}",
23 "TRELLO_TOKEN": "${TRELLO_TOKEN}"
24 }
25 }
26 }
27 }
28 ```
29
30 ## Sample Config — GitHub
31
32 ```json
33 {
34 "mcpServers": {
35 "github": {
36 "command": "npx",
37 "args": ["-y", "@modelcontextprotocol/server-github"],
38 "env": {
39 "GITHUB_TOKEN": "${GITHUB_TOKEN}"
40 }
41 }
42 }
43 }
44 ```
45
46 ## Sample Config — Azure
47
48 ```json
49 {
50 "mcpServers": {
51 "azure": {
52 "command": "npx",
53 "args": ["-y", "@azure/mcp-server"],
54 "env": {
55 "AZURE_SUBSCRIPTION_ID": "${AZURE_SUBSCRIPTION_ID}",
56 "AZURE_CLIENT_ID": "${AZURE_CLIENT_ID}",
57 "AZURE_CLIENT_SECRET": "${AZURE_CLIENT_SECRET}",
58 "AZURE_TENANT_ID": "${AZURE_TENANT_ID}"
59 }
60 }
61 }
62 }
63 ```
64
65 ## Sample Config — Aspire
66
67 ```json
68 {
69 "mcpServers": {
70 "aspire": {
71 "command": "npx",
72 "args": ["-y", "@aspire/mcp-server"],
73 "env": {
74 "ASPIRE_DASHBOARD_URL": "${ASPIRE_DASHBOARD_URL}"
75 }
76 }
77 }
78 }
79 ```
80
81 ## Authentication Notes
82
83 - **GitHub MCP requires a separate token** from the `gh` CLI auth. Generate at https://github.com/settings/tokens
84 - **Trello requires API key + token** from https://trello.com/power-ups/admin
85 - **Azure requires service principal credentials** — see Azure docs for setup
86 - **Aspire uses the dashboard URL** — typically `http://localhost:18888` during local dev
87
88 Auth is a real blocker for some MCP servers. Users need separate tokens for GitHub MCP, Azure MCP, Trello MCP, etc. This is a documentation problem, not a code problem.