> Preview availability: use the MCP-enabled Textley Mac app. Current status and setup: https://protomota.com/mcp#textley and https://textley.ai/mcp/ .

# Connect local agents to Textley

Textley is a native Mac editor for plain text, Markdown and folder vaults. Its optional MCP server runs inside the app, so Claude and Codex can find, read and edit the files in folders you add to Textley. Access is off by default.

## Enable Textley access

1. Open Textley and add a folder in the sidebar.
2. Open **Settings → Integrations** and turn on **Enable MCP access**.
3. Choose **Read only** to search and read, or **Read & write** to edit and save. Keep Textley open while your agent works.

## Claude Code

1. In Claude Code, run `/plugin install protomota-textley-mcp --marketplace protomota/mcp`.
2. Start a local session on the same Mac with Textley open.
3. Confirm the connector appears, then try `list_vaults` or `list_tabs`.

## Codex

Follow the Codex steps on https://textley.ai/mcp/ and use the values Textley shows in **Settings → Integrations**.

## Try it

Put a disposable Markdown file in a folder you open in Textley, then try:

- "List my open Textley folders and find Markdown files whose names contain 'trail'."
- "Open Trail Log.md and show its Markdown preview." (Read & write, because it changes the open editor.)
- "In Trail Log.md, change 'Strong wind' to 'Light wind' and save the file." (Read & write.)

Read the current revision before editing, and use `save_file` to save after an edit. Files and folders stay on your Mac, and a connected agent may send the text it retrieves to its AI provider. Turn MCP access off in Textley to revoke the connection.

[Textley MCP setup](https://textley.ai/mcp/#claude-code) · [Privacy](https://textley.ai/privacy/#mcp) · [Plugin on GitHub](https://github.com/protomota/mcp) · [Support](https://textley.ai/support/)
