Cursor loads MCP servers from a mcp.json file — ~/.cursor/mcp.json for every project, or .cursor/mcp.json for a single project. Add your server under the mcpServers key, save, then enable it in Cursor Settings → MCP. It connects in seconds.
MCP servers let Cursor use outside tools without leaving the editor. Here is the exact config file, a working example, and how to switch it on.