Tool-first MCP: project-anchored AST index, symbol search, impact analysis, resumable task chains.
MPM MCP server exists for a simple reason — assistants are far more useful when they can act on MPM directly instead of describing what you should do. Tool-first MCP: project-anchored AST index, symbol search, impact analysis, resumable task chains.
已在 MCP Registry 发布:io.github.halflifezyf2680/mpm-coding
Once MPM is connected, these are the calls the assistant has available:
Tree-sitter — Rust AST 索引器,30+ 语言按需下载SQLite — 嵌入式存储,数据在 .mpm-data/(不提交到 git)code_search — 精确定位符号。不是 grep,是 AST 级精确查找。project_map — 一眼看到目录结构和符号清单。flow_trace — 追踪函数调用链——改代码之前先看懂主链路。code_impact — "谁调用了它?" 或 "它调用了谁?"——动手前先看爆炸半径。task_chain — 长任务?拆成阶段,每阶段有门控验收。会话断了也能续。system_hook — 被阻塞?挂个钩子,条件满足后再继续。memo — 记录"为什么改"。跨会话持久保留。system_recall — "之前是不是修过类似的?"——搜索历史记录。known_facts — KnownFact 策略引擎:行动前召回经验,行动后回写结果并进化。initialize_project — 初始化 AST 索引 + 生成项目规则。一次性操作。Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MPM's toolset — Tree-sitter, SQLite, code_search and 11 more — is a fair guide to whether it matches your workflow. It is maintained by halflifezyf2680; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against MPM's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Tree-sitter | Rust AST 索引器,30+ 语言按需下载 |
| SQLite | 嵌入式存储,数据在 .mpm-data/(不提交到 git) |
| code_search | 精确定位符号。不是 grep,是 AST 级精确查找。 |
| project_map | 一眼看到目录结构和符号清单。 |
| flow_trace | 追踪函数调用链——改代码之前先看懂主链路。 |
| code_impact | "谁调用了它?" 或 "它调用了谁?"——动手前先看爆炸半径。 |
| task_chain | 长任务?拆成阶段,每阶段有门控验收。会话断了也能续。 |
| system_hook | 被阻塞?挂个钩子,条件满足后再继续。 |
| memo | 记录"为什么改"。跨会话持久保留。 |
| system_recall | "之前是不是修过类似的?"——搜索历史记录。 |
| known_facts | KnownFact 策略引擎:行动前召回经验,行动后回写结果并进化。 |
| initialize_project | 初始化 AST 索引 + 生成项目规则。一次性操作。 |
| index_status | 查看后台索引进度。 |
| ensure_languages | 下载缺失的 tree-sitter grammar。通常自动执行。 |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.