{ "mcpServers": { "Example Server 1": { "command": "/path/to/server1/build/index.js", "exposedTools": ["tool1", { "original": "tool2", "exposed": "renamed_tool2" }], "envVars": [ { "name": "API_KEY", "value": "my-api-key", "expand": true, "unexpand": true }, { "name": "USER_ID", "value": "user123", "expand": true, "unexpand": false }, { "name": "CONFIG_PATH", "value": "/path/to/config.json", "expand": false, "unexpand": true } ] }, "Example Server 2": { "command": "npx", "args": ["@example/mcp-server", "--option", "value"], "hiddenTools": ["tool3"] }, "Example Server 3": { "type": "sse", "url": "http://example.com/sse", "headers": { "Authorization": "Bearer ", "X-Custom-Header": "value" } } }, "envVars": [ { "name": "GLOBAL_API_KEY", "value": "global-api-key", "expand": true, "unexpand": true }, { "name": "GLOBAL_ENV", "value": "production", "expand": true, "unexpand": false }, { "name": "DEBUG_MODE", "value": "true", "expand": true, "unexpand": false } ], "tools": { "new tool": { "description": "Start the development server and manage resources", "subtools": { "Example Server 1": { "tools": [ { "name": "start", "description": "Start the development server" }, { "name": "build", "description": "Build the project" } ] }, "Example Server 2": { "tools": [ { "name": "deploy", "description": "Deploy the application" }, { "name": "test", "description": "Run tests" } ] } } } } }