MCP server
Connect Cursor, Claude Code, or VS Code to Kliff, and let it start runs and work with agents as you.
Kliff runs a Model Context Protocol server. Connect an AI client to it, and the client can list your repositories, start runs, work with agents, projects, and automations, and read and write docs in your organization, as you.
Server URL
You sign in through your browser the first time a client connects. There is no API key to copy.
Cursor
Or add the server to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json in one project:
Then open the MCP settings in Cursor, connect kliff, and sign in.
Claude Code
Then run /mcp in Claude Code, choose kliff, and sign in.
VS Code
VS Code asks you to sign in when it starts the server.
Signing in
When a client connects, your browser opens Kliff. Sign in, choose the organization the client works in, and select Allow.
The client acts as you in that organization only. It sees what you can see there, and the runs it starts work within your GitHub permissions. If you leave the organization, the client stops working in it. To use another organization, disconnect the client and connect it again.
Tools
Repositories and runs
list_repos: Lists the repositories connected to your organization, and the projects that group them.list_runs: Lists runs, newest first.get_run: Shows one run: whether it is working, done, or failed, its branch, and the pull request it opened.create_run: Starts a run on a repository. It either works on a prompt in a new branch and opens a draft pull request, or reviews an open pull request.
Agents
list_models: Lists the models you can choose for an agent, with the efforts each one takes.list_machines: Lists the machines an agent's computer can run on, with each one's size and what it costs while awake.list_agents: Lists agents, most recently active first, with each one's state and the pull request it has open. It can filter by state, repository, project, or name, or list only the agents you started.get_agent: Shows an agent and its latest steps: messages, tool calls, approvals, and replies. It also shows the agent's model, its permission mode, and the messages waiting for it.create_agent: Starts an agent on a repository, a project, or no repository, with its first message. You can choose its model, effort, machine, and permission mode.send_agent_message: Sends an agent its next message. While the agent is working, the message waits for the running turn, and up to five can wait.decide_approval: Approves or denies a tool call the agent is waiting on.set_agent_mode: Sets the agent's permission mode from its next turn: plan, ask, or auto.create_agent_repository: For an agent started with no repository, creates a repository on Kliff named after the agent and asks the agent to move its work in, commit, and push. That message starts a turn. Only the agent's creator, an owner, or an admin can.stop_agent: Stops the agent's turn in progress. The agent keeps its conversation.archive_agent: Stops an agent and hides it from the organization. Only the agent's creator, an owner, or an admin can archive it.delete_agent: Deletes an agent for everyone, with its conversation, its computer and files, and its public link. This cannot be undone. Only the agent's creator, an owner, or an admin can delete it.
Projects
list_projects: Lists the organization's projects and your personal ones, and the repositories a new project can group.get_project: Shows a project's description, the instructions its agents follow, and its repositories.create_project: Creates a project that groups repositories, so an agent started on it works across them.update_project: Renames a project, or changes its description, its instructions, or who sees it.add_project_repoandremove_project_repo: Add a repository to a project, or take one out. The repository and its runs stay.delete_project: Deletes a project. Its repositories and their runs stay.
Only a project's creator, or an owner or admin for an organization project, can change or delete it.
Automations
list_automations: Lists Kliff's own automations, your organization's automations with their triggers and recent runs, and the templates a new one can start from.get_automation: Shows an automation's runs, the triggers that started nothing, the models and connector tools it may use, and its instructions and target or its settings.create_automation: Creates an automation of your own, blank or from a template. It is off until you turn it on.update_automation: Saves an automation's name, instructions, the repository or project it works on, and its model, all together.add_automation_triggerandremove_automation_trigger: Run an automation on a daily or weekly schedule, on pull requests, when an issue gets a label, or when CI fails on a pull request. An automation can have up to five triggers.set_automation_enabled: Turns an automation on or off.set_automation_tool_scopeandset_automation_tool: Let an automation's runs use every connector tool its creator allows, or only the ones you choose.test_automation: Runs an automation once, now, as you. Runs use credits.update_official_automationandset_automation_coverage: Change one setting of Kliff Review or Kliff Implement, such as its daily run limit, or choose the repositories where it starts on its own.delete_automation: Deletes an automation. Its runs stay.
Only an automation's creator, an owner, or an admin can change one of your organization's automations. Only owners and admins can change Kliff's own automations, and those cannot be deleted. Turning off Kliff MCP from a client stops the client's changes until an owner or admin turns it on again in Kliff.
Docs and pages
list_artifacts: Lists the docs and pages in the organization you can open.get_artifact: Shows a doc's tabs as Markdown, or a page's HTML, and what you may do with it.create_artifact: Starts a personal doc with one empty tab.write_artifact_tab: Rewrites one tab of a doc from Markdown. It replaces the whole tab, including edits made since the client read it.update_artifact: Renames an artifact, changes who can open it, pins it, or files it in a folder.copy_artifact: Makes a personal copy of a doc or page.delete_artifact: Deletes an artifact for everyone. This cannot be undone.
The client only sees artifacts that belong to the organization you allowed it in, even when someone from another organization shared one with you.
Your client asks before it calls a tool, unless you let it run tools on its own.
Turning it off
Owners and admins can turn the server off for an organization in Automations, under Kliff MCP. While it is off, clients can still read runs, agents, models, machines, projects, automations, and artifacts, but cannot start runs, change agents, projects, automations, or artifacts, answer approvals, or change an agent's mode.
Runs started from a client are listed under Kliff MCP in Automations.
Troubleshooting
A tool says an admin turned Kliff MCP off. Ask an owner or admin of the organization to turn on Kliff MCP in Automations. Reading still works while it is off.
The client cannot find a repository. The client only sees the organization you allowed it in. Connect the repository to that organization in Kliff, or disconnect the client and connect it again to choose another organization.
The client asks you to sign in again. Connect it again from the client's MCP settings and sign in.