# Connect Cubite LMS to Cursor

In short: Cursor connects to Cubite either with a one-click install link that signs you in through the browser (OAuth, no key), or with a scoped API key: create the key in Admin, then your site, then Integrations, and add a cubite entry under mcpServers in Cursor's mcp.json with url https://cubite.io/api/mcp/mcp and an Authorization: Bearer header. Either way Cursor lists the 137 tools in its MCP panel.

- Server URL: https://cubite.io/api/mcp/mcp (streamable HTTP)
- Auth for Cursor: OAuth (browser sign-in)
- Tools: 137, permissioned per connection or per key
- Page: https://cubite.io/mcp/cursor

## Steps

1. One-click install with a browser sign-in. Click Install in Cursor on this page (or on https://cubite.io/mcp). Cursor adds the cubite server with only its URL and opens a Cubite sign-in in your browser; tick the site or sites and approve the permissions. If your Cursor build does not complete the sign-in, use the API-key steps below.
2. Or create a scoped API key. In Cubite Admin, open your site, then Integrations, and create a key with only the scopes you need. The key is shown once.
3. Add the server to Cursor. Open Cursor Settings, then MCP, then add a server, or edit .cursor/mcp.json in your project (or the global one in your home directory) with this entry.

```json
{
  "mcpServers": {
    "cubite": {
      "url": "https://cubite.io/api/mcp/mcp",
      "headers": {
        "Authorization": "Bearer ck_your_key_here"
      }
    }
  }
}
```

4. Enable and check. Toggle the cubite server on in Cursor's MCP settings; the tools list should populate. Ask the agent for a concrete task, such as listing courses or drafting a lesson.

## Notes

- Windsurf and other editors that speak HTTP MCP use the same entry shape; the header is what matters.
- Keep the key out of the repository: use the global mcp.json or an environment reference if your editor supports one.
- Disconnect: Delete the key in Admin, then your site, then Integrations; Cursor loses access immediately.

## More

- All clients, permissions and workflows: https://cubite.io/mcp (markdown: https://cubite.io/mcp.md)
- Which other LMS vendors ship MCP servers: https://cubite.io/compare/lms-mcp-servers
- Pricing (the server is included with every site): https://cubite.io/pricing
