TextEdit-MCP
Swift-based MCP for creating perfectly formatted RTF documents using Apple's native TextEdit APIs
Install / Use
claude mcp add M-Pineapple -- npx -y github:M-Pineapple/TextEdit-MCPIf the server publishes to npm under a different name, use that package instead ā check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of TextEdit-MCP
TextEdit-MCP scores 78/100 on our quality scale, 2445th of 2,730 Automation skills we index.
Its MCP Server is 6.0 KB long, well organised into 35 sections with 13 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 27 days ago, so TextEdit-MCP is actively maintained.
- Our last check on 2026-11-12 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit ā read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-13. Automated pattern scan on 2026-10-13. It catches known dangerous patterns, not every risk ā read a skill before letting an agent act on it.
TextEdit-MCP compared with similar skills
All 4 of these similar skills score higher than TextEdit-MCP; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| TextEdit-MCP (this skill)by M-Pineapple | 78 | 3 | 27d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 81.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install TextEdit-MCP?
- Run
claude mcp add M-Pineapple -- npx -y github:M-Pineapple/TextEdit-MCP. The install tabs above show the steps for each supported agent. - Which AI agents does TextEdit-MCP work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is TextEdit-MCP safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is TextEdit-MCP still maintained?
- The repository was last updated 27 days ago, so TextEdit-MCP is actively maintained.
Skill content
View source on GitHubTextEdit MCP
</div>A Model Context Protocol (MCP) server that enables Claude Desktop to create beautifully formatted RTF documents with native macOS TextEdit compatibility.
Features
-
š Rich Text Formatting
- Bold, italic, underline, strikethrough
- Headings (H1-H2)
- Paragraph formatting with customizable spacing
-
šØ Colors & Highlighting
- Text colors: Red, Blue, Green
- Highlight colors: Yellow, Cyan, Green, Orange
- Full color support in tables
-
š Tables
- Real RTF tables with borders
- Header row styling
- Full formatting support within cells
- Automatic cell padding and alignment
-
š Hyperlinks
- Clickable URLs
- Formatted link text
- Works in TextEdit, Pages, and Word
-
š Lists
- Bullet points
- Numbered lists
- Proper indentation
-
šÆ Templates
- Business (default)
- Technical (monospace)
- Meeting (increased line spacing)
-
š”ļø Path guard
- New
.rtffiles only, inside the home folder - Hidden paths, overwrites, and symlinks that resolve outside home are refused
- New
Installation
Prerequisites
- macOS (required for NSAttributedString and RTF generation)
- Swift 5.0 or later
- Claude Desktop
Quick Install
- Clone the repository:
git clone https://github.com/M-Pineapple/TextEdit-MCP.git
cd TextEdit-MCP
- Run the installer:
./install.sh
- Restart Claude Desktop
The installer will:
- Build the Swift project
- Install the MCP server binary
- Update your Claude Desktop configuration
- Create a backup of your existing config
Usage
In Claude Desktop, you can create RTF documents using natural language:
"Create an RTF document with my meeting notes"
"Make a formatted report with tables and highlights"
"Generate a technical document with code examples"
Or use the tool directly:
Use textedit:create_rtf_document to create a document at ~/Desktop/MyDoc.rtf
Formatting Syntax
The TextEdit MCP uses an intuitive markdown-like syntax:
Text Formatting
**Bold text***Italic text****Bold italic text***~~Strikethrough text~~
Colors
{red}Red text{/red}{blue}Blue text{/blue}{green}Green text{/green}
Highlighting
==Yellow highlight==[[Cyan highlight]]{{Green highlight}}((Orange highlight))
Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
Lists
⢠Bullet point (or use - )
1. Numbered item
2. Another item
Tables
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Data 1 | Data 2 | Data 3 |
| More | Data | Here |
Links
[Link text](https://example.com)
Examples
Simple Document
# Meeting Notes
## Agenda
- Review **Q4 results**
- Discuss {red}urgent issues{/red}
- Plan for next quarter
## Action Items
1. ==Update documentation==
2. [[Review code changes]]
3. Schedule follow-up
Table with Formatting
| Task | Status | Owner |
|------|--------|-------|
| **Documentation** | {green}ā
Complete{/green} | Team A |
| *Testing* | ==In Progress== | Team B |
| Deployment | {red}Blocked{/red} | DevOps |
Development
Building from Source
swift build -c release
Running Tests
swift test
Project Structure
TextEdit-MCP/
āāā Sources/
ā āāā TextEditMCP/
ā āāā main.swift # Entry point
ā āāā MCPServer.swift # MCP protocol handler
ā āāā RTFDocumentService.swift # RTF generation
ā āāā MCPLogger.swift # Logging utility
āāā Package.swift
āāā README.md
āāā FORMATTING_GUIDE.md
āāā install.sh
How It Works
- MCP Protocol: Implements the Model Context Protocol to communicate with Claude Desktop
- NSAttributedString: Uses macOS native APIs for rich text formatting
- NSTextTable: Creates real RTF tables with proper borders and cell formatting
- RTF Export: Generates standard RTF files compatible with TextEdit, Pages, and Word
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Guidelines
- Maintain compatibility with macOS TextEdit
- Follow Swift naming conventions
- Add tests for new features
- Update documentation
Support
If you find this tool useful, consider supporting development:
<a href="https://www.buymeacoffee.com/mpineapple" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
More MCP servers by M-Pineapple
Other MCP servers in this portfolio:
- Claude Project Coordinator. Track Xcode projects, status, tech stack and health.
- CryptoAnalysisMCP. Cryptocurrency technical analysis for Claude Desktop.
- Warp Command Runner. Give any chat AI a real terminal.
- Msty Admin MCP. Administer Msty Studio Desktop.
- Member Berries. Apple Calendar, Notes and Reminders with personality.
- SeaShell. Talk to Claude from any terminal block.
- HubSpot Auditor. Read-only HubSpot portal audit.
Licence
MIT Licence. See LICENSE for details.
Acknowledgments
- Created for use with Claude Desktop
- Built with Swift and AppKit
- Uses Model Context Protocol (MCP)
Created by Pineapple š
Related Skills
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu ā one CLI, zero API fees.
hyperframes
91.5kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6kš The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
81.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit ā see the Safety scan above for what the skill file itself contains.
