File size: 3,590 Bytes
033ca06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
  "mcpServers": {
    "filesystem": {
      "enabled": true,
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"],
      "env": {},
      "description": "Provides filesystem access within allowed directories"
    },
    "github": {
      "enabled": true,
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_TOKEN": "$GITHUB_TOKEN"
      },
      "description": "GitHub MCP server for repository operations"
    },
    "postgres": {
      "enabled": false,
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"],
      "env": {},
      "description": "PostgreSQL database access"
    },
    "my-sse-server": {                                                                                                                                       
        "type": "sse",                                                                                                                                         
        "url": "https://api.example.com/mcp",                                                                                                                  
        "headers": {                                                                                                                                           
          "Authorization": "Bearer $API_TOKEN",                                                                                                                
          "X-Custom-Header": "value"                                                                                                                           
        },
        "oauth": {
          "enabled": true,
          "token_url": "https://auth.example.com/oauth/token",
          "grant_type": "client_credentials",
          "client_id": "$MCP_OAUTH_CLIENT_ID",
          "client_secret": "$MCP_OAUTH_CLIENT_SECRET",
          "scope": "mcp.read mcp.write",
          "audience": "https://api.example.com",
          "refresh_skew_seconds": 60
        }
    },
    "my-http-server": {                                                                                                                                       
        "type": "http",                                                                                                                                         
        "url": "https://api.example.com/mcp",                                                                                                                  
        "headers": {                                                                                                                                           
          "Authorization": "Bearer $API_TOKEN",                                                                                                                
          "X-Custom-Header": "value"                                                                                                                           
        },
        "oauth": {
          "enabled": true,
          "token_url": "https://auth.example.com/oauth/token",
          "grant_type": "client_credentials",
          "client_id": "$MCP_OAUTH_CLIENT_ID",
          "client_secret": "$MCP_OAUTH_CLIENT_SECRET"
        }
    }  
  },
  "skills": {
    "pdf-processing": {
      "enabled": true
    },
    "frontend-design": {
      "enabled": true
    }
  }
}