Msty Local Ops
A fail-closed MCP server for Msty Studio on macOS that provides read-only diagnostics and an optional bounded local-generation tool, without accessing chats, keys, or configuration.
README
Msty Local Ops
Msty Local Ops is a small, fail-closed MCP for Msty Studio on macOS. It exposes four read-only diagnostics and, in a separate opt-in process, one bounded local-generation tool. It does not read chats, Knowledge Stacks, private databases, provider keys, or application configuration.
New here? Start with the illustrated Mac start guide.
This is an independent community project, not an official Msty product.
What you get
The default diagnostic process exposes exactly:
get_msty_statusget_capability_manifestget_model_manifestrun_compatibility_check
The separate local-inference process adds only local_generate. That tool requires
an exact model identifier advertised by a fixed Msty loopback service. It never
auto-selects a model, follows redirects, uses a proxy, or falls back to an online
provider. Its bounded thinking_mode option accepts only default or none;
none sends the standard local chat-template switch without exposing arbitrary
provider parameters.
Install
- Install Msty Studio for macOS.
- Install Python 3.10, 3.11, or 3.12. The installer selects a supported version even
when a newer
python3is also installed. - Download this repository and double-click
Install Msty Local Ops.command. - The installer creates two ready-to-paste Toolbox JSON files and opens their folder.
- In Msty Studio, open Toolbox → Add New Tool → STDIO / JSON and paste the diagnostic JSON first.
- Test the tool in Msty's Tool Console before attaching it to a conversation.
Msty starts the MCP when it needs it. There is no background service to launch by hand. After installation, start Msty Studio first.
Msty's official Toolbox guide explains the same local STDIO/JSON flow: Msty Studio Tools.
The diagnostic MCP is the safe default. Add the local-inference JSON only when you want the calling model to send prompts to a local Msty model. The calling MCP client can observe those prompts and results; see PRIVACY.md.
Health, upgrade drift, and support
The installer adds two local commands:
msty-local-ops-doctor
msty-local-ops-support --output msty-local-ops-support.json
msty-local-ops-verify
The doctor reports GREEN, YELLOW, or RED and never reads chats, keys, or
Msty's private database. After a known-good setup, run
msty-local-ops-doctor --record-baseline. Future checks warn if the tested Studio
version, adapter version, or local service shape changes.
The support command writes a mode-0600 JSON bundle containing versions, booleans, counts, and error categories only. It deliberately excludes usernames, paths, model identifiers, prompts, content, provider details, and credentials. Review the file before attaching it to a public issue.
The verify command is diagnostic by default and submits no prompt. To run the fixed public/synthetic inference canary, explicitly name an advertised local model and its service:
msty-local-ops-verify --model "<exact-local-model-id>" --service mlx --json
The canary never accepts document content or a custom prompt and never falls back to an online provider.
Try the fictional Knowledge Stack
The folder examples/knowledge-stack/synthetic-canary contains a completely
fictional retrieval test. It includes a controlling handbook, an obsolete source, an
incident clarification, and an adversarial note.
- In Msty, create a Knowledge Stack.
- Add the entire
synthetic-canaryfolder. - Choose a local embedding model if you want processing to remain on the device.
- Compose the stack and attach it to a chat using a local model.
- Run the questions in docs/KNOWLEDGE_STACK.md.
Official references: Knowledge Stack basics and local models.
Network and data boundary
The adapter has only these destinations:
| Msty service | Address |
|---|---|
| Local AI | 127.0.0.1:11964 |
| MLX | 127.0.0.1:11973 |
| llama.cpp | 127.0.0.1:11454 |
Only GET /v1/models and POST /v1/chat/completions are permitted. The default
diagnostic process never submits prompts.
Development
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[dev]'
.venv/bin/python -m pytest -q
.venv/bin/python scripts/check_public_boundary.py .
uv lock --check
uv export --frozen --no-dev --no-emit-project --format requirements.txt --output-file requirements-audit.txt
The public repository must start with a fresh initial commit. Do not merge or import history from an operational or private repository.
License and attribution
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。