writebetter
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@writebetterList my WriteBetter commands."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WriteBetter MCP Extension
A Claude Desktop extension (MCP server) that connects Claude to the WriteBetter macOS app running on the same Mac. Claude can work with your local WriteBetter library: commands, the Prompt Library, context folders, run history and usage stats.
Everything stays on your machine. The extension only talks to WriteBetter
over 127.0.0.1:51515.
Requirements
macOS with the WriteBetter app installed and running (download: https://svenbadalyan.com/tools/)
Claude Desktop
Related MCP server: LiteFarm MCP Server
Install
In WriteBetter, open Settings and turn on AI Assistant Integration. Keep the app running.
Download
writebetter.mcpbfrom this repository.Open Claude Desktop → Settings → Extensions → Advanced settings → Install Extension… and select the downloaded file.
Ask Claude, for example:
"List my WriteBetter commands."
"Create a WriteBetter command called
dethat translates English text into German and keeps the tone.""Show me the run history of my
decommand and suggest how to improve its prompt."
How it works
WriteBetter listens on
127.0.0.1:51515(loopback only, never the network), and only while AI Assistant Integration is turned on.index.jsis the MCP server. Each tool call opens a short TCP connection to that port, sends one JSON line, and relays the JSON response back.Every call goes through WriteBetter's own validation (duplicate names, chain rules, value ranges), exactly as in the app.
Safety switches (WriteBetter → Settings → AI Assistant Integration):
Ask before deleting or running (on by default): every delete/clear tool and
run_commandshows an Allow / Deny dialog in WriteBetter and waits up to 90 s for an answer (Deny is the default button).Read-only: only the read tools work; everything else is refused.
Build from source
npm install
npm run build:mcpb # produces writebetter.mcpbManual alternative without the extension: add this to
~/Library/Application Support/Claude/claude_desktop_config.json and restart
Claude Desktop (use only one of the two methods):
"mcpServers": {
"writebetter": {
"command": "node",
"args": ["/absolute/path/to/writebetter-mcp-extension/index.js"]
}
}Tools exposed
Tools marked ⚠︎ ask for approval in WriteBetter first (unless turned off).
General: get_status, search_history, get_usage_stats
Commands: list_commands (filters: include_inactive, type),
get_command (by id or shortcut, with settings and prompt structure),
match_command (best match for a phrase, with scores), create_command,
update_command, update_command_settings (model, temperature, reasoning,
retries, generation mode, saved-history size), set_command_active
(inactive commands appear in the app's Commands tab behind the eye button),
get_command_history, ⚠︎ clear_command_history, ⚠︎ delete_command,
⚠︎ run_command (runs on the user's API keys and is saved to history)
Prompts: list_prompts (filters: query, tag), get_prompt (by id or
name), create_prompt, update_prompt, ⚠︎ delete_prompt
Context folders: list_context_folders, get_context_folder,
get_active_context, create_context_folder (does not change the active
folder unless make_active: true), rename_context_folder,
select_context_folder, add_context_snippet, update_context_snippet,
⚠︎ delete_context_snippet, ⚠︎ clear_context_folder,
⚠︎ delete_context_folder, set_context_enabled, list_context_labels,
create_context_label, ⚠︎ delete_context_label
Image snippets are listed by file name only; image data is not sent.
Troubleshooting
If a tool call fails with "Could not reach WriteBetter on 127.0.0.1:51515", the app either isn't running or the toggle in Settings is off. After updating WriteBetter or this extension, make sure both are the new version: an older app answers new tools with "Unknown action".
Privacy Policy
This extension only talks to the WriteBetter app running on the same Mac, over 127.0.0.1:51515. It makes no other network connections, collects no telemetry, and sends nothing to WriteBetter or any third party. Commands, prompts, context, run history and usage data stay in WriteBetter's local storage.
Full policy:
Support
License
MIT, see LICENSE. The license covers this extension only; the WriteBetter app itself is a separate product.
This server cannot be deployed
Maintenance
Related MCP Connectors
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Related MCP Servers
- AlicenseCqualityDmaintenanceBridges Claude Desktop with local LLM instances running via llama-server, enabling full conversation support with complete parameter control and health monitoring. Allows users to chat with their local models directly through Claude Desktop with configurable sampling parameters.39 npm9Creative Commons Zero v1.0 Universal
- FlicenseNot gradedqualityDmaintenanceConnects Claude Desktop to a local LiteFarm installation, enabling farm management, task operations, crop browsing, and direct SQL database operations through natural language commands.-
- FlicenseBqualityDmaintenanceBridges Claude Desktop with Claude Code CLI to delegate complex coding tasks like creating React apps, building APIs, and debugging scripts while maintaining interaction through the Desktop interface.51-
- AlicenseNot gradedqualityDmaintenanceConnects Claude Desktop and Claude Code, enabling autonomous exchange of messages, files, and code while keeping their context windows separate.4MIT