# Cursor

## Content

1\. Open Cursor and click `Open Cursor Settings`.
2\. Select `Tools & MCPs` section.
3\. Click `+ New MCP Server`.
![](https://cdn.mescius.io/document-site-files/images/8258313f-94ec-48f2-929c-4f1bd0c4cac5/image-20260603-080534-20260617.5a7e06.png?width=800)
4\. Add the following configuration:

```auto
{
  "mcpServers": {
    "spreadjs-mcp": {
      "url": "https://developer.mescius.com/mcp/spreadjs",
      "headers": {
        "Authorization": "Bearer <YOUR_MCP_TOKEN>"
      }
    }
  }
}
```

Use `.cursor/mcp.json` for project-level configuration, or `~/.cursor/mcp.json` for global configuration.
5\. Save the file and `spreadjs-mcp` should appear in the `Installed MCP Servers` list.
![](https://cdn.mescius.io/document-site-files/images/8258313f-94ec-48f2-929c-4f1bd0c4cac5/image-20260603-080735-20260617.6e772a.png?width=800)

Reference: [Cursor MCP - Global Configuration](https://cursor.com/docs/mcp "https://cursor.com/docs/mcp")