-
-
Notifications
You must be signed in to change notification settings - Fork 61
Cursor
Yu Shen edited this page Nov 11, 2025
·
2 revisions
Besides setting of nREPL and Clojure-MCP per REAMDME, you just need to add/introduce a MCP sever for Clojure-MCP in Cursor by adding a new MCP server in Cursor settings, for example:
"mcpServers": {
"clojure-mcp": {
"command": "clojure -X:mcp :port 7888"
}
}
(simply putting the command to start the Clojure-MCP as the value for "command".

If you are running into "Failed to create client errors" when following the README setup instructions, try the following:
- First, test the MCP server in Claude Desktop to make sure you are already set up properly.
- If that is working, create a separate bash script that runs the command for starting the MCP server. For most people it should look something like this:
#!/bin/sh
cd /absolute/path/to/clojure-mcp && clojure -X:mcp :port 7888
- Make the script executable
chmod a+x /absolute/path/to/script
- Add to Cursor's MCP settings
"mcpServers": {
"clojure-mcp": {
"command": "/absolute/path/to/script"
}
}
- Reload from Cursor Settings and you should be good to go!