
Mightydillah/Apple-doc-mcp 是从 https://github.com/mightydillah/apple-doc-mcp. 导入的 MCP 服务器候选服务器。
概览
Mightydillah/Apple-doc-mcp 是从 https://github.com/mightydillah/apple-doc-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,直接在您的AI编码助手中无缝访问苹果开发者文档。 注: 嘿,大家,感谢大家关注这个MCP!因为我一直在定期开发它,所以开发和改进它以支持不同平台变得非常昂贵,同时还要添加新功能(代币可不便宜,大家)。
如果你觉得这个MCP有帮助,非常感谢你❤️点击上面的赞助商按钮,任何贡献我都非常感激!谢谢。
📋 更新日志
感谢Github团队的支持!也感谢@billibala、@theoddbrick、@christopherbattlefrontlegal的赞助!你们太棒了。
-
完整发行历史存于 CHANGELOG.md。
-
1.9.6
-
重大修正:简化
search_symbols,使AI代理更可预测 -
在
search_symbols内添加了精确的符号分辨率,适用于如GridItem、View和ButtonStyle等查询。 -
更改为
search_symbols返回符号优先的结果,条目和指南被单独分开。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Apple Doc MCP
A Model Context Protocol (MCP) server that provides seamless access to Apple’s Developer Documentation directly within your AI coding assistant. Note: Hey guys, thanks for checking out this MCP! Since I’ve been working on it on a regular basis, and as such its getting really expensive to build it and improve it to work on different platforms, all while adding new features (tokens aint cheap ya’ll).
if you find this MCP helpful, I’d really apperciate it if you clicked on the ❤️ Sponsor button up there, any contribution is apperciated! thanks.
📋 Changelog
Thank you to the Github team for your support! and thank you @billibala, @theoddbrick, @christopherbattlefrontlegal for sponsoring! you guys are amazing.
-
Full release history lives in CHANGELOG.md.
-
1.9.6
- MAJOR FIX: Simplified
search_symbolsto be more predictable for AI agents - Added exact symbol resolution inside
search_symbolsfor queries likeGridItem,View, andButtonStyle - Changed
search_symbolsto return symbol-first results with articles and guides separated into their own section - Fixed wildcard behavior so fallback search respects
*and?patterns instead of degrading to plain substring matches - Removed misleading search messaging about background downloads and “comprehensive” indexing
- Removed dead or unused search code paths that were adding confusion without improving results
- Fixed first-search index initialization so cache-backed symbol search finishes building before results are used
- MAJOR FIX: Simplified
-
1.9.1
- Moved cached docs into
.cache/to keep the repo clean - Routed MCP logging to stderr so protocol stdout stays clean (this was breaking codex symbol search)
- Moved cached docs into
Installation
VS Code
- Open Command Palette (
Shift+Cmd+P). - Run
MCP: Add Server. - When prompted for server type, choose
npm. - Enter this package:
apple-doc-mcp-server
Claude Code:
claude mcp add apple-docs -- npx apple-doc-mcp-server@latest
OpenAI Codex:
codex mcp add apple-doc-mcp -- npx apple-doc-mcp-server@latest
Manual:
{
"mcpServers": {
"apple-docs": {
"command": "npx",
"args": ["apple-doc-mcp-server@latest"]
}
}
}
Local:
yarn install
yarn build
{
"mcpServers": {
"apple-docs": {
"command": "node",
"args": ["/absolute/path/to/apple-doc-mcp/dist/index.js"]
}
}
}
Search Tips
- Use exact API names when you know them (
"GridItem","ButtonStyle","View"). - Start broad (e.g.
"tab","animation","gesture"). - Try synonyms (
"sheet"vs"modal","toolbar"vs"tabbar"). - Use wildcards (
"Grid*","*Item","Lazy*") for flexible matching. - Use multiple keywords (
"tab view layout") to narrow results. - If nothing turns up, re-run
discover_technologieswith a different keyword or pick another framework.
安装
npx apple-doc-mcp-server@latest配置
{
"mcpServers": {
"apple-docs": {
"command": "npx",
"args": ["apple-doc-mcp-server@latest"]
}
}
}