kansei exposes its tools — generate social variants, search projects, run reports, mint invoices — over the Model Context Protocol. Plug it into any MCP-aware client and let your AI work directly inside your kansei entity.
Deploy the kansei-mcp Worker once. Whoever owns the kansei deployment does this — the Worker URL is shared by every user in the organization.
Mint a personal token, paste it into your MCP client's settings, and you're done. ~90 seconds, no terminal needed.
Model Context Protocol (MCP) is the open standard Anthropic introduced for letting AI clients discover and call third-party tools at runtime. Once connected, the AI can use any tool you have permission for — same auth, same audit trail, same financial gates as the in-app Takumi assistant.
Learn more at modelcontextprotocol.ioThe simplest path: paste this single address into your AI client as a custom connector. It is both the MCP endpoint and its authorization server, so the client discovers everything else on its own. No tokens to copy.
https://kansei.works/api/mcpUnder the hood this is OAuth 2.1 with PKCE (S256) and dynamic client registration — exactly what the MCP specification calls for. You do not configure any of it by hand; the endpoints are here in case you are writing the client yourself:
GET https://kansei.works/.well-known/oauth-protected-resource
GET https://kansei.works/.well-known/oauth-authorization-server
POST https://kansei.works/api/mcp/oauth/register (RFC 7591 — the client registers itself)
GET https://kansei.works/mcp/authorize (you sign in + pick a workspace)
POST https://kansei.works/api/mcp/oauth/token (PKCE S256; refresh supported)
POST https://kansei.works/api/mcp/oauth/revoke (disconnect)The access token lasts 1 hour and the client refreshes it on its own. Clients with no sign-in flow — your own scripts, or Claude Desktop via mcp-remote — can still use a manual token from Settings → Connections → Apps & tokens.
The kansei-mcp Cloudflare Worker is the bridge between MCP clients and your kansei app. It's stateless — no secrets to set, no DB. Pick whichever option fits how you ship code.
Easiest if you don't have a dev environment set up. Takes ~5 minutes.
The dashboard editor doesn't bundle TypeScript types, but the file has no imports — paste-as-is works. Remove the `: Env` annotations if the editor warns.
Connect the kansei repo to Cloudflare; every push to worker-mcp/ auto-deploys. No more manual deploys ever.
GitHub Actions is the simplest route if you already have CI for kansei — the workflow file is already in the repo.
If you have a developer with a working terminal, this is the fastest one-time setup. Edit worker-mcp/wrangler.toml first to point KANSEI_API_BASE at your kansei URL.
cd worker-mcp npm install npx wrangler login npx wrangler deploy
/healthTokens are scoped to one (user, entity) pair. A leaked token is bounded to whatever you can do, and revoking it kills it within 60 seconds (the edge cache TTL).
Pick the client below. The walkthrough shows the click-by-click UI path; the snippet underneath is the exact config to paste.
Steps in the UI
Config location: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"kansei": {
"transport": {
"type": "streamable-http",
"url": "https://kansei-mcp.<your-subdomain>.workers.dev/mcp",
"headers": {
"Authorization": "Bearer kmcp_xxxxxxxx_replace-with-real-token"
}
}
}
}
}Before saving, replace these two values:
<your-subdomain> your Cloudflare Workers subdomain (find it at workers.cloudflare.com under your account, or in the URL the dashboard showed after you deployed the Worker).kmcp_xxxxxxxx_replace-with-real-token the plaintext token from step 1.After saving the config, restart the client. The kansei tools should appear in the tool picker within a few seconds.
kansei stays pull-only: your harness (an OpenClaw-class bot, a scheduled Claude session, a cron script) wakes on ITS schedule and works the workspace within server-enforced rules. Every run follows the same loop:
Ready-made recipes ship as MCP prompts (prompts/list): morning triage, inbox sweep, invoice-question / scheduling / new-job plays. Resources (resources/list) serve the live agenda, your operating rules and this guide.
Not an MCP client? The same surface speaks plain HTTP — GET /api/mcp/openapi (with your bearer) returns an OpenAPI description of every tool your token can call.
Answers are kept short for the model: empty fields are left out (a missing field means it is empty), and each answer is one compact JSON text block. A refused action comes back marked as an error.
Mint the token with the Post-production scope and the assistant gets exactly the tools this job needs — find the videos, read the tracks, translate a track, fetch the file — and none of the money tools. That scope is roughly 5,750 tokens of tool descriptions per answer instead of ~42,000 for the whole menu, which is most of the speed.
Translation is RESUMABLE, and the assistant is expected to loop: each call translates as much as fits in its time budget, saves it, and answers nextIndex plus complete. Call again with fromIndex set to that nextIndex — and pass the glossary you were given back in every time, so the same names are spelt the same way from the first cue to the last. Keep going until complete is true. Nothing is ever lost between calls: whatever a slice translated is already saved on the track.
The link is what travels to your editor, not the file: it is a signed URL that needs no kansei login, so you can paste it straight into DaVinci Resolve or hand it to whoever is cutting. It expires on its own — that expiry is the only control, there is nothing to revoke — so mint a fresh one when you need it again. An invalid or wrong link answers exactly like a link that never existed.
list_review_feedback — what the review of a cut says: each file's review rounds with the client's decision, and every note with the second it sits on. An assistant driving your editor turns those into timeline markers. It reads only what the token's owner may read in the task's chat, and long notes come back clipped.
get_review_updates — which files were approved, rejected or sent back since you last asked. Keep the cursor it returns and pass it as since next time; a machine that checks every few minutes then hears of each decision once. It also lists files with new notes since notesSince (its own cursor, notesCursor), before anybody decides.
send_for_review — hand a finished cut to the client. On its own it only lists the files it would send. The send needs a person: the assistant files it for approval, a manager approves it in kansei, and then the files are shared, the review link is made and the client is e-mailed, exactly as with the Send for review button.
register_delivery — for a studio whose editing machine renders into a job's Dropbox folder. The machine names the folder and the files it wrote, with each file's size and Dropbox content hash. kansei looks into the studio's connected Dropbox: while a file is still uploading it answers "not ready" and adds nothing; once every file matches it adds them to the task as drafts only the studio sees, starts the streaming copy of the videos and saves the folder's download link on the task. Nothing reaches the client until a person sends it for review. The Dropbox connection needs permission to create share links; a studio that connected Dropbox before 21 November 2026 connects it once more.
get_task_studio, log_ingest and set_task_studio — for a studio with the Footage & ingest module: read a job's folder, editing project and copied footage, record each camera card as it is copied in, and report where delivery stands. They carry paths and names only; kansei never holds the footage.
An assistant that does every job carries kansei's whole tool list in its context on every answer. Tree mode gives it eight tools instead: the orientation tools, kansei_toolbox and kansei_run. It is opt-in — switch it on for a token in Settings → Connections → Apps & tokens, or pick it on the connect screen (which recommends it for ChatGPT and Grok).
A tool scope still applies in tree mode: it narrows what the toolbox searches. Asking for an exact tool name looks it up in everything your role allows.