@agledger/mcp-server
OfficialThis MCP server connects AI agents to the AGLedger self-hosted notary API, enabling change control, notarization, and auditable chains for agent actions through notarized records, completions, and offline verification.
Discover the API (
agledger_discover): Get API health, your identity, available permission scopes, and a guided quickstart workflow — ideal as a first call to orient the agent.Interact with the API (
agledger_api): Make any AGLedger REST API call (GET, POST, PUT, PATCH, DELETE). This universal pass-through tool lets you list record schemas, fetch schema details, create structured records (commitments with acceptance criteria), submit completions (evidence of work), retrieve audit exports, and more. API responses includenextStepsfor workflow discovery andsuggestionfields on errors for self-correction without human intervention.Verify Audit Exports Offline (
agledger_verify): Cryptographically verify audit exports with no network calls. Decodes and validates COSE_Sign1 envelopes (RFC 9052), walks and verifies the hash chain for tamper evidence, verifies Ed25519 or ES256 signatures, supports out-of-band public keys for independent audit, enforces specific key IDs, and provides precise failure diagnostics with canonical error codes (e.g.,CHAIN_HASH_MISMATCH,CHAIN_SIGNATURE_INVALID) and abrokenAtpointer to the first failing entry.Resources: Agent-oriented documentation (
agledger://llms.txt) and the full OpenAPI 3.0 specification (agledger://openapi) are available directly from the server.Configuration: Requires
--api-keyand--api-urlflags (or corresponding environment variables); the server exits with code 2 on misconfiguration.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@agledger/mcp-serverdiscover available record types and create a new record for a software deployment"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@agledger/mcp-server
The official MCP server for the AGLedger API: change control for AI agents. A self-hosted notary that records every change an agent makes, signed and hash-chained, and gates the ones that matter.
Connects any MCP-compatible AI agent (Claude, Cursor, Windsurf, etc.) to the AGLedger API with 2 universal API-pass-through tools plus an offline audit verifier. No SDK code required. Just point your agent at this server.
Learn more
agledger.ai: what AGLedger is and who needs it
How it works walks the lifecycle: record, completion, verdict
Glossary: canonical definitions of Record, Completion, SCITT Receipt, Verdict, Settlement Signal
MCP Server guide: installation and agent workflow
Install
npm install -g @agledger/mcp-serverRelated MCP server: VaultMind
Quick Start
Add to your MCP client configuration (e.g. claude_desktop_config.json):
{
"mcpServers": {
"agledger": {
"command": "agledger-mcp",
"args": [
"--api-key", "your-api-key",
"--api-url", "https://your-agledger-instance"
]
}
}
}Both flags are required. AGLedger is self-hosted, so there is no default server
to call: without --api-url the server exits before it accepts a connection.
Or run directly:
agledger-mcp --api-key <key> --api-url <url>Exit codes: 0 clean, 1 runtime failure, 2 usage or configuration error
(missing flag, unknown flag), so a launcher can tell a misconfiguration from a
crash.
Tools
Tool | Description |
| Returns API health, your identity, available scopes, and a quickstart workflow. Call this first. |
| Make any AGLedger API call (method, path, params). The API returns |
| Verify a record audit export offline (COSE_Sign1 envelopes per RFC 9052, hash chain + envelope signatures, Ed25519 or ES256). No network calls. Returns |
Resources
Both are fetched live from the running instance, so neither can go stale.
Resource | Description |
| The API's agent-oriented documentation narrative (the llms.txt convention): what the product does, the vocabulary, and how records, completions, gates and webhooks fit together. Read this first if you are new to the API. |
| The OpenAPI 3.0 specification, for exact routes and request/response shapes. |
Agent workflow
The agledger_discover tool returns a quickstart workflow that guides agents through the accountability flow:
GET /v1/schemas-- list available Record typesGET /v1/schemas/{type}-- get required fields and examplesPOST /v1/records-- create a recordPOST /v1/records/{id}/completions-- submit a completion (evidence) when done
Every API error response includes a suggestion field with actionable recovery guidance -- agents can self-correct without human intervention.
Configuration
Flag | Env Var | Description |
|
| AGLedger API key (required) |
|
| API base URL of your instance (required). AGLedger is self-hosted, so there is no default; the server refuses to start without it. |
What is AGLedger?
AGLedger is the accountability layer for automated operations. It notarizes what was agreed to, by whom, and when, and tracks the delegation of that agreement through other systems.
Records -- structured commitments with acceptance criteria and tolerance bands
Completions -- performer evidence recording what was reported to be done
Verdicts -- principal accept/reject decisions on a Completion (the Gate), with settlement signals
Audit chain -- notarized records as COSE_Sign1 envelopes, hash-chained, Ed25519-signed, tamper-evident, verifiable offline
Learn more at agledger.ai | API docs
Each self-hosted AGLedger instance also serves interactive Swagger UI at {AGLEDGER_API_URL}/docs.
Requirements
Node.js >= 24
A running self-hosted AGLedger API instance and an API key (see the self-hosted install guide at agledger.ai)
License
Proprietary. See LICENSE.
AGLedger is a trademark of AGLedger LLC, and Settlement Signal is a pending trademark of AGLedger LLC. All other trademarks are the property of their respective owners. Patent pending.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceCryptographic accountability for AI agents. Ed25519-signed receipts for every MCP tool call. Constraints, chains, AI judgment, invoicing, and local dashboard included.24111MIT
- Alicense-qualityBmaintenanceOffline-first MCP proxy with policy engine and immutable audit trail for secure AI coding agents.2MIT
- Alicense-qualityDmaintenanceTurns any web API into a governed, agent-ready MCP server with lockfile-based approval, fail-closed enforcement, and full audit trail.MIT
- AlicenseAqualityAmaintenanceAI-agent observability server whose distinguishing feature is a SHA-256 hash-chained, tamper-evident audit log with chain verification and signed export. Works with Claude Desktop, Cursor, and any MCP client.22217MIT
Related MCP Connectors
Hash-chained HMAC-signed audit log MCP for A2A (agent-to-agent) calls. Every tool-call, agent-ha...
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Bitcoin-anchored, tamper-evident audit log for AI agents — record, disclose and verify actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agledger-ai/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server