add_to_cursor_config
Configure and integrate MCP servers into Cursor IDE by specifying display names, commands, arguments, paths, and environment variables.
Instructions
Add any MCP server to Cursor's configuration
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": {
"name": "<name>"
},
"name": "add_to_cursor_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments to pass to the command | |
| command | No | Command to execute (e.g., node, npx, python) | |
| env | No | Environment variables to set, delimited by = | |
| name | Yes | Display name for the MCP server in Cursor | |
| path | No | Path to the MCP server on disk (optional, used instead of command+args) |