Skip to main content
Lurk’s optional MCP server exposes the API as typed tools at https://api.getlurk.com/mcp. It is stateless and speaks JSON over Streamable HTTP (POST only).

Connect

This page connects an agent with a key. To connect your own assistant as yourself, with no key, see Connect your assistant. Make an agent key in Developers → Agents (one per agent, to revoke one alone). Put it in an environment variable.
Keep the single quotes: Claude Code reads LURK_AGENT_KEY at each connection, so the key never lands in its config file.
A project key (lurk_sk_…) works too, but an agent key puts the agent’s name on its receipts and proposals, and can be revoked without touching your server.
Never put a key in a repository or a shared prompt. Use an environment variable, and ask your agent to read it by name.

What it can do

See MCP tools for every tool an agent key sees. An agent can use lurk.apply to ask a person to approve creating an audience, adding people to a list or taking back an added template.

What it cannot do, on purpose

Going live (rules.publish, rules.resume), deciding proposals and held changes, giving units by hand, spending, using and sending units, undoing, creating or changing units, arranging dashboards (read one view at a time with lurk.views.get), credentials, the team, project settings, and copying between projects. A person does these in the dashboard. When an agent needs one, the call answers approval_required with a link. That is not an error: the agent gives the person the link and stops. See Going live.

Errors and limits

A tool that fails answers the same error body as the REST API, with a next_step: see Errors. The same limits apply. A rate-limited tool call has isError: true and error.code: "rate_limited" in its text content, even when the HTTP response is 200. Its result includes _meta["getlurk.com/retry-after-seconds"], the seconds to wait before retrying with the same idempotency key. Read it, not an HTTP Retry-After header. No other tool error has it.

Docs for agents

These docs are agent-readable: /llms.txt, /llms-full.txt, a Copy as Markdown menu on every page, and a docs MCP server at https://docs.getlurk.com/mcp. For a brief for your agent’s instructions, see Agent instructions.