
54yyyu/pyapple-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP-сервер и CLI для семи приложений macOS — Сообщения, Почта, Заметки, Календарь, Напоминания, Контакты и Карты. Родные рамки, честное усечение.
Обзор
Python-реализация инструментов Apple для протокола Model Context Protocol (MCP), обеспечивающая бесшовную интеграцию с приложениями macOS. Есть два передних конца для одной и той же интеграции: MCP-сервер для Claude Desktop и других клиентов MCP, и pyapple, командная строка для управления одними и теми же десятью инструментами из оболочки. Они разделяют одну политику разрешения, поэтому то, что вы разрешаете в одной, вы разрешаете в обеих. Они полностью перечислены в Инструменты, и то, что они отказываются делать, находится под ограничениями, которые стоит знать — прочитайте это, прежде чем полагаться на любой из них. Если вы агент, который собирается управлять CLI, а не человек, читающий об этом, .claude/skills/pyapple/SKILL.md в этом репозитории - это руководство для оператора: какой звонок сделать первым, как прочитать статус выхода и какие отказы маршрутизировать по сравнению с отчетом. Найти разговоры, прочитать весь поток, найти текст сообщения, перечислить, какой поток был отправлен, и отправить — текст или файл. Чтения проходят через чат.
Обзор (машинный перевод)
Python-реализация инструментов Apple для протокола Model Context Protocol (MCP), обеспечивающая бесшовную интеграцию с приложениями macOS.
Над одной и той же интеграцией есть два интерфейса: MCP-сервер для Claude.
Desktop и другие MCP-клиенты, и pyapple, командная строка для управления одним и тем же
Десять инструментов из раковины. Они разделяют одну политику разрешения, так что вы позволяете
Один, который вы допустили в обоих.
88 операций по десяти инструментам Они полностью перечислены в Инструменты, и то, что они отказываются делать, находится под контролем. Ограничения, которые стоит знать — прочитайте это, прежде чем полагаться на какие-либо из них.
Если вы агент, который собирается управлять CLI, а не человек, читающий об этом, [[Т1]] в этом репозитории есть руководство оператора: звонок сделать первым, как читать статус выхода, и какие отказы в маршрутизации Округ против отчета.
Особенности
Сообщения: найдите разговоры, прочитайте весь поток, текст поискового сообщения,
Перечислите, какой поток был отправлен, и отправьте — текст или файл. Чтения проходят через
chat.db непосредственно и ограничены chat, поэтому групповая нить возвращается как
Группа, а не доля одного участника
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
PyApple MCP Tools
A Python implementation of Apple-native tools for the Model Context Protocol (MCP), providing seamless integration with macOS applications.
There are two front ends over the same integrations: an MCP server for Claude
Desktop and other MCP clients, and pyapple, a command line for driving the same
ten tools from a shell. They share one permission policy, so what you allow in
one you have allowed in both.
88 operations across ten tools. They are listed in full under The tools, and what they refuse to do is under Limits worth knowing — read that before you rely on any of them.
If you are an agent about to drive the CLI rather than a person reading about it,
.claude/skills/pyapple/SKILL.md in this repository is the operator guide: which
call to make first, how to read the exit status, and which refusals to route
around versus report.
Features
- Messages: find conversations, read a thread whole, search message text,
list what a thread was sent, and send — text or a file. Reads go through
chat.dbdirectly and are scoped by chat, so a group thread comes back as the group rather than as one participant’s share - Notes: search, list, read, create, append, rename and rewrite — with a gate
that refuses any note whose content a round trip would destroy — plus
filing a note into another folder, and folders themselves: list them, create
one, rename one, delete one.
createrefuses a folder name that does not exist rather than making a folder out of a typo, and the listing is how you find out what does;folder-deleterefuses a folder holding notes unless you pass their exact count, because what it deletes does not go to Recently Deleted - Contacts: search by name, go the other way from a number or address to a person, and add, correct or delete a card. Reads and writes both go through the Contacts framework; nothing launches Contacts.app
- Mail: unread, header search, body search, read one message whole by id, a whole thread in order, what is attached and whether the bytes are here, coverage — what each account can actually answer about — send, reply, forward, the drafted form of each of those three, mark read, file, delete, and list mailboxes and accounts. Reads come from the local Envelope Index rather than through the app
- Reminders: list, search, create, update, complete, uncomplete and delete, plus creating and deleting the lists themselves, through EventKit
Установка
npx @modelcontextprotocol/inspector pyapple-mcpКонфигурация
{
"mcpServers": {
"pyapple": {
"command": "pyapple-mcp"
}
}
}