MCP-4.json
· 606 B · JSON
Исходник
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
},
"git": {
"command": "uvx",
"args": ["mcp-server-git", "--repository", "path/to/git/repo"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
}
},
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
}
}
}
1 | { |
2 | "mcpServers": { |
3 | "filesystem": { |
4 | "command": "npx", |
5 | "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"] |
6 | }, |
7 | "git": { |
8 | "command": "uvx", |
9 | "args": ["mcp-server-git", "--repository", "path/to/git/repo"] |
10 | }, |
11 | "github": { |
12 | "command": "npx", |
13 | "args": ["-y", "@modelcontextprotocol/server-github"], |
14 | "env": { |
15 | "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>" |
16 | } |
17 | }, |
18 | "postgres": { |
19 | "command": "npx", |
20 | "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"] |
21 | } |
22 | } |
23 | } |