mirror of
https://github.com/samanhappy/mcphub.git
synced 2026-01-01 04:08:52 -05:00
96 lines
2.1 KiB
JSON
96 lines
2.1 KiB
JSON
{
|
|
"mcpServers": {
|
|
"amap": {
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@amap/amap-maps-mcp-server"
|
|
],
|
|
"env": {
|
|
"AMAP_MAPS_API_KEY": "your-api-key"
|
|
}
|
|
},
|
|
"playwright": {
|
|
"command": "npx",
|
|
"args": [
|
|
"@playwright/mcp@latest",
|
|
"--headless"
|
|
]
|
|
},
|
|
"fetch": {
|
|
"command": "uvx",
|
|
"args": [
|
|
"mcp-server-fetch"
|
|
]
|
|
},
|
|
"slack": {
|
|
"command": "npx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-slack"
|
|
],
|
|
"env": {
|
|
"SLACK_BOT_TOKEN": "your-bot-token",
|
|
"SLACK_TEAM_ID": "your-team-id"
|
|
}
|
|
}
|
|
},
|
|
"users": [
|
|
{
|
|
"username": "admin",
|
|
"password": "$2b$10$Vt7krIvjNgyN67LXqly0uOcTpN0LI55cYRbcKC71pUDAP0nJ7RPa.",
|
|
"isAdmin": true
|
|
}
|
|
],
|
|
"systemConfig": {
|
|
"oauthSSO": {
|
|
"enabled": true,
|
|
"allowLocalAuth": true,
|
|
"callbackBaseUrl": "https://your-mcphub-domain.com",
|
|
"providers": [
|
|
{
|
|
"id": "google",
|
|
"name": "Google",
|
|
"type": "google",
|
|
"clientId": "your-google-client-id",
|
|
"clientSecret": "your-google-client-secret"
|
|
},
|
|
{
|
|
"id": "github",
|
|
"name": "GitHub",
|
|
"type": "github",
|
|
"clientId": "your-github-client-id",
|
|
"clientSecret": "your-github-client-secret"
|
|
},
|
|
{
|
|
"id": "microsoft",
|
|
"name": "Microsoft",
|
|
"type": "microsoft",
|
|
"clientId": "your-microsoft-client-id",
|
|
"clientSecret": "your-microsoft-client-secret"
|
|
}
|
|
]
|
|
},
|
|
"oauthServer": {
|
|
"enabled": true,
|
|
"accessTokenLifetime": 3600,
|
|
"refreshTokenLifetime": 1209600,
|
|
"authorizationCodeLifetime": 300,
|
|
"requireClientSecret": false,
|
|
"allowedScopes": [
|
|
"read",
|
|
"write"
|
|
],
|
|
"requireState": false,
|
|
"dynamicRegistration": {
|
|
"enabled": true,
|
|
"allowedGrantTypes": [
|
|
"authorization_code",
|
|
"refresh_token"
|
|
],
|
|
"requiresAuthentication": false
|
|
}
|
|
}
|
|
},
|
|
"bearerKeys": []
|
|
} |