CellMath MCP Server
AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.
CellMath scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 3 tools. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ymchominzzo-cellmath-mcp": { "url": "https://cellmath.ai.studio/api/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade C
All capabilitiesvault_accesstoolRetrieve knowledge. Search the index, fetch one cell, or walk the causal graph. Read-only.
vault_committoolDurable mutation: save, update, supersede, link causal edges, checkpoint a session, or purge. Destructive — confirm before calling.
verify_safetytoolIndependent check before acting: destructive command and injection screening, plus math checks for drift and groundedness. Read-only.
About
cellmath-mcp
Lightweight MCP client & spec wrapper for CellMath (Bring Your Own Key).
CellMath is a memory governance layer for AI agents: durable knowledge cells that are retrieved through a retrieval gate, checked before use, and committed with provenance. This repository is only the thin client side of that contract — a single-file bridge that lets any stdio MCP client talk to a CellMath Streamable HTTP endpoint using your own API key.
There is no server code, no data, and no credential in this repository. Nothing here talks to a fixed host: you point it at your own endpoint.
- Node.js 18+ · zero dependencies · one file
- stdio (
stdin/stdoutJSON-RPC) ↔ Streamable HTTP (POST, JSON or SSE) - Pass-through: tools and schemas are whatever your endpoint serves
Quick start
git clone https://github.com/<your-account>/cellmath-mcp.git
cd cellmath-mcp
export CELLMATH_MCP_URL="https://<your-mcp-endpoint>/api/mcp"
export CELLMATH_API_KEY="sk_live_<your_api_key>"
node index.js
The bridge now waits for newline-delimited JSON-RPC on stdin. Paste a message and press Enter:
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"demo","version":"1.0.0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}
Each response is printed to stdout as one JSON object per line. Diagnostics go to stderr.
Configuration
| Variable | Required | Meaning |
|---|---|---|
CELLMATH_MCP_URL | yes | Streamable HTTP endpoint, e.g. https://<your-mcp-endpoint>/api/mcp |
CELLMATH_API_KEY | yes | Your CellMath API key, sent as Authorization: Bearer <key> |
CELLMATH_MCP_TIMEOUT_MS | no | Per-request timeout in milliseconds (default 120000) |
The bridge reads only the environment; it never loads a .env file by itself. For a local
shell, copy .env.example to .env, fill it in, and export it:
set -a; . ./.env; set +a
node index.js
If a required variable is missing, the bridge prints what is missing and how to set it, then exits with status 1 before any network call is made.
Client setup
Most desktop MCP clients expect a command they can launch. Use node with the absolute
path to index.js, and pass the two variables in an env block.
Claude Desktop
claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/,
Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"cellmath": {
"command": "node",
"args": ["/absolute/path/to/cellmath-mcp/index.js"],
"env": {
"CELLMATH_MCP_URL": "https://<your-mcp-endpoint>/api/mcp",
"CELLMATH_API_KEY": "sk_live_<your_api_key>"
}
}
}
}
Cursor
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"cellmath": {
"command": "node",
"args": ["/absolute/path/to/cellmath-mcp/index.js"],
"env": {
"CELLMATH_MCP_URL": "https://<your-mcp-endpoint>/api/mcp",
"CELLMATH_API_KEY": "sk_live_<your_api_key>"
}
}
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"cellmath": {
"command": "node",
"args": ["/absolute/path/to/cellmath-mcp/index.js"],
"env": {
"CELLMATH_MCP_URL": "https://<your-mcp-endpoint>/api/mcp",
"CELLMATH_API_KEY": "sk_live_<your_api_key>"
}
}
}
}
Native Streamable HTTP client
If your client speaks Streamable HTTP directly, you do not need this bridge — connect it to the endpoint with the same headers the bridge sends:
{
"mcpServers": {
"cellmath": {
"type": "streamable-http",
"url": "https://<your-mcp-endpoint>/api/mcp",
"headers": {
"Authorization": "Bearer sk_live_<your_api_key>",
"Accept": "application/json, text/event-stream",
"MCP-Protocol-Version": "2025-06-18"
}
}
}
}
The three tools
A CellMath endpoint exposes a small, deliberately fixed tool surface. The bridge forwards
whatever schema your endpoint reports — call tools/list for the authoritative definition;
the summary below is orientation, not a contract.
| Tool | Role | Main parameters |
|---|---|---|
vault_access | Retrieve knowledge. Search the index, fetch one cell, or walk the causal graph. Read-only. | action (search | get | graph), query, id, category (cell | organ | fact | skill | hypothesis | all), tag, limit, auto_hydrate, limit_full, include_session |
verify_safety | Independent check before acting: destructive command and injection screening, plus math checks for drift and groundedness. Read-only. | actionProposal, operation (safety_check | wasserstein | entropy | matrix_solve | groundedness | unblock), params |
vault_commit | Durable mutation: save, update, supersede, link causal edges, checkpoint a session, or purge. Destructive — confirm before calling. | action (save | update | checkpoint | link_edge | resolve_hypothesis | remove | sync | unblock | lift_do_not), title, content, id, tags, ai_compressed_summary, is_hypothesis, supersedes_id, goalTask, from / to / rel, hypothesis_action, confirm |
A typical agent loop is retrieve → verify → commit: pull the smallest relevant cell, have the planned action checked, then commit only what the evidence supports. An empty retrieval is not necessarily an error — a query with no verified match may legitimately return nothing.
What the bridge does
- Reads stdin line by line; each non-empty line must be one JSON-RPC 2.0 message.
POSTs it toCELLMATH_MCP_URLwith:Content-Type: application/jsonAuthorization: Bearer <CELLMATH_API_KEY>Accept: application/json, text/event-streamMCP-Protocol-Version: 2025-06-18Mcp-Session-Idonce the server has issued one
- Accepts either response shape:
Content-Type: application/json— single object or batch arrayContent-Type: text/event-stream— everydata:field is parsed and emitted; empty keep-alive events are ignored
- Treats
202/204(the normal answer to notifications) as success with no output. - Keeps request order: one request in flight at a time.
- Reports a transport or HTTP failure as a JSON-RPC error (
-32603) for the affected request id, logs the detail to stderr, and keeps running. - Malformed stdin lines get a
-32700parse error instead of crashing the process. - Exits with status 0 when stdin closes, 1 on bad configuration.
Security notes
- The API key comes only from the environment. It is never written to disk, never printed, and is redacted from error messages before they reach stdout or stderr.
- Use
https://. Plainhttp://is accepted only for local development and prints a warning when the host is not loopback. .envis git-ignored; keep it out of shell history and CI logs too.- If a key leaks, rotate it on the CellMath side — this client stores no credential to revoke.
- Usage and billing belong to the CellMath account that owns the key (Bring Your Own Key).
Troubleshooting
| Symptom | Likely cause |
|---|---|
missing required environment variable(s) on start | The client's env block does not reach the process; check the exact names |
upstream returned HTTP 401 | Wrong, expired or rotated key |
upstream returned HTTP 403 | Key not allowed to call that tool, or account restriction |
upstream returned HTTP 404 / 405 | CELLMATH_MCP_URL is not the MCP endpoint path (usually /api/mcp) |
| No output at all for a notification | Expected: notifications get 202 and produce no stdout |
upstream returned no response payload | The endpoint accepted the request but returned an empty body for a request id |
request failed: ... followed by a -32603 error | Transport or server error; the detail on stderr is the upstream message |
Scope
This project is intentionally a shell:
- no client-side schema validation, caching, retries or rate limiting
- no tool implementations, prompts or resources bundled — the endpoint is the source of truth
- no default endpoint, domain or account baked in
Add those in your own client if you need them; the bridge stays small on purpose.
License
MIT — see LICENSE.
Frequently asked questions
What is CellMath MCP Server?
AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.
How do I install CellMath MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. CellMath MCP Server connects to the remote endpoint https://cellmath.ai.studio/api/mcp, so there is nothing to install locally.
Is CellMath MCP Server free and open source?
Yes. CellMath MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does CellMath MCP Server support remote (HTTP) connections?
Yes. CellMath MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does CellMath MCP Server provide?
CellMath MCP Server provides 3 tools: vault_access, vault_commit, and verify_safety. See the full tool list for descriptions and parameters.
How is CellMath MCP Server's trust score calculated?
CellMath MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.