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
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) |
Input Schema (JSON Schema)
{
"properties": {
"args": {
"description": "Arguments to pass to the command",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command to execute (e.g., node, npx, python)",
"type": "string"
},
"env": {
"description": "Environment variables to set, delimited by =",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Display name for the MCP server in Cursor",
"type": "string"
},
"path": {
"description": "Path to the MCP server on disk (optional, used instead of command+args)",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}