Connect
MCP tools
Kiwi's MCP server: its address, how an AI client signs in, and every tool it offers, by scope.
An AI client connected to Kiwi works as the person who signed in, and each tool below needs its scope. A new client gets every scope by default, and you approve them on Kiwi's consent screen.
Connect
The server is at https://withkiwi.ai/mcp, over Streamable HTTP. Clients discover its OAuth settings, register themselves, and sign in with PKCE, so there is no key to paste. Access tokens last one hour. Refresh tokens last 30 days, or until revoked. Setup steps are in the Quickstart.
Read agents and runs
Scope: kiwi:read
| Tool | What it does |
|---|---|
get_workspace_context | Who and where this connection acts as: the person, the environment, the organization, its scopes, and its integrations. |
list_agents | The agents on both shelves, with what each is doing and how its runs have ended. |
get_agent | One agent: its plan in order, the inputs a run needs, what it is connected to, and its last ten runs. |
list_runs | The team's runs, newest first, each with its stage and how it ended. |
get_run | One run in full: each step's output and, while it waits, the checkpoint and the work to check. |
Start runs
Scope: kiwi:run
| Tool | What it does |
|---|---|
start_run | Start a run of an agent by agentId, or a one-off run when agentId is left out. |
Clients that show MCP prompts as slash commands, such as Claude, list each of your agents as one, named after the agent: /account-lookup starts a run of Account lookup. A connection needs both kiwi:read and kiwi:run to see them.
Answer checkpoints
Scope: kiwi:checkpoints
| Tool | What it does |
|---|---|
decide_checkpoint | Answer the checkpoint a run is waiting on: continue, continue with your edits, give feedback, or end the run. Only the run's owner or the person the checkpoint waits on may answer. |
Build agents and Apps
Scope: kiwi:build
| Tool | What it does |
|---|---|
create_agent | Create an agent on your shelf from its plan. A step that writes must have a checkpoint before it. |
update_agent | Publish a new revision of an agent you may edit. It replaces the whole plan, and required test suites still have to pass. |
create_app | Create an App over the team's lake, described in plain words or built from widgets. |
Read your data
Scope: kiwi:data. These read the lake with your access, exactly as the Data tab does, and never write. Owners and admins can send SQL, and members can ask questions.
| Tool | What it does |
|---|---|
list_lake_catalog | The views in this workspace's lake, one line each. |
list_lake_table | One view: what it holds, its columns, and a few of its rows. |
describe_data | The catalog of views a query can read, with their columns. |
ask_data | Run one read-only query, from SQL or a question. Returns the SQL beside the rows. |
run_sql | Run one read-only SQL query you wrote, in PostgreSQL's dialect. |
Set up
Scope: kiwi:setup. A client tells you where to start when it connects, and setup here and in the app read and write the same state.
| Tool | What it does |
|---|---|
get_setup_status | Where setup stands: the profile, each integration, suggestions, and the model preference. |
save_setup_profile | Save your role, your company, and what you want Kiwi for. |
get_setup_connect_links | A link for each integration not yet connected, for you to open in your browser. |
list_setup_suggestions | The agents and Apps to suggest, best fit first. |
add_setup_suggestion | Add one suggested agent or App to the team. Also needs kiwi:build. |
set_setup_model_preference | Set the kind of model the team likes. An agent's own model still decides. |
finish_setup | Finish setup. Needs a saved role and company. |
Retries
Every tool that writes takes a requestKey of 8 to 128 characters. Reuse it to retry the same call, and use a new one for a new call. The one exception is get_setup_connect_links, which is safe to repeat.
Revoke a client
Open Integrations, find the client under MCP, and choose Revoke. Its tokens and consent are removed at once. Other people and browser sessions are unaffected.