# Connect from Cursor

Connect Cursor to the ZenCreator MCP server. It is a **hosted, remote** server secured with OAuth 2.1 — you add one URL and log in once in your browser. No API keys, nothing to install, no local process to run. Cursor handles the token (and its refresh) automatically.

**Prerequisite:** a ZenCreator account at <https://app.zencreator.pro> — you log in with it during the OAuth step.

**MCP endpoint:** `https://mcp.zncr.pro/mcp`

## Add the server

In Cursor, add an MCP server pointing at the remote URL `https://mcp.zncr.pro/mcp`.

The JSON form is:

```json
{
  "mcpServers": {
    "zencreator": {
      "url": "https://mcp.zncr.pro/mcp"
    }
  }
}
```

## Log in (OAuth)

OAuth login happens in your browser on first use. The first time Cursor calls a `zencreator_*` tool, it opens your browser, you log in at ZenCreator and approve a consent screen granting the scopes `mcp.read` + `mcp.generate`. Cursor stores the resulting token and refreshes it automatically — there are no API keys to paste.

## Verify

Once the server is connected and you have logged in, ask Cursor's agent to list the available generation tools (this calls `zencreator_list_tools`), or to fetch your account profile and credit balance (`zencreator_get_me`). A successful response confirms the connection and that your token is valid.

## Next steps

- [Quickstart](../quickstart.md) — your first generation, end to end.
- [Overview](../index.md) — what the server does and how the pieces fit.
- [Troubleshooting](../troubleshooting.md) — if connection, auth, or generation fails.
