mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: samanhappy <2755122+samanhappy@users.noreply.github.com> Co-authored-by: samanhappy <samanhappy@gmail.com>
156 lines
3.4 KiB
JSON
156 lines
3.4 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": {
|
|
"routing": {
|
|
"enableGlobalRoute": true,
|
|
"enableGroupNameRoute": true,
|
|
"enableBearerAuth": true,
|
|
"bearerAuthKey": "t3QTQVcF4HWtF7v3IOSygxlV0RgSGuwk",
|
|
"skipAuth": false
|
|
},
|
|
"install": {
|
|
"pythonIndexUrl": "",
|
|
"npmRegistry": "",
|
|
"baseUrl": "http://localhost:3000"
|
|
},
|
|
"smartRouting": {
|
|
"enabled": false,
|
|
"dbUrl": "",
|
|
"openaiApiBaseUrl": "",
|
|
"openaiApiKey": "",
|
|
"openaiApiEmbeddingModel": ""
|
|
},
|
|
"mcpRouter": {
|
|
"apiKey": "",
|
|
"referer": "https://www.mcphubx.com",
|
|
"title": "MCPHub",
|
|
"baseUrl": "https://api.mcprouter.to/v1"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
"oauthClients": [
|
|
{
|
|
"clientId": "chatgpt-web",
|
|
"name": "ChatGPT Web",
|
|
"redirectUris": [
|
|
"https://chatgpt.com/oauth/callback"
|
|
],
|
|
"grants": [
|
|
"authorization_code",
|
|
"refresh_token"
|
|
],
|
|
"scopes": [
|
|
"read",
|
|
"write"
|
|
]
|
|
},
|
|
{
|
|
"clientId": "6377bc3d11e7a3da74373d961eda4fff",
|
|
"name": "Cherry Studio",
|
|
"redirectUris": [
|
|
"http://127.0.0.1:12346/oauth/callback"
|
|
],
|
|
"grants": [
|
|
"authorization_code",
|
|
"refresh_token"
|
|
],
|
|
"scopes": [
|
|
"read",
|
|
"write"
|
|
],
|
|
"owner": "dynamic-registration",
|
|
"metadata": {
|
|
"application_type": "web",
|
|
"client_uri": "https://github.com/CherryHQ/cherry-studio",
|
|
"token_endpoint_auth_method": "none",
|
|
"response_types": [
|
|
"code"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"clientId": "c83b7e4a47c25ac834ffc59d4439c75c",
|
|
"clientSecret": "e977d26c265977fc553ba9aecab42a84a911ac293373e3673d94d3164427e862",
|
|
"name": "ChatWise",
|
|
"redirectUris": [
|
|
"http://localhost:59735/callback/e5btzxb2e3"
|
|
],
|
|
"grants": [
|
|
"authorization_code"
|
|
],
|
|
"scopes": [
|
|
"read",
|
|
"write"
|
|
],
|
|
"owner": "dynamic-registration",
|
|
"metadata": {
|
|
"application_type": "web",
|
|
"token_endpoint_auth_method": "client_secret_basic",
|
|
"response_types": [
|
|
"code"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |