OpenTalon / website / docs / mcp.html
| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8" /> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | <title>MCP server for external agents · OpenTalon docs</title> |
| 7 | <meta name="description" content="Connect Claude Code, Codex, Gemini CLI or Claude chat to the OpenTalon local MCP server, grant one-hour task access, and see the tool list." /> |
| 8 | <link rel="canonical" href="https://opentalon.ai/docs/mcp" /> |
| 9 | <link rel="icon" href="/favicon.png" type="image/png" /> |
| 10 | <meta name="theme-color" content="#0D1218" /> |
| 11 | <script type="module" src="/src/main.js"></script> |
| 12 | <link rel="stylesheet" href="/src/docs.css" /> |
| 13 | <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","@id":"https://opentalon.ai/docs/mcp#article","headline":"MCP server for external agents","description":"Connect Claude Code, Codex, Gemini CLI or Claude chat to the OpenTalon local MCP server, grant one-hour task access, and see the tool list.","url":"https://opentalon.ai/docs/mcp","inLanguage":"en-US","about":{"@id":"https://opentalon.ai/#app"},"publisher":{"@id":"https://protomota.com/#protomota"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"OpenTalon","item":"https://opentalon.ai/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://opentalon.ai/docs"},{"@type":"ListItem","position":3,"name":"MCP server for external agents","item":"https://opentalon.ai/docs/mcp"}]}]}</script> |
| 14 | <!-- no-orphans --><link rel="stylesheet" href="/no-orphans.css"><script src="/no-orphans.js" defer></script><!-- /no-orphans --></head> |
| 15 | <body> |
| 16 | <div class="page"> |
| 17 | <!-- site-header --> |
| 18 | |
| 19 | <main class="wrap docs-main"> |
| 20 | <aside class="docs-nav" aria-label="Documentation"> |
| 21 | <details class="docs-nav-menu" open> |
| 22 | <summary><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 7v14"/><path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg><span>Docs menu</span></summary> |
| 23 | <ol class="docs-pages"> |
| 24 | <li><a href="/docs">Get started</a></li> |
| 25 | <li><a href="/docs/board">Projects, the board and tasks</a></li> |
| 26 | <li><a href="/docs/agents">Connect your agents</a></li> |
| 27 | <li><a href="/docs/task-thread">The task thread</a></li> |
| 28 | <li><a href="/docs/project-chat">Project chat and Ask my agent</a></li> |
| 29 | <li><a href="/docs/running">Needs you, pausing and background</a></li> |
| 30 | <li class="is-current"><a href="/docs/mcp" aria-current="page">MCP server</a><ol class="docs-toc"><li><a href="#overview">What the MCP server does</a></li><li><a href="#enable">Turn it on and test it</a></li><li><a href="#clients">Connect a client</a></li><li><a href="#task-access">One-hour access for a single task</a></li><li><a href="#tools">Tools</a></li><li><a href="#safety">Destructive actions need a preview</a></li></ol></li> |
| 31 | <li><a href="/docs/iphone">iPhone and iPad</a></li> |
| 32 | <li><a href="/docs/data">Privacy, sync and backups</a></li> |
| 33 | <li><a href="/docs/troubleshooting">Troubleshooting</a></li> |
| 34 | </ol> |
| 35 | </details> |
| 36 | </aside> |
| 37 | <article class="docs-article"> |
| 38 | <header class="docs-head"> |
| 39 | <p class="docs-kicker"><a href="/docs">OpenTalon docs</a></p> |
| 40 | <h1>MCP server for external agents</h1> |
| 41 | <p class="lede">OpenTalon includes a local MCP server, so an agent you run yourself can read and manage your boards and tasks. It only listens on your Mac and uses a private key.</p> |
| 42 | </header> |
| 43 | <section id="overview" aria-labelledby="overview-title"><h2 id="overview-title"><a class="docs-anchor" href="#overview">What the MCP server does</a></h2> |
| 44 | <p>If you use Claude Code, Codex, Gemini CLI or Claude chat on their own, the MCP server lets them work with your <a href="/docs/board">projects and tasks</a>: list and create tasks, update plans, move cards, read revision requests and report progress.</p> |
| 45 | <p>The server listens on <code>127.0.0.1</code> with a private key, and also offers a STDIO bridge. If OpenTalon isn't running when a client connects through the bridge, the bridge starts it in the background.</p> |
| 46 | <p>Connection keys stay on your Mac. They're never stored in task data or <a href="/docs/data">backups</a>.</p> |
| 47 | <div class="note">"Your AI provider may receive the task details your agent reads."</div> |
| 48 | </section> |
| 49 | |
| 50 | <section id="enable" aria-labelledby="enable-title"><h2 id="enable-title"><a class="docs-anchor" href="#enable">Turn it on and test it</a></h2> |
| 51 | <ol> |
| 52 | <li>Open Settings and go to <strong>Agent connection</strong>. You can also get there from <strong>Agent connection guide</strong> in <strong>Task agent</strong>, or with <strong>Set up connection</strong> on the <strong>Use OpenTalon from your agent</strong> sheet.</li> |
| 53 | <li>Turn on <strong>Enable MCP connection</strong>. This is the same switch as <strong>Enable local agent connection</strong> in Task agent. The status reads <strong>Running locally</strong>.</li> |
| 54 | <li>Click <strong>Test connection</strong>. When it works you see "OpenTalon answered the local read-only test."</li> |
| 55 | </ol> |
| 56 | <figure class="docs-shot docs-shot-mac is-placeholder" id="fig-agent-connection" data-shot-id="agent-connection" data-needs="Settings at Agent connection: Enable MCP connection on, Running locally, test result "OpenTalon answered the local read-only test.", client buttons with Claude selected showing Save project connection…. Mac, dark theme, 1440×900 window, seeded demo data" data-alt="Settings at Agent connection with the MCP connection enabled and running locally, a passed test, and the Claude setup with Save project connection."> |
| 57 | <div class="docs-shot-frame" role="img" aria-label="Settings at Agent connection with the MCP connection enabled and running locally, a passed test, and the Claude setup with Save project connection."> |
| 58 | <span class="docs-shot-label">Screenshot to come</span> |
| 59 | <code class="docs-shot-id">agent-connection</code> |
| 60 | <span class="docs-shot-needs">Settings at Agent connection: Enable MCP connection on, Running locally, test result "OpenTalon answered the local read-only test.", client buttons with Claude selected showing Save project connection…. Mac, dark theme, 1440×900 window, seeded demo data</span> |
| 61 | </div> |
| 62 | <figcaption>Settings → Agent connection, after a passing test.</figcaption> |
| 63 | </figure> |
| 64 | <p>The <strong>Agent skill</strong> block in the same section installs the <code>opentalon-mcp</code> skill for each agent, so new sessions already know how to use OpenTalon's tools. Once a client is connected (below), ask it "List my OpenTalon projects." to check.</p> |
| 65 | </section> |
| 66 | |
| 67 | <section id="clients" aria-labelledby="clients-title"><h2 id="clients-title"><a class="docs-anchor" href="#clients">Connect a client</a></h2> |
| 68 | <p>In <strong>Agent connection</strong>, pick <strong>Claude</strong>, <strong>Codex</strong>, <strong>Gemini CLI</strong> or <strong>Claude chat</strong> and follow the steps.</p> |
| 69 | <h3>Claude Code</h3> |
| 70 | <ol> |
| 71 | <li>Click <strong>Claude</strong>, then <strong>Save project connection…</strong>, and pick your project folder. OpenTalon writes a <code>.mcp.json</code> there and keeps any other servers already in it. If an OpenTalon entry exists, it asks "Replace this project's OpenTalon connection?"</li> |
| 72 | <li>Click <strong>Open Claude</strong>, open the <strong>Code</strong> tab in that folder, and approve the OpenTalon connection.</li> |
| 73 | </ol> |
| 74 | <h3>Codex</h3> |
| 75 | <ol> |
| 76 | <li>Click <strong>Codex</strong>, then <strong>Open Codex</strong>.</li> |
| 77 | <li>In Codex, open <strong>Settings → MCP servers</strong>, add a server and choose <strong>STDIO</strong>.</li> |
| 78 | <li>Copy each field from OpenTalon with its <strong>Copy</strong> button: name, command, arguments and environment variables. Save, then reload the server.</li> |
| 79 | </ol> |
| 80 | <h3>Gemini CLI</h3> |
| 81 | <ol> |
| 82 | <li>Install Google's Gemini CLI (<a href="https://geminicli.com/docs/get-started/installation/">installation guide</a>).</li> |
| 83 | <li>Click <strong>Gemini CLI</strong>, then <strong>Copy setup command</strong>. It copies a <code>gemini mcp add --scope project …</code> command.</li> |
| 84 | <li>In Terminal, in a project folder you've marked as trusted in Gemini CLI, run the command. Then run <code>gemini mcp list</code> to confirm.</li> |
| 85 | </ol> |
| 86 | <div class="note">This is Google's Gemini CLI, which is separate from the Antigravity CLI (<code>agy</code>) OpenTalon uses to <a href="/docs/agents#install-signin">run Gemini tasks</a>.</div> |
| 87 | <h3>Claude chat</h3> |
| 88 | <ol> |
| 89 | <li>Click <strong>Claude chat</strong>, then <strong>Save Claude extension…</strong> to save <code>OpenTalon.mcpb</code>.</li> |
| 90 | <li>Click <strong>Open Claude</strong> and install the saved file.</li> |
| 91 | </ol> |
| 92 | <h3>Advanced setup</h3> |
| 93 | <ul> |
| 94 | <li><strong>Copy STDIO JSON</strong> or <strong>Copy HTTP JSON</strong> for any other MCP client.</li> |
| 95 | <li>Terminal setup with <strong>Copy command</strong>, which uses <code>claude mcp add --scope user</code> or <code>codex mcp add</code>.</li> |
| 96 | <li><strong>Reset connection key…</strong> makes a new key: "This revokes the old direct HTTP key and all task agent connections."</li> |
| 97 | </ul> |
| 98 | </section> |
| 99 | |
| 100 | <section id="task-access" aria-labelledby="task-access-title"><h2 id="task-access-title"><a class="docs-anchor" href="#task-access">One-hour access for a single task</a></h2> |
| 101 | <p>To let an outside agent work on one task without access to the rest of your workspace, open the task's <strong>Details</strong> tab and find <strong>Task agent connection</strong>.</p> |
| 102 | <ol> |
| 103 | <li>Click <strong>Grant and copy</strong> for a one-hour MCP connection limited to that task.</li> |
| 104 | <li>Click <strong>Revoke</strong> to end it before the hour is up.</li> |
| 105 | </ol> |
| 106 | </section> |
| 107 | |
| 108 | <section id="tools" aria-labelledby="tools-title"><h2 id="tools-title"><a class="docs-anchor" href="#tools">Tools</a></h2> |
| 109 | <p>The server has 40 tools. An agent finishes a task with <code>report_agent_progress</code>, which needs a summary and proof that the definition of done is met (see <a href="/docs/board#definition-of-done">Definition of done and proof</a>).</p> |
| 110 | <table> |
| 111 | <thead><tr><th>Group</th><th>Tools</th></tr></thead> |
| 112 | <tbody> |
| 113 | <tr><td>Boards and projects</td><td><code>list_boards</code>, <code>create_board</code>, <code>rename_board</code>, <code>set_board_icon</code>, <code>delete_board</code>, <code>get_project_folder</code>, <code>set_project_folder</code></td></tr> |
| 114 | <tr><td>Tasks</td><td><code>list_tasks</code>, <code>get_task</code>, <code>create_task</code>, <code>update_task</code>, <code>set_task_plan</code>, <code>move_task</code>, <code>trash_task</code>, <code>list_trash</code>, <code>restore_task</code>, <code>get_task_history</code>, <code>restore_task_revision</code></td></tr> |
| 115 | <tr><td>Comments and files</td><td><code>list_task_comments</code>, <code>add_task_comment</code>, <code>read_comment_image</code>, <code>list_task_files</code>, <code>attach_task_file</code></td></tr> |
| 116 | <tr><td>Activity and runs</td><td><code>list_task_activity</code>, <code>add_task_activity</code>, <code>get_task_agent_run</code>, <code>recover_agent_run</code>, <code>report_agent_progress</code></td></tr> |
| 117 | <tr><td>Settings</td><td><code>get_preferences</code>, <code>set_preferences</code>, <code>get_agent_models</code>, <code>set_agent_models</code>, <code>get_app_status</code></td></tr> |
| 118 | <tr><td>Skills</td><td><code>list_productivity_skills</code>, <code>list_community_skills</code>, <code>get_productivity_skill</code></td></tr> |
| 119 | <tr><td>Backups</td><td><code>create_backup</code>, <code>inspect_backup</code></td></tr> |
| 120 | <tr><td>Safety</td><td><code>preview_destructive_action</code>, <code>confirm_destructive_action</code></td></tr> |
| 121 | </tbody> |
| 122 | </table> |
| 123 | </section> |
| 124 | |
| 125 | <section id="safety" aria-labelledby="safety-title"><h2 id="safety-title"><a class="docs-anchor" href="#safety">Destructive actions need a preview</a></h2> |
| 126 | <p>Permanent deletes, emptying the Trash and restoring a <a href="/docs/data#export-restore">backup</a> take two steps, so an agent can't erase data by surprise:</p> |
| 127 | <ol> |
| 128 | <li>The agent calls <code>preview_destructive_action</code> and shows you exactly what will change.</li> |
| 129 | <li>Only after you confirm does it call <code>confirm_destructive_action</code>.</li> |
| 130 | </ol> |
| 131 | <p>A preview expires after 5 minutes, and it's rejected if the workspace changed in the meantime: "This confirmation expired or the workspace changed. Generate a new preview."</p> |
| 132 | </section> |
| 133 | <nav class="docs-pager" aria-label="Previous and next page"> |
| 134 | <a class="docs-pager-prev" href="/docs/running"><span>Previous</span>Needs you, pausing and background</a> |
| 135 | <a class="docs-pager-next" href="/docs/iphone"><span>Next</span>iPhone and iPad</a> |
| 136 | </nav> |
| 137 | </article> |
| 138 | </main> |
| 139 | |
| 140 | <footer class="site-footer"> |
| 141 | <div class="wrap"> |
| 142 | <nav class="footer-links" aria-label="Footer"> |
| 143 | <a href="/">Home</a> |
| 144 | |
| 145 | <a href="/download">Download for Mac</a> |
| 146 | <a href="/docs">Docs</a> |
| 147 | <a href="/compare">Compare</a> |
| 148 | <a href="/help">Help</a> |
| 149 | <a href="/privacy">Privacy</a> |
| 150 | </nav> |
| 151 | <div class="footer-product-credit"> |
| 152 | </div> |
| 153 | </div> |
| 154 | </footer> |
| 155 | </div> |
| 156 | </body> |
| 157 | </html> |