Skip to documentation
Documentation
Documentation
OverviewInstallationQuickstartConfigurationTroubleshootingFAQ

Usage

Terminal interfaceCLIDashboardAnalytics

Collaborate

ArtifactsLessonsSession sharingSession linksSession messagingAsks addressed to membersAsks privacy fact sheetThe LedgerFeedbackEmail from crewkitBlueprintsAgent identitiesMCP server

Configure

AgentsSkillsRulesCommandsInheritancePlaybooksExperimentsHooksCapture modesTeam

Workspaces

WorkspacesSet up a workspaceFix a ticket end to endShip a feature with approvalHand off work and set agent settings

API Reference

API OverviewAuthenticationSessions APIResources APIOrganizations APIProjects APIPlaybooks APIExperiments API
Need a hand?Find an answer in troubleshooting.
Loading docs…
CREWKIT / DOCUMENTATION

MCP server

Expose your project's institutional memory to any MCP-capable agent with crewkit mcp serve.

crewkit works with Claude Code today — and any MCP-capable agent can pull project context through the crewkit MCP server. Project memory, conventions, prior work, active work, and blueprint state become tools the agent can call mid-session.


Automatic registration

Sessions launched with crewkit code register the crewkit MCP server automatically — there is nothing to configure. The tools below are available in every session.


Manual registration

crewkit mcp serve runs a stdio MCP server. Register it in any MCP-capable client:

{
  "mcpServers": {
    "crewkit": {
      "command": "crewkit",
      "args": ["mcp", "serve"]
    }
  }
}

The server resolves your organization and project from the git remote of the working directory. Override when that's not possible:

crewkit mcp serve --org <org-id> --project <project-id>

Or via the CREWKIT_ORG_ID and CREWKIT_PROJECT_ID environment variables.

Authentication uses your CLI login (crewkit auth login). If you're signed out, tool calls return an actionable error instead of failing silently.

Every tool call also requires that the signed-in user has accepted the current acceptable-use policy. Until that acceptance exists, calls return an actionable error, and the check fails closed — if the policy endpoint can't be reached, the call is refused rather than allowed through.

The server implements MCP 2026-07-28 (stateless lifecycle, server/discover) and remains compatible with clients speaking 2025-11-25 and earlier — including current Claude Code — via the standard initialize handshake. Both paths serve the same tools identically.


Available tools

ToolWhat it does
search_project_contextHybrid lexical + semantic search over project memory: uploaded docs, meeting transcripts, captured Slack messages, Drive imports, and indexed past sessions
find_prior_workFind past conversations where someone already worked on something similar — avoid re-solving solved problems
get_active_workWho's working on what right now: open conversations and claimed blueprint tasks, grouped by user
get_conventionsThe playbook conventions that apply to this project's stack — coding standards, legacy patterns, severity-tiered rules
get_lessonsThe team Lessons relevant to what the agent is about to do: rules people on the team wrote and accepted from what the team learned on the project. Served only when your organization turned Lesson injection on; each one served is recorded (ids only), and the reads are rate-limited
get_blueprint_stateThe active blueprint: progress, epics, task statuses, and the caller's assigned tasks
save_stateSave a session handoff as your rolling personal save state (the agent is instructed to show it to you for approval first)
load_stateLoad a save state: your personal handoff, or the most recent team digest
share_updateBroadcast a short, milestone-level update so teammates' sessions can avoid overlapping work
add_noteWrite one durable note into project memory — a decision and its rationale, a constraint, a hard-won finding. The note is indexed and readable by everyone in the organization, and the agent is instructed to show it to you and get your approval before writing it

add_note needs a CREWKIT_LLM_SESSION_ID, so it only works in a session launched by crewkit code. A hand-registered client calling it gets an error telling it to relaunch that way. Like save_state and share_update, it is a mutating tool and is deliberately left out of the pre-approved permission allow-list, so it always prompts.


Session link tools

Six tools carry Session links. Your agent calls them when you ask, in plain words, to link with another of your sessions, send to it, or see what is waiting for you.

ToolArgumentsWhat it does
link_listscope, query, cursorLists your own live crewkit sessions on every machine in this organization, then colleagues' live sessions on your Projects (scope: mine, the default), or on this session's Project only (scope: project). Each of your own sessions shows its machine, branch, state, start time and whether it can link; a colleague's shows only <handle> · <repository>, the person's name, the Project and the hour it started. The session marked (this one) is the calling session. query searches colleagues by person or Project name, up to 64 characters, and cursor reads the next page when more says there is one. links lists this session's own links and Rooms. scope: rooms lists the rooms of your Projects and your Slack discussions instead.
link_jointoLinks with one of your own sessions: to is the ref that link_list showed, or a list of refs, best match first, when several fit what you said. One match links with no dialog; several open a picker. A ref from link_list's rooms joins that room, under an invitation you accepted.
send_to_peertext, room or toSends text to the other members of a Room. In more than one Room, a send that names no room goes to the Room of the last message this session read. to writes to a colleague's session instead, under Session messaging: a first message to someone you did not name in your prompt opens crewkit's first-message dialog, and Cancel answers refused with code declined. Where that dialog cannot show, the answer is refused with code first_contact_needs_person. Secrets are redacted before a confirmed send leaves.
link_requestsopen, unblock, stop_acceptingLists what waits for your answer: pending requests, the people you accepted and the people you blocked. open puts one pending request in front of you. Your agent never answers one itself.
link_modepresencehidden hides your live sessions from teammates at once; shown opens crewkit's dialog and changes nothing unless you say yes.
link_leaveto, room, member or allUnlinks from a session (to, as link_list shows it under links), leaves a Room (room), or removes a member from a room this session started (member, by the handle link_list shows under links). all: true, only when you ask to leave everything, hides your live sessions first, then leaves every link and Room this session is in. Pass exactly one.

Every answer is JSON with state (what happened), next_step (one sentence telling the agent what to do next) and account (the crewkit account the call ran as), and often hint: a sentence written for you, which the agent passes on as it is. A refused call answers state: "refused" with a code.

When a step needs your own answer and the client cannot show crewkit's dialog, the answer is human_step_required, and its next_step names crewkit.io/requests. A result of requested, linking_at or waiting_for finishes on its own: the agent tells you and waits rather than calling again.

When link_join names a session on a machine of yours that is not approved yet, it first opens crewkit's dialog asking which words that machine shows. A right pick answers linking_at with the time the machine becomes active; a wrong pick answers not_approved; "this wasn't me" answers disowned. A step that needs proof it is really you, such as opening a pending machine approval with link_requests, answers uv_elsewhere: the answer is given with your passkey at crewkit.io/requests.

link_list, link_requests, link_mode and link_leave are pre-approved in sessions launched by crewkit code. link_join and send_to_peer are not: Claude's permission mode decides whether they ask you. A send in plan mode always asks.

When your organization runs Session links as a pilot and this session's Project is not on its list, a link tool answers refused with code session_links_pilot, and its hint says that an organization admin can add the Project.

The older names list_peers, channel_list, channel_create and join_with_code still work for one release. Each forwards to the tool that replaced it, and its answer says which in alias_of.


Asks and the Ledger

These tools let an agent follow the Asks of a project and act on what people decided. An agent never answers, decides or confirms an Ask: a person does that in the dashboard.

ToolArgumentsWhat it does
list_askssince (optional number), addressed_to_me (optional boolean)The project's Asks: each one's Audience, state and Response count, never what anyone answered. addressed_to_me: true keeps the Asks addressed to the signed-in user. since keeps the Asks with a Decision confirmed or changed after that cursor, each with how many; the reply ends with the next cursor (Next poll: since=N). A cursor belongs to the filter it came with: pass it back with the same addressed_to_me.
get_ask_resultsask_id, after_question_id (optional)An Ask's Confirmed results, once a person has confirmed them: the questions, the Decisions with their id and version_id, and the numbered, unnamed answers, as untrusted data. Before that, only the Response count.
record_decisionask_id, question_id, option_id or text, reasonProposes a Decision. It stays pending, and no agent reads it, until a person with the permission confirms it in the dashboard.
get_decision_receiptask_id, decision_id, decision_version_idBefore applying a confirmed Decision: whether this session already recorded applying it at that version. A reply crewkit cannot read is an error that says not to apply. It is pre-approved, so it never prompts.
record_decision_appliedask_id, decision_id, decision_version_idAfter the apply succeeded: records a receipt that this session applied the Decision at that version. At most one receipt per Decision, version and session; recording again changes nothing and says so.
list_ledger_entriesnoneThe entries on the project's Ledger: specs in order, each with its tickets. Per entry, its id (what link_ledger_entry and a question's ledger_entry_id take), kind, position, parent spec and whether it is linked, and for a linked entry the provider and issue number. Never a title or a state. It is pre-approved, so it never prompts.
link_ledger_entryledger_entry_id, urlLinks an entry on the project's Ledger to its GitHub or GitLab issue by URL. crewkit never fetches the URL, and the reply names the provider and issue number, never the issue's title. Linking again replaces the earlier link.

Polling without applying twice. since replies overlap on purpose, so an Ask can come back on the next poll. Before applying a Decision, call get_decision_receipt; apply only when there is no receipt, then call record_decision_applied. A receipt is not a Decision and changes none.

record_decision, get_decision_receipt and record_decision_applied belong to a conversation, so they work only in a session launched by crewkit code. record_decision is refused in a sensitive session. Proposing a Decision, recording a receipt and linking a Ledger entry need developer access to the project.


What this means in practice

Mid-session, an agent can ask "has anyone touched this before?", check which conventions govern a decision, see whether a teammate already claimed the task, and pick up exactly where the last session left off. crewkit's memory works wherever your agents do.


Next steps

  • Artifacts and project memory
  • Asks addressed to members
  • The Ledger
  • Blueprints
  • Playbooks

Related

For the setup steps in the context of a specific editor, see the MCP integration page.

Agent identities

Give a project an agent teammate with its own email address and Slack handle.

Agents

Configure specialized AI assistants for your team.

On this page

Automatic registrationManual registrationAvailable toolsSession link toolsAsks and the LedgerWhat this means in practiceNext steps