Cursor Integration
Connect Json2doc with Cursor IDE to generate documents while coding with AI assistance.
Prerequisites
- Cursor installed (Download here)
- Json2doc API Key from app.json2doc.com
Configuration
In Cursor:
- Open Settings (Cmd/Ctrl + ,)
- Search for "MCP" or navigate to MCP configuration
- Add the Json2doc MCP server:
{
"mcpServers": {
"json2doc": {
"url": "https://mcp.json2doc.com/mcp",
"headers": {
"x-api-key": "your-api-key-here"
}
}
}
}
warning
Replace your-api-key-here with your actual Json2doc API key from app.json2doc.com → Settings → API Keys.
After saving, reload Cursor (Cmd/Ctrl + Shift + P → "Reload Window")
Verification
To verify the integration is working:
- Open the Cursor chat (Cmd/Ctrl + L)
- Ask: "What Json2doc capabilities do you have?"
- Cursor should list the available Json2doc tools
Troubleshooting
Cursor Doesn't See Json2doc
Solutions:
- Verify MCP configuration is saved
- Check JSON syntax is valid
- Reload Cursor window
- Ensure API key is correct
Authentication Errors
Solutions:
- Verify API key in dashboard
- Check for extra spaces
- Ensure key hasn't expired
- Generate a new key
Connection Issues
Solutions:
- Verify URL:
https://mcp.json2doc.com/mcp - Check internet connection
- Ensure firewall allows connection
- Try restarting Cursor