mm_list
List tested scripts; call before code at each reusable substep. Omit area to list areas, then select one. Same-name project scripts shadow personal. No matching script: write code. If unavailable, ask once before mm_setup.
area
io.github.johannesloor由 GitHub 帳號 johannesloor 發布v0.1.1更新於 Nov 4, 2026
MCP伺服器,為你的代理程式提供一個由經過測試、可重複使用腳本組成的庫。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
MCP server that gives your agent a library of its own tested, reusable scripts.
發布方自己的服務:Memory.fit
Muscle Memory 的本機 MCP 服務;無需登入;STDIO;4 個工具。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
[A tied shoelace bow next to the words Muscle Memory MCP Server]
Your agent solves problems by writing scripts, then throws them away like they're nothing. Tomorrow it writes the same script again. Like having to figure out how to tie your shoelaces every morning. It lacks muscle memory.
The Muscle Memory MCP server gives your agent an empty library that it fills with its own tested scripts.
[Install in VS Code] [Install in VS Code Insiders] [Install in Cursor] [Install in LM Studio]
Hermes
Claude Code
To keep the library somewhere other than the default, set MUSCLE_MEMORY_DIR in the server's environment.
Add to ~/.codex/config.toml:
Add to ~/.cursor/mcp.json:
Add this standing rule to your AGENTS.md, CLAUDE.md, SOUL.md or equivalent agent instructions:
Tool descriptions contain the safety and testing specifics for each operation.
The server exposes mm_list, mm_run, mm_save and mm_setup. If the personal library has not been set up, the tools guide the agent to ask you once where it should live and then call mm_setup.
The personal library defaults to ~/.muscle-memory (%USERPROFILE%\.muscle-memory on Windows); MUSCLE_MEMORY_DIR selects another location. Scripts in the personal library are available across projects.
An optional .muscle-memory/ project library holds scripts specific to one codebase. Project-root detection depends on the MCP client's working directory. Set MUSCLE_MEMORY_PROJECT_DIR to the project's absolute path in the server environment to override detection explicitly. When a script name exists in both libraries, the project copy takes precedence; listings mark the personal copy as shadowed.
For personal libraries, saves write files locally if the folder is not in git. If the library is a git repo, each saved script is committed. Setup asks whether to also push scripts to the git remote automatically; run setup again to change your answer. Project libraries are never committed or pushed automatically: you commit them with your own work. On first project setup, the agent asks whether the library should be shared through git or kept private.
mm_list(area?) — list available areas and script counts, or list scripts in one area.mm_run(script, args) — run a saved script, passing through arguments.mm_save(name, code, test, area, usage, ...) — save or update a script after its test passes. Supports runner, test selection, and personal/project scope options; see the tool description for the full schema and safety behavior.mm_setup(target, ...) — set up a personal library or optional project library. Ask the user before setup; see the tool description for modes and options.The runner is picked by file extension: Python, bash/zsh, Node, Ruby, Perl, PHP, Swift, Go, Lua, R, PowerShell, and .cmd/.bat on Windows. Other languages need an explicit runner argv when saved. Runtimes are never installed for you; a missing one gives an error naming the command.
By default a script's test uses the same extension and runner. test_name and test_runner allow independent test selection. Tests live under tests/test_<stem>.<ext>; selection metadata is stored beside the script. Tests receive MM_SCRIPT (absolute script path) and MM_LIBRARY (library root). Exit status 0 passes; failed tests prevent saving. Replacing a test extension removes the prior test only after the replacement passes.
The same command is also a CLI:
With no arguments it starts the MCP server over stdio. --help lists the options.
uvx muscle-memory-mcp trust --project.MUSCLE_MEMORY_PROJECT_DIR if needed.MIT — see LICENSE.
來源:README.md,提交 595424d
List tested scripts; call before code at each reusable substep. Omit area to list areas, then select one. Same-name project scripts shadow personal. No matching script: write code. If unavailable, ask once before mm_setup.
areaRun code as you with inherited environment; no sandbox. Report output. [write]: --dry-run then readback. [irreversible]: --dry-run, show output, wait for explicit yes before execution. Repair via mm_save replace: true.
argsscript必填Save reusable code and EXECUTE its test, unsandboxed; tests are not security reviews. Untrusted project library: nothing written or run; ask the user. Use args, env secrets, --dry-run for actions. Tests default to script runner/extension; test_name/test_runner override. MM_SCRIPT/MM_LIBRARY set; exit 0 passes. Failed new personal test saves nothing; replacement restores prior files. Personal commits, and pushes if chosen at setup; project never commits. Existing names: replace: true.
area必填code必填name必填test必填scopeusage必填runnerreplacenew_areatest_nametest_runnerAfter asking which: personal (mode local/existing/clone) or project (shared true uses project git, false keeps private). push: user's answer to 'Push scripts to git remote automatically?'
gitmodepathpushremotesharedtarget已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

fit.memory官方發布者
託管式 Memory.fit 伺服器,讓 AI 讀取你的訓練、睡眠、恢復與飲食資料,並寫回每週計畫、每日目標和飲食計畫。
io.ddx.pg官方發布者
pg.ddx.io: the PostgreSQL community's memory 的託管 MCP 服務,由 pg.ddx.io 發布;無需登入;Streamable HTTP;29 個工具。
gg.var官方發布者
遠端 MCP 伺服器,可依領域概念推薦並檢索韓、日、中、越、英多語言的程式識別字名稱,並提供 ERD 結構查詢。

ai.counterparts
為 Claude Code 與 Claude Desktop 提供的本地優先長期記憶:助理自行寫下關於你與專案的筆記,並在之後的對話中回想起來。

由 GitHub 帳號 pedramgholizadeh 發布
以波斯語為先的地理記憶平臺:發現地點,起草併發布僅限波斯語的記憶。AI 翻譯
hermes mcp add muscle-memory --command uvx --args muscle-memory-mcpclaude mcp add muscle-memory -s user -- uvx muscle-memory-mcp[mcp_servers.muscle-memory]command = "uvx"args = ["muscle-memory-mcp"]# env = { MUSCLE_MEMORY_DIR = "/absolute/path/to/library" }{ "mcpServers": { "muscle-memory": { "command": "uvx", "args": ["muscle-memory-mcp"] } }}Before writing helper code, check muscle-memory with mm_list and run a match with mm_run.Before ending your turn, save reusable new helper scripts (not project code) with mm_save; use a background agent if available so the reply isn't delayed.If you saved something, name it in the reply.uvx muscle-memory-mcp list [AREA]uvx muscle-memory-mcp run SCRIPT [ARGS...]uvx muscle-memory-mcp save NAME --code FILE --test FILE --area AREA --usage TEXTuvx muscle-memory-mcp setup [--target personal|project] [OPTIONS]uvx muscle-memory-mcp test [NAME]uvx muscle-memory-mcp trust --project