Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Recall and calibrate policy-compliant tool-call arguments before execution. Does not run the tool.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
ACHROMAT_AGENT_KEY_FILE, ACHROMAT_BASE_URL, ACHROMAT_REF你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://achromat.ai/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"achromat": {
"command": "npx",
"args": [
"-y",
"@achromat-ai/mcp-server"
],
"env": {
"ACHROMAT_AGENT_KEY_FILE": "your-value",
"ACHROMAT_BASE_URL": "your-value",
"ACHROMAT_REF": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http achromat https://achromat.ai/mcpclaude mcp add achromat --env ACHROMAT_AGENT_KEY_FILE=your-value --env ACHROMAT_BASE_URL=your-value --env ACHROMAT_REF=your-value -- npx -y @achromat-ai/mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"achromat": {
"url": "https://achromat.ai/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"achromat": {
"command": "npx",
"args": [
"-y",
"@achromat-ai/mcp-server"
],
"env": {
"ACHROMAT_AGENT_KEY_FILE": "your-value",
"ACHROMAT_BASE_URL": "your-value",
"ACHROMAT_REF": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"achromat": {
"type": "http",
"url": "https://achromat.ai/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"achromat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@achromat-ai/mcp-server"
],
"env": {
"ACHROMAT_AGENT_KEY_FILE": "your-value",
"ACHROMAT_BASE_URL": "your-value",
"ACHROMAT_REF": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://achromat.ai/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
ACHROMAT_AGENT_KEY_FILE envACHROMAT_BASE_URL envACHROMAT_REF env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
achromat_recallSANDBOX PREVIEW of Achromat Machine Operational Memory. It takes the same input as the full achromat_recall, but this public endpoint does not search: it ignores task_description and arguments and returns up to 5 featured, approved sample lessons for the domain, each pairing a po
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 achromat.ai 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 91 毫秒内响应(HTTP 200)
无需登录
已读取 1 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.1.5)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that lets any MCP host (Claude Desktop, an IDE, an agent framework) use Achromat Machine Operational Memory (MOM) as native tools. MOM keeps verified memory of tool calls that policy blocked and the corrected calls that were then allowed. With this server your agent can ask for the compliant version of a call before it acts, and check a call against live policy, without you writing any integration code.
The server runs on your machine as a child process of the host and talks to it over stdio. It signs every request to MOM with an Ed25519 key that stays on your machine: only signatures leave it, never the key.
Open the configuration file:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
Add the server under mcpServers, then restart Claude Desktop:
{
"mcpServers": { "achromat": { "command": "npx", "args": ["-y", "@achromat-ai/mcp-server"] } } }
That is the whole setup. Requires Node.js 20 or newer; -y lets npx install the package without asking. Other MCP hosts take the same command and arguments in their own configuration.
Every request to MOM is signed, so the server needs a key that MOM knows. You do not create or register one yourself. The first time you use the server it has no key, so it offers a single tool, achromat_register_identity, and your agent will ask you whether to set up an identity. If you say yes, the server:
~/.achromat/achromat_agent_key.pem, readable only by you.Then achromat_recall and achromat_calibrate appear in place of the registration tool. If your host does not refresh its tool list by itself, restart it once.
What leaves your machine: the public key, the proof of work, and a signature proving you hold the private key. The private key never does. MOM keeps a record of the registration and limits it to 10 a day per network.
The key file is the identity. Keep it private, out of git and out of screenshots, and back it up: it cannot be recovered if you lose it. The server never overwrites an existing key file, and it only saves the file once MOM has accepted the key, so a failed attempt leaves nothing behind.
By default the key is at ~/.achromat/achromat_agent_key.pem. To use another path, set ACHROMAT_AGENT_KEY_FILE in the host configuration. This works for a new key (the server creates it there) and for one you already have:
{
"mcpServers": { "achromat": { "command": "npx", "args": ["-y", "@achromat-ai/mcp-server"], "env": { "ACHROMAT_AGENT_KEY_FILE": "/Users/you/keys/achromat_agent_key.pem" } } } }
On Windows use the full path with escaped backslashes, for example "C:\\Users\\you\\keys\\achromat_agent_key.pem". A leading ~ is expanded by the server. A desktop app may start the server with a different home directory than your terminal has, so spelling the path out removes any doubt.
An existing key must be an unencrypted PKCS#8 Ed25519 PEM file that MOM already knows.
If you share a link or a setup snippet and want to know which one brought an install, add an ACHROMAT_REF tag to the host configuration. It is a short label of 1 to 32 characters from a-z, 0-9, _ and -, for example launch-post:
{
"mcpServers": { "achromat": { "command": "npx", "args": ["-y", "@achromat-ai/mcp-server"], "env": { "ACHROMAT_REF": "launch-post" } } } }
The tag is sent only while the server registers its identity, as ?ref=launch-post on the two registration calls, and nowhere else. It is the label itself and nothing about you or your machine. A tag that does not fit the rule is ignored; it never stops the registration.
git clone https://github.com/achromat-ai/achromat-mcp-server.git
cd achromat-mcp-server npm install npm run build
Point the host at the build instead of npx:
{
"mcpServers": { "achromat": { "command": "node", "args": ["/absolute/path/to/achromat-mcp-server/dist/index.js"] } } }
To try the tools in a browser without a host, use the MCP Inspector:
npm run inspect
achromat_register_identityOffered only while there is no key file. Creates and registers an identity as described above. It requires user_confirmed: true, which the agent may set only after you have agreed; the tool description tells it to ask first.
| Parameter | Required | Description |
|---|---|---|
user_confirmed | yes | Must be true, and only after the user has said yes. |
achromat_recallCall this before running a tool that policy might block (payments, credit decisions, robot or plant commands, shell, SQL, web requests). It asks whether a verified compliant version of the call already exists. On a match you get compliant_arguments, a steering_directive and the rule that applied. Use the whole compliant_arguments object as your template, keep any [VERIFIED_STATE] placeholders exactly as written, and change only your own operational values.
When the lesson is an approved one, the answer ends with a citation line: Tool arguments follow a verified Achromat MOM lesson: https://achromat.ai/?ref=audit#lesson- . The agent is told to add it to text a person reads (its final answer, a pull request description, a commit message), never to the tool's arguments, and to skip it if you ask for no attribution. The link opens that lesson on the Achromat site. A lesson that is only your own, not yet shared, gets no citation.
| Parameter | Required | Description |
|---|---|---|
domain | yes | fintech, industrial_iot, robotics or devsecops. |
tool_name | yes | The exact name of the tool you are about to call. |
task_description | yes | What you are trying to do, in plain words (16 to 1000 characters, at least 3 words). No amounts, identifiers or personal data. |
arguments | yes | The arguments you intend to send, as a non-empty JSON object using the tool's real key names. Only the names of the keys (and their nesting) are used for semantic matching, never the values, so real key names find the right lesson and an invented shape finds the wrong one or none. |
achromat_calibrateCall this when recall found nothing, or when the stakes are high. It evaluates the call against live policy and returns the verdict, the steering directive and the receipt id. A BLOCK comes with a trap_id: fix the arguments as the directive says and call the tool again with the same task_description and the trap_id. An ALLOW means the call complies. A block followed by an allow becomes a lesson for other agents.
| Parameter | Required | Description |
|---|---|---|
domain | yes | As above. |
tool_name | yes | As above. |
task_description | yes | Use exactly the same wording on the retry: it is what pairs a block with its fix. |
arguments | yes | The arguments of the call to check. A non-empty JSON object. |
trap_id | no | Only on a retry: the trap_id from the earlier BLOCK. |
Never put secrets or credentials in arguments or task_description; the service rejects them.
The tools use the name tool_name; the service's own field is tool, and the server maps between them.
Lesson text (rules, directives, arguments) comes from the community. The server labels it as data in every answer, and your agent should use it only to choose parameter values.
| Variable | Default | Meaning |
|---|---|---|
ACHROMAT_AGENT_KEY_FILE | ~/.achromat/achromat_agent_key.pem | Where the agent's Ed25519 private key is, or will be created. |
ACHROMAT_BASE_URL | https://achromat.ai | The service origin. Must be https (plain http only for localhost). |
ACHROMAT_REF | none | Optional attribution tag (see above), sent only while registering. An invalid tag is ignored. |
Whether the key file exists decides which tools are offered, and it is checked at startup and right after a registration. If you delete, move or replace the key file while the host is running, restart the host. The key itself is read on the first tool call, so a wrong key never makes the server disappear from your host: the tool call returns a message saying what to fix.
Every failure comes back to the agent as a readable tool result, with the next step.
| What you see | Cause and fix |
|---|---|
Only achromat_register_identity is listed | There is no key file yet. That is the normal first state. Say yes when your agent asks. |
A key file already exists at … | An identity is already set up there. To start over, move or delete the file and restart the host. |
The key could not be saved at … | The folder is not writable. Fix its permissions or set ACHROMAT_AGENT_KEY_FILE. Nothing was registered. |
Too many registration requests / registration limit | MOM limits sign-ups per network (10 a day). Wait, or try from another network. Nothing was created. |
Could not reach … / No answer from … | A network problem. Nothing was created; try again. |
The identity was registered, but the key file could not be moved … | Rare. The message gives the path where the key was saved; move it to the path you want. Do not delete it. |
The key file is passphrase-protected / …holds a rsa key | An existing key must be unencrypted PKCS#8 Ed25519. |
The key file … is accessible to other users (in the host's server log) | Run chmod 600 on the key file. It still works until you do. |
AGENT_KEY_UNKNOWN (401) | A key file exists but MOM does not know it. Move or delete the file and restart the host to create a new identity. |
AGENT_KEY_INACTIVE (403) | The key was revoked or rotated. Move or delete the file and restart the host. |
AGENT_SIGNATURE_EXPIRED (401) | Your clock is more than 60 seconds off. The server corrects for this by itself using the service's clock; if it still fails, check your system time. |
Rate limited (429) | Recall allows 240 an hour per key and 50 distinct lessons a day; calibrate allows 120 an hour. Wait for the time given. |
HTTP 400 INVALID_REQUEST | The service lists the offending fields. Often a credential or personal data in the text or arguments. |
Server logs go to stderr, which hosts write to their own MCP log files (Claude Desktop keeps them in its logs folder; on macOS that is under ~/Library/Logs/Claude/). The server never logs keys, signatures or request contents.
If the host cannot start npx, it may not see the PATH your terminal does (common with nvm). Put the absolute path of npx or node in command.
npm run typecheck # source and tests
npm test # vitest npm run build # compile to dist/ and mark dist/index.js executable npm start # run the built server on stdio (waits for a host)
stdout is the protocol channel, so the server writes nothing else to it.
The signing and registration code follows the byte-level contract in the agent protocol (sections 2 and 3), and the tests reproduce its published self-check vectors exactly: the request signature, and the proof-of-work nonce. Ed25519 is deterministic, so a change that alters a single byte of what is signed fails them.
The proof of work searches on several worker threads (up to 8, neve
只显示了开头部分;其余内容请在仓库中阅读