Prerequisites
- Cursor installed on your computer
- A Shuriken Agent Key (create one here if you haven’t already)
Step-by-step setup
Copy your Agent Key
If you just created your key, copy it from the setup screen. It starts with
sk_.If you already closed that screen, you’ll need to create a new key - keys are only shown once.Open the MCP config file
You need to edit a file called Replace
mcp.json. This is where Cursor stores its MCP server connections.Option A: Use the Command Palette (recommended)- Open Cursor
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(macOS) - Type MCP and select “Cursor Settings: Open MCP Settings”
- This opens your
mcp.jsonfile
- Windows
- macOS
- Linux
YOUR_USERNAME with your Windows username.Add the Shuriken server
Paste the following into your If you already have other MCP servers, add the
mcp.json file. Replace YOUR_AGENT_KEY with the key you copied in step 1.If the file is empty or doesn’t exist, paste this entire block:mcp.json
"shuriken" block inside the existing "mcpServers" object:mcp.json
Save and restart Cursor
Save the file, then completely quit and reopen Cursor. The MCP connection won’t activate until you restart.
Verify the connection
Open a new chat in Cursor (the Composer or Agent panel) and try one of these prompts:If Shuriken is connected, you’ll see the agent use Shuriken tools to answer your question. The tool names will show up in the chat (like
get_recent_calls or get_balances).If you see results, you’re all set. Your AI agent is now connected to Shuriken.
Troubleshooting
Cursor doesn't show Shuriken tools
Cursor doesn't show Shuriken tools
- Make sure you saved the
mcp.jsonfile - Make sure you fully quit and restarted Cursor (not just closed the window)
- Check that there are no syntax errors in your JSON (missing commas, extra commas, mismatched brackets)
- Try opening the Command Palette (
Ctrl+Shift+P) and searching for “MCP” - you should see Shuriken listed
Tools show up but return errors
Tools show up but return errors
- Double-check that your Agent Key is correct (starts with
sk_) - Make sure you included the
AgentKeyprefix before the key (with a space) - Check that the key hasn’t been revoked on the Agent Keys dashboard
JSON syntax errors
JSON syntax errors
Common mistakes:
- Missing comma between server entries
- Trailing comma after the last entry
- Using single quotes instead of double quotes
- Missing closing brackets
mcp.json into jsonlint.com to check for syntax errors.'Cannot find mcp.json'
'Cannot find mcp.json'
The file might not exist yet. Create a new file called
mcp.json in the .cursor folder inside your home directory and paste the full config block from step 3.Multiple Agent Keys
You can connect multiple Shuriken Agent Keys to Cursor at the same time - for example, one read-only key for research and one with trading enabled. Give each one a different name:mcp.json
When using multiple keys, each one appears as a separate MCP server in Cursor. The AI will have access to all tools from all connected keys.