Repository navigation
Expand file tree
/
Copy pathmcp.example.json
More file actions
48 lines (45 loc) · 1.88 KB
/
Copy pathmcp.example.json
File metadata and controls
48 lines (45 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"_comment": [
"Example MCP servers for zagent.",
"Copy this file to one of these places, then delete this member:",
" $XDG_CONFIG_HOME/zagent/mcp.json",
" ~/.config/zagent/mcp.json",
"(JSON has no comments of its own, so this one is a member the loader",
"ignores.)",
"",
"Each entry under mcpServers is one server. Its name may hold letters,",
"digits, '_' and '-' only, and it becomes part of every tool name the model",
"sees: a tool called 'read_file' on the server 'filesystem' is offered as",
"mcp__filesystem__read_file.",
"",
" description short service summary shown before tools are lazy-loaded",
" command start this program and speak MCP over its standard streams",
" args the arguments for that program",
" env variables added to or overriding the server's inherited host environment",
" url a Streamable HTTP endpoint, instead of a command",
" headers sent with every HTTP request; where a token goes",
" timeoutMs how long a request waits for an answer, default 60000.",
" Subprocess servers only: std.http has no read timeout, so an",
" HTTP server that never answers holds the agent",
" disabled keep this entry, but do not start it"
],
"mcpServers": {
"filesystem": {
"description": "Read and browse local files under /tmp",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
},
"github": {
"description": "Work with GitHub repositories, issues and pull requests",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..." },
"timeoutMs": 120000
},
"remote": {
"url": "https://example.com/mcp",
"headers": { "Authorization": "Bearer ..." },
"disabled": true
}
}
}