This server implements the Model Context Protocol (MCP) to provide deep reasoning capabilities using the deepseek-r1 model. It enables MCP clients like Cursor to access enhanced reasoning functionality through a simple integration.
To get started with the Deep Reasoning Server, you'll need to install and run it using NPX. The server requires an OpenRouter API key and specification of your preferred model.
Run the following command in your terminal to start the server:
npx -y deep-reasoning-mcp@latest --apiKey=<YOUR_OPENROUTER_API_KEY> --model=<YOUR_MODEL>
Replace the placeholders with your actual credentials:
<YOUR_OPENROUTER_API_KEY>
: Your personal API key from OpenRouter<YOUR_MODEL>
: The specific model you want to use (defaults to deepseek-r1 if not specified)The Deep Reasoning Server is designed to work with Cursor as a Command-type MCP Server. After running the installation command above, Cursor will be able to utilize the deep reasoning capabilities provided by the specified model.
When running the server, you can customize its behavior with these options:
--apiKey
: Your OpenRouter API key (required)--model
: The model to use for reasoning (optional, defaults to deepseek-r1)Once the server is running, Cursor should automatically detect and connect to it. You can then use the deep reasoning capabilities within your Cursor workflow.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.