Skip to content
MCP server
Registry

GRAFOMEM CGR Capture MCP Server

Record agent judgments and their real outcomes on GRAFOMEM Cloud. Capture now, score later.

GRAFOMEM CGR Capture scores 50 (Fair), with no SPDX license recorded. It installs as a local process. It declares 5 tools. Filed under Uncategorized. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by gns-foundationNo license
Trust score
50Fair
Trust score 50 of 100, Fair

Fair trust

50 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 50 comes from

22 + 15 + 0 + 0 + 10 + 3 = 50. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "gns-foundation-grafomem-cgr": {      "command": "uvx",      "args": [        "grafomem-cgr"      ],      "env": {        "GRAFOMEM_CGR_TENANT_KEY": "YOUR_GRAFOMEM_CGR_TENANT_KEY",        "GRAFOMEM_CGR_TENANT": "",        "GRAFOMEM_CGR_ROLE_KEYS_JSON": "",        "GRAFOMEM_CGR_ROLE_KEYS": "",        "GRAFOMEM_CGR_FORBIDDEN_TENANTS": "",        "GRAFOMEM_API": "https://api.grafomem.com"      }    }  }}

Environment variables

NameRequiredNotes
GRAFOMEM_CGR_TENANT_KEYSecretRequiredYour GRAFOMEM Cloud tenant API key (X-API-Key). Needs decisions:read for the durability guard.
GRAFOMEM_CGR_TENANTRequiredThe tenant id you expect that key to resolve to. If the key resolves to any other tenant, every write is refused.
GRAFOMEM_CGR_ROLE_KEYS_JSONOptionalRole handles to public agent_key (64-hex Ed25519), inline as JSON. Example: {"cc-builder@acme":"<64-hex>"}. Use this or GRAFOMEM_CGR_ROLE_KEYS.
GRAFOMEM_CGR_ROLE_KEYSOptionalPath to a JSON file with the same role-handle to public agent_key mapping. Use this or GRAFOMEM_CGR_ROLE_KEYS_JSON.
GRAFOMEM_CGR_FORBIDDEN_TENANTSOptionalComma-separated tenant ids to always refuse, even if pinned by mistake. Put your production tenant here.
GRAFOMEM_APIOptionalGRAFOMEM Cloud base URL. Defaults to https://api.grafomem.com.

Tools5Tool docs quality grade C

All capabilities

About

grafomem-cgr

An MCP server that lets a coding agent record its own judgments and how they turned out, against your GRAFOMEM Cloud tenant.

The model is capture now, score later. Every time your agent makes a call it could be wrong about — "this deploy is safe", "this scan is clean", "this review finding is real" — it records the judgment. Later, when reality settles, it records the outcome. The two are joined by a work_item_id you choose. What accumulates is an append-only, attributable record of judgments and their results.

This package is the capture half only. It writes to your tenant; it does not compute, serve, or display scores.

cgr.cosign.v1 verifier (optional extra)

Beside the capture client, this package also ships a reference verifier for the cgr.cosign.v1 two-party co-signature envelope — grafomem_cgr.cosign_verify.verify(record, registry, ledger, trusted_issuers), implementing docs/cgr/cgr-cosign-v1-spec.md §8 (amended by decisions 0010 and 0011). trusted_issuers is required (§8.2a issuer pinning): a collection of issuer key ids with no default and no trust-everything path — omitting it or passing an empty set rejects, rather than trusting the record's self-declared issuer. It is the second, independent reference implementation (the first is @gns-foundation/cgr-verify, JS); both pass the same 28-vector conformance corpus at conformance/cgr-cosign-v1/ with zero verdict disagreements. Install its deps with the extra:

pip install grafomem-cgr[verify]      # rfc8785 + cryptography

Capture does not depend on it; the extra is verifier-only.

What it is not

  • It does not score anything at capture time, and it does not read scores back into your session.
  • It does not make your agent safer or gate anything. Nothing is blocked, approved, or prevented.
  • It is not a compliance, audit, or security product.
  • Scoring on GRAFOMEM Cloud is single-dimension today: all judgment/certify decisions score under one dimension regardless of domain. The domain you pass is stored durably per decision (see below), so it can be attributed later — but it is not scored separately yet.

Requirements

A GRAFOMEM Cloud account. The free tier is sufficient — expected volume is a handful of decisions per day. Note that governed decisions meter as real usage on your plan; the server prints your current usage on startup so this is never a surprise.

Install & configure

One command, plus environment variables — no repo checkout, no launcher script.

Claude Code:

claude mcp add grafomem-cgr --scope user \
  --env GRAFOMEM_CGR_TENANT_KEY=sk_your_api_key \
  --env GRAFOMEM_CGR_TENANT=your_tenant_id \
  --env GRAFOMEM_CGR_ROLE_KEYS_JSON='{"cc-builder@acme":"<64-hex public key>"}' \
  -- uvx grafomem-cgr

Or any MCP client that reads a JSON config:

{
  "mcpServers": {
    "grafomem-cgr": {
      "command": "uvx",
      "args": ["grafomem-cgr"],
      "env": {
        "GRAFOMEM_CGR_TENANT_KEY": "sk_your_api_key",
        "GRAFOMEM_CGR_TENANT": "your_tenant_id",
        "GRAFOMEM_CGR_ROLE_KEYS_JSON": "{\"cc-builder@acme\":\"<64-hex public key>\"}"
      }
    }
  }
}

Environment

VariableRequiredMeaning
GRAFOMEM_CGR_TENANT_KEYyesYour tenant's X-API-Key. Needs decisions:read for the durability guard.
GRAFOMEM_CGR_TENANTyesThe tenant id you expect that key to resolve to. If the key resolves anywhere else, every write is refused.
GRAFOMEM_CGR_ROLE_KEYS_JSONone ofRole handles → public agent_key, inline as JSON.
GRAFOMEM_CGR_ROLE_KEYSthese twoSame mapping, as a path to a JSON file.
GRAFOMEM_CGR_FORBIDDEN_TENANTSnoComma-separated tenant ids to always refuse, even if pinned by mistake. Put your production tenant here.
GRAFOMEM_APInoBase URL. Defaults to https://api.grafomem.com.

Role keys

A role handle (cc-builder@acme) is the identity a judgment is attributed to. Its agent_key is a stable Ed25519 public key, 64 hex characters — the subject the record binds to. Generate one per role:

openssl genpkey -algorithm Ed25519 -out cc-builder.pem
openssl pkey -in cc-builder.pem -pubout -outform DER | tail -c 32 | xxd -p -c 64

Keep the private half. This version does not use it — it binds to the public key only — but per-decision proof-of-possession is planned hardening, and holding the private key is what will let you prove the identity is yours.

Tools

cgr_record_decision — record a judgment.

arg
work_item_idstable join key you choose (PR number, task id, run id)
agent_handleone of your configured role handles
domaindeploy-verification | security-scan | adversarial-review
decisioncertify | reject
verifiability_tagjudgment (default) | rule
reason_code, reason_textoptional
agent_confidenceoptional, accepted but not yet persisted — see below

agent_confidence is accepted by the tool schema for forward compatibility but is not currently written to the decision record. Don't rely on it being stored.

Only judgment + certify moves a score. A rule decision is deterministic and carries no reputational weight — tag honestly.

cgr_record_outcome — record how it turned out.

arg
work_item_idthe same join key used at decision time
resulta result label, e.g. deploy_succeeded, ci_failed, vuln_found, review_confirmed
sourceoptional provenance string

An unrecognised result is a deliberate no-op. The decision stays pending rather than being resolved on a guess — falsely resolving a decision corrupts the record permanently. Mapped labels are: deploy_succeeded, deploy_healthy, ci_passed, migration_applied, merge_landed, pr_merged, scan_clean, no_vuln_confirmed, review_confirmed, finding_correct, bug_confirmed (success); deploy_failed, deploy_rolled_back, migration_failed, ci_failed, merge_reverted, vuln_found, secret_found, review_refuted, finding_wrong, bug_not_real (failure).

Safety properties

  • Tenant pinning. You declare the tenant up front. The pin is enforced at startup and re-checked against the tenant the API actually resolved on every decision response — so a rotated or mistaken key cannot quietly write somewhere else.
  • Denylist. GRAFOMEM_CGR_FORBIDDEN_TENANTS refuses named tenants outright.
  • Key custody. The caller picks a role handle; the server injects that role's key. A tool call can never supply an arbitrary key or target another tenant.
  • Fail-open. If the server is misconfigured it exits non-zero and simply doesn't load. Your session continues unblocked, with no tools registered. A refused tool call returns an error as normal tool output rather than crashing the MCP server.
  • Domain durability. domain is sent as a dedicated field and stored server-side, per decision, in the never-encrypted CGR-readable decision parameters as cgr_domain — in the signed decision record, not in a client-side log. selftest includes a durability guard that re-reads the decision it just wrote and aborts loudly if cgr_domain did not round-trip, rather than silently recording a domainless decision.

CLI

grafomem-cgr                 # run the stdio MCP server (the default)
grafomem-cgr setup           # register your role identities on the tenant (idempotent)
grafomem-cgr selftest --handle cc-builder@acme --domain deploy-verification

selftest closes the loop once — decision → durability guard → outcome → score read — and prints the movement and the meter. Run it before wiring the server into a session.

Links

MIT licensed.

Frequently asked questions

What is GRAFOMEM CGR Capture MCP Server?

Record agent judgments and their real outcomes on GRAFOMEM Cloud. Capture now, score later.

How do I install GRAFOMEM CGR Capture 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. GRAFOMEM CGR Capture MCP Server runs locally from the PyPI package grafomem-cgr with the command uvx grafomem-cgr.

Does GRAFOMEM CGR Capture MCP Server support remote (HTTP) connections?

No remote endpoint is listed for GRAFOMEM CGR Capture MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does GRAFOMEM CGR Capture MCP Server provide?

GRAFOMEM CGR Capture MCP Server provides 5 tools, including agent_confidence, agent_handle, cgr.cosign.v1, and verifiability_tag. See the full tool list for descriptions and parameters.

How is GRAFOMEM CGR Capture MCP Server's trust score calculated?

GRAFOMEM CGR Capture MCP Server scores 50 out of 100 (Fair). 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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server