Textley / website / mcp / index.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"> |
| 6 | <meta name="description" content="Connect Claude Code, Codex, or Claude chat to Textley on your Mac."> |
| 7 | <meta name="theme-color" content="#100e1f"> |
| 8 | <meta property="og:type" content="website"> |
| 9 | <meta property="og:site_name" content="Textley"> |
| 10 | <meta property="og:title" content="Connect an agent · Textley"> |
| 11 | <meta property="og:description" content="Connect Claude Code, Codex, or Claude chat to Textley on your Mac."> |
| 12 | <meta property="og:url" content="https://textley.ai/mcp/"> |
| 13 | <meta property="og:image" content="https://textley.ai/assets/social-card-mcp.png"> |
| 14 | <meta property="og:image:width" content="1200"> |
| 15 | <meta property="og:image:height" content="630"> |
| 16 | <meta property="og:image:alt" content="Bring your agent into Textley. Connect Claude Code, Codex, or Claude chat to the Mac editor."> |
| 17 | <meta property="og:locale" content="en_US"> |
| 18 | <meta name="twitter:card" content="summary_large_image"> |
| 19 | <meta name="twitter:title" content="Connect an agent · Textley"> |
| 20 | <meta name="twitter:description" content="Connect Claude Code, Codex, or Claude chat to Textley on your Mac."> |
| 21 | <meta name="twitter:image" content="https://textley.ai/assets/social-card-mcp.png"> |
| 22 | <link rel="canonical" href="https://textley.ai/mcp/"> |
| 23 | <link rel="icon" href="/assets/favicon.png" type="image/png"> |
| 24 | <link rel="apple-touch-icon" href="/assets/apple-touch-icon.png"> |
| 25 | <link rel="preload" href="/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin> |
| 26 | <link rel="stylesheet" href="/assets/site.css?v=20261129-touch"> |
| 27 | <title>Connect an agent · Textley</title> |
| 28 | <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://textley.ai/mcp/#webpage","url":"https://textley.ai/mcp/","name":"Connect an agent · Textley","description":"Connect Claude Code, Codex, or Claude chat to Textley on your Mac.","isPartOf":{"@id":"https://textley.ai/#website"},"inLanguage":"en-US","publisher":{"@id":"https://textley.ai/#org"},"about":{"@id":"https://textley.ai/#app"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Textley","item":"https://textley.ai/"},{"@type":"ListItem","position":2,"name":"Connect an agent","item":"https://textley.ai/mcp/"}]},{"@type":"SoftwareApplication","@id":"https://textley.ai/#app","name":"Textley","url":"https://textley.ai/","description":"Textley is a native Mac editor for code, text, and Markdown, with syntax coloring and the folders you work in. Free and open source (public domain). Connect Claude Code or Codex when you want an agent in the same files.","applicationCategory":"DeveloperApplication","applicationSubCategory":"Text editor","operatingSystem":"macOS 14 or later","processorRequirements":"Apple silicon","isAccessibleForFree":true,"downloadUrl":"https://textley.ai/download/","image":"https://textley.ai/assets/icon.png","screenshot":"https://textley.ai/assets/textley-editor.webp","featureList":["Sidebar tabs that keep each file's edits, undo history, selection and scroll position","Several folders open at once","Syntax coloring for Swift, JavaScript, TypeScript, JSON, HTML, CSS and Markdown","Markdown preview that renders offline","Find and replace with regular expressions","Keeps each file's encoding and line endings","Built-in local MCP server with 27 tools for Claude Code, Codex and Claude chat"],"author":{"@id":"https://textley.ai/#org"},"publisher":{"@id":"https://textley.ai/#org"}},{"@type":"Organization","@id":"https://textley.ai/#org","name":"Textley","url":"https://textley.ai/","logo":"https://textley.ai/assets/icon.png"}]}</script> |
| 29 | <!-- no-orphans --><link rel="stylesheet" href="/no-orphans.css"><script src="/no-orphans.js" defer></script><!-- /no-orphans --></head> |
| 30 | <body> |
| 31 | <a class="skip" href="#main">Skip to content</a> |
| 32 | <header class="site-header"> |
| 33 | <div class="shell nav"> |
| 34 | <a class="wordmark" href="/" aria-label="Textley home"><img src="/assets/icon.png" alt="" width="30" height="30">Textley</a> |
| 35 | <nav aria-label="Main"> |
| 36 | <a class="nav-hide" href="/#editor">Editor</a> |
| 37 | <a class="nav-hide" href="/#markdown">Markdown</a> |
| 38 | <a class="nav-hide" href="/#agents">Agents</a> |
| 39 | <a class="nav-hide-sm" href="/mcp/" aria-current="page">MCP setup</a> |
| 40 | <a class="nav-cta mac-download" href="/download/">Download for Mac</a> |
| 41 | </nav> |
| 42 | </div> |
| 43 | </header> |
| 44 | <main id="main"> |
| 45 | <div class="shell page-head"> |
| 46 | <span class="mark">mcp setup</span> |
| 47 | <h1>Connect an agent to Textley.</h1> |
| 48 | <p class="lead">Textley’s MCP server runs on your Mac. Pick your client below and follow its steps.</p> |
| 49 | </div> |
| 50 | <div class="shell doc"> |
| 51 | <nav class="toc" aria-label="Client setup"> |
| 52 | <strong>On this page</strong> |
| 53 | <a href="#start">Before you start</a> |
| 54 | <a href="#claude-code">Claude Code</a> |
| 55 | <a href="#codex">Codex</a> |
| 56 | <a href="#claude-chat">Claude chat</a> |
| 57 | <a href="#skill">Agent skill</a> |
| 58 | <a href="#try">Try it</a> |
| 59 | </nav> |
| 60 | <div class="prose"> |
| 61 | <section id="start"> |
| 62 | <h2>Before you start</h2> |
| 63 | <p class="note"><strong>Need Textley first?</strong> <a href="/download/">Download Textley for Mac</a>, then follow these steps.</p> |
| 64 | <p>In Textley 1.0.3 or later, open the folders you want to work with. In <strong>Settings → Integrations</strong>, turn on <strong>Enable MCP access</strong>. Select <strong>Read only</strong> to browse and search, or <strong>Read & write</strong> to allow changes. Click <strong>Test Connection</strong> and keep the app open.</p> |
| 65 | </section> |
| 66 | <section id="claude-code"> |
| 67 | <h2>Claude Code</h2> |
| 68 | <ol> |
| 69 | <li><span>In Textley’s Integrations settings, select <strong>Claude Code</strong> and click <strong>Save Project Connection…</strong>.</span></li> |
| 70 | <li><span>Choose the folder you plan to open in Claude Code. Textley adds its connection to that folder’s <code>.mcp.json</code>.</span></li> |
| 71 | <li><span>Open the same folder in Claude’s <strong>Code</strong> tab. Start a local session on <strong>This computer</strong>, approve the project connection, and check <strong>Connectors</strong>.</span></li> |
| 72 | </ol> |
| 73 | <p>To install the plugin with its bundled skill, put Textley in Applications. In Terminal, run <code>claude plugin marketplace add projectatomai/mcp</code> once, then <code>claude plugin install protomota-textley-mcp@protomota-mcp</code>. Start a new Claude Code session.</p> |
| 74 | <p class="links"><a href="https://code.claude.com/docs/en/mcp#project-scope">Claude Code project connection documentation</a></p> |
| 75 | </section> |
| 76 | <section id="codex"> |
| 77 | <h2>Codex</h2> |
| 78 | <ol> |
| 79 | <li><span>In Textley’s Integrations settings, select <strong>Codex</strong>.</span></li> |
| 80 | <li><span>In Codex, open <strong>Settings → MCP servers → Add server</strong>. Name it <code>textley</code> and choose <strong>STDIO</strong>.</span></li> |
| 81 | <li><span>Use <strong>Copy Command</strong> and <strong>Copy Argument</strong> in Textley. Paste each into its own field. Leave environment variables blank.</span></li> |
| 82 | <li><span>Save, restart the server, and type <code>/mcp</code> in a local chat to check the connection.</span></li> |
| 83 | </ol> |
| 84 | <p><a href="https://learn.chatgpt.com/docs/extend/mcp?surface=desktop">Codex desktop MCP documentation</a></p> |
| 85 | </section> |
| 86 | <section id="claude-chat"> |
| 87 | <h2>Claude chat</h2> |
| 88 | <ol> |
| 89 | <li><span>In Textley’s Integrations settings, select <strong>Claude chat</strong> and click <strong>Save Claude Extension…</strong>.</span></li> |
| 90 | <li><span>In the Claude Mac app, open <strong>Settings → Desktop app → Extensions → Manage → Advanced settings → Install Extension…</strong>. Pick the saved <code>Textley.mcpb</code> file.</span></li> |
| 91 | <li><span>Use <strong>Copy Access Token</strong> in Textley and paste the token in the extension’s settings. Start a new chat and check <strong>Connectors</strong>.</span></li> |
| 92 | </ol> |
| 93 | <p><a href="https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop">Claude local extension documentation</a></p> |
| 94 | </section> |
| 95 | <section id="skill"> |
| 96 | <h2>Textley agent skill</h2> |
| 97 | <p>The skill helps an agent connect to Textley, choose the right file or vault, and read, edit, and save with revision checks. The Claude Code plugin includes it.</p> |
| 98 | <a class="button secondary" href="/mcp-skills/textley-mcp.md"><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="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></svg>View the skill</a> |
| 99 | <p>For a standalone install, save it as <code>SKILL.md</code> in <code>~/.codex/skills/textley-mcp/</code> for Codex or <code>~/.claude/skills/textley-mcp/</code> for Claude Code. Start a new local session.</p> |
| 100 | <p class="links"></p> |
| 101 | </section> |
| 102 | <section id="try"> |
| 103 | <h2>Try it with a folder you opened</h2> |
| 104 | <p>Ask your agent a question about your files:</p> |
| 105 | <p class="prompt">Which Markdown files in my open vault mention release notes?</p> |
| 106 | <p>When writing is enabled, ask for a change:</p> |
| 107 | <p class="prompt">Read the release checklist, replace the due date with Friday, and save the file.</p> |
| 108 | <p>Textley’s MCP server runs on your Mac. You can turn it off in Integrations at any time. <a href="/privacy/#mcp">MCP privacy and permissions</a></p> |
| 109 | </section> |
| 110 | </div> |
| 111 | </div> |
| 112 | </main> |
| 113 | <footer> |
| 114 | <div class="shell footer"> |
| 115 | <nav aria-label="Footer"><a href="/mcp/">MCP setup</a><a href="/compare/">Compare</a><a href="/privacy/">Privacy</a><a href="/help/">Help</a></nav> |
| 116 | </div> |
| 117 | <div class="shell footer-credit"><span>Textley</span></div> |
| 118 | <div class="statusbar" aria-hidden="true"><div class="shell"><span>Ln 1, Col 1</span><span class="grow"></span><span>Markdown</span><span>UTF-8</span><span>LF</span></div></div> |
| 119 | </footer> |
| 120 | <script src="/assets/pm-year.js" defer></script> |
| 121 | </body> |
| 122 | </html> |