# ============================================================================= # MCP Server Configuration # ============================================================================= # This file contains environment variables for MCP server configurations. # OAuth configuration is OPTIONAL - only include it if your server requires it. # ============================================================================= # ----------------------------------------------------------------------------- # Remote Server (SSE) - Example with OAuth # ----------------------------------------------------------------------------- # OAuth Configuration (OPTIONAL - remove this section if not needed) REMOTE_OAUTH_TOKEN_URL=https://your-oauth-provider.com/oauth2/token REMOTE_OAUTH_CLIENT_ID=your-client-id-here REMOTE_OAUTH_CLIENT_SECRET=your-client-secret-here REMOTE_OAUTH_GRANT_TYPE=client_credentials # Server Configuration (REQUIRED) REMOTE_SERVER_URL=https://your-sse-server.com/sse REMOTE_SERVER_TIMEOUT=30 # ----------------------------------------------------------------------------- # Remote2 Server (HTTP) - Example with OAuth + API Key # ----------------------------------------------------------------------------- # OAuth Configuration (OPTIONAL - remove this section if not needed) REMOTE2_OAUTH_TOKEN_URL=https://your-oauth-provider.com/oauth2/token REMOTE2_OAUTH_CLIENT_ID=your-client-id-here REMOTE2_OAUTH_CLIENT_SECRET=your-client-secret-here REMOTE2_OAUTH_GRANT_TYPE=client_credentials # Server Configuration (REQUIRED) REMOTE2_SERVER_URL=https://your-http-server.com/mcp REMOTE2_SERVER_TIMEOUT=30 REMOTE2_API_KEY=your-api-key-here # ----------------------------------------------------------------------------- # Example: Simple Server without OAuth (just static headers) # ----------------------------------------------------------------------------- # If your server doesn't need OAuth, just configure the URL and headers # in configuration.json. For example: # # { # "servers": { # "simple-server": { # "type": "http", # "url": "https://example.com/mcp", # "headers": { # "Authorization": "Bearer your-static-token" # }, # "timeoutSeconds": 30 # } # } # } # # Or use environment variables for the URL and headers: # SIMPLE_SERVER_URL=https://example.com/mcp # SIMPLE_SERVER_AUTH_TOKEN=your-static-token # # Then in configuration.json: # { # "servers": { # "simple-server": { # "type": "http", # "url": { "fromEnv": "SIMPLE_SERVER_URL" }, # "headers": { # "Authorization": { "fromEnv": "SIMPLE_SERVER_AUTH_TOKEN" } # }, # "timeoutSeconds": 30 # } # } # } # ----------------------------------------------------------------------------- # Add more server configurations as needed # ----------------------------------------------------------------------------- # Pattern for servers WITH OAuth: # SERVERNAME_OAUTH_TOKEN_URL= # SERVERNAME_OAUTH_CLIENT_ID= # SERVERNAME_OAUTH_CLIENT_SECRET= # SERVERNAME_OAUTH_GRANT_TYPE= # SERVERNAME_SERVER_URL= # # Pattern for servers WITHOUT OAuth: # SERVERNAME_SERVER_URL= # SERVERNAME_AUTH_TOKEN= (or any other header you need)