# Quickstart: Cursor

**You need:** Cursor, and an API key in `EC_API_KEY`.

1. **Get a key.** Sign up at https://app.tendbrook.com/sign-up (the Free plan, no card). An owner creates a key in Settings → API keys and picks its scopes: `agents:read` to read, plus `agents:write` to make changes. Keep it in an environment variable, never in a file you commit:

   ```bash
   export EC_API_KEY=ec_live_…
   ```
2. **Add the server** to `.cursor/mcp.json` in the project (or `~/.cursor/mcp.json` for every project):

   ```json
   {
     "mcpServers": {
       "daycaresoftware": {
         "url": "https://api.tendbrook.com/mcp",
         "headers": { "Authorization": "Bearer ${env:EC_API_KEY}" }
       }
     }
   }
   ```
3. **Check it.** Open Settings → MCP and confirm the server shows its tools, then: Check it works: ask the assistant "Who am I in Tendbrook?" It calls `ec_whoami` and answers with your organization, role and scopes.

Next: [task recipes](https://www.tendbrook.com/docs/recipes) and [a snippet for Cursor rules](https://www.tendbrook.com/for-agents#a-snippet-for-agentsmd-claudemd-or-cursor-rules).
