generate_mcp_client_config
Generate ready-to-paste MCP server config for Claude Desktop, Cursor, VS Code and Windsurf from one input. Config completeness decides whether developers can install your server at all.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serverName": "<serverName>"
},
"name": "generate_mcp_client_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | JSON object of environment variables. Accepts a JSON object, or a JSON string containing one. | |
| url | No | Endpoint URL for remote/streamable-http servers | |
| args | No | JSON array of command arguments. Accepts a JSON array, or a JSON string containing one. | |
| command | No | Launch command for stdio servers (e.g. npx) | |
| serverName | Yes | Server name used as the config key |