Cursor
You need a personal access token — create one in Profile → API Tokens (guide).
Create (or extend) .cursor/mcp.json in your project — or ~/.cursor/mcp.json for all projects:
{
"mcpServers": {
"writemars": {
"url": "https://api.writemars.com/mcp/",
"headers": { "X-API-Key": "writemars_pat_..." }
}
}
}
Verify: Cursor Settings → MCP should list writemars with a green dot and 26 tools. Then ask the agent to list your WriteMars workspaces.
Connection failing? See troubleshooting. Otherwise, head to the prompt cookbook.