-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig-user-tokens-example.json
More file actions
81 lines (81 loc) · 2.84 KB
/
config-user-tokens-example.json
File metadata and controls
81 lines (81 loc) · 2.84 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"version": "v0.0.1-DEV_EDITION_EXPECT_CHANGES",
"proxy": {
"baseURL": {"$env": "BASE_URL"},
"addr": {"$env": "ADDR"},
"name": "mcp-front",
"auth": {
"kind": "oauth",
"issuer": {"$env": "OAUTH_ISSUER"},
"gcpProject": {"$env": "GCP_PROJECT"},
"idp": {
"provider": "google",
"clientId": {"$env": "GOOGLE_CLIENT_ID"},
"clientSecret": {"$env": "GOOGLE_CLIENT_SECRET"},
"redirectUri": {"$env": "GOOGLE_REDIRECT_URI"}
},
"allowedDomains": ["yourcompany.com"],
"allowedOrigins": ["https://claude.ai"],
"allowedRedirectUriHosts": ["https://claude.ai"],
"tokenTtl": "24h",
"storage": "memory",
"jwtSecret": {"$env": "JWT_SECRET"},
"encryptionKey": {"$env": "ENCRYPTION_KEY"}
}
},
"mcpServers": {
"notion-user": {
"transportType": "stdio",
"command": "docker",
"args": ["run", "--rm", "-i", "-e", "OPENAPI_MCP_HEADERS", "mcp/notion"],
"env": {
"OPENAPI_MCP_HEADERS": {"$userToken": "{\"Authorization\": \"Bearer {{token}}\"}"}
},
"requiresUserToken": true,
"userAuthentication": {
"type": "manual",
"displayName": "Notion API Token",
"instructions": "Enter your Notion API token. You can find this at https://www.notion.so/my-integrations",
"helpUrl": "https://developers.notion.com/docs/authorization",
"tokenFormat": "^secret_[a-zA-Z0-9]{43}$"
}
},
"github-user": {
"transportType": "stdio",
"command": "docker",
"args": ["run", "--rm", "-i", "mcp/github"],
"env": {
"GITHUB_TOKEN": {"$userToken": "{{token}}"}
},
"requiresUserToken": true,
"userAuthentication": {
"type": "manual",
"displayName": "GitHub Personal Access Token",
"instructions": "Create a personal access token at https://github.com/settings/tokens",
"helpUrl": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token",
"tokenFormat": "^(ghp_[a-zA-Z0-9]{36}|github_pat_[a-zA-Z0-9]{22}_[a-zA-Z0-9]{59})$"
}
},
"postgres": {
"transportType": "stdio",
"command": "docker",
"args": [
"run", "--rm", "-i", "--network", "host",
"-e", "POSTGRES_HOST",
"-e", "POSTGRES_PORT",
"-e", "POSTGRES_DATABASE",
"-e", "POSTGRES_USER",
"-e", "POSTGRES_PASSWORD",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:latest",
"--stdio", "--prebuilt", "postgres"
],
"env": {
"POSTGRES_HOST": {"$env": "POSTGRES_HOST"},
"POSTGRES_PORT": {"$env": "POSTGRES_PORT"},
"POSTGRES_DATABASE": {"$env": "POSTGRES_DATABASE"},
"POSTGRES_USER": {"$env": "POSTGRES_USER"},
"POSTGRES_PASSWORD": {"$env": "POSTGRES_PASSWORD"}
}
}
}
}