GET /health
Check the health status of the MCPHub server.
GET /oauth/callback
OAuth callback endpoint for authentication flows.
POST /api/dxt/upload
Upload a DXT configuration file.
GET /api/mcp-settings/export
Export MCP settings as JSON.
Health Check
Check the health status of the MCPHub server.- Endpoint:
/health - Method:
GET - Authentication: Not required
- Response:
OAuth Callback
OAuth callback endpoint for handling OAuth authentication flows. This endpoint is automatically called by OAuth providers after user authorization.- Endpoint:
/oauth/callback - Method:
GET - Authentication: Not required (public callback URL)
- Query Parameters: Varies by OAuth provider (typically includes
code,state, etc.)
Upload DXT File
Upload a DXT (Desktop Extension) configuration file to import server configurations.- Endpoint:
/api/dxt/upload - Method:
POST - Authentication: Required
- Content-Type:
multipart/form-data - Body:
file(file, required): The DXT configuration file to upload.
Export MCP Settings
Export the current MCP settings configuration as a JSON file.- Endpoint:
/api/mcp-settings/export - Method:
GET - Authentication: Required
- Response: Returns the
mcp_settings.jsonconfiguration file.