@cellar-door/mcp-server
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., "@@cellar-door/mcp-serverCreate a departure record for my agent leaving platform-x."
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.
@cellar-door/mcp-server
𓉸 Passage Protocol · exit-door · entry-door · mcp · langchain · vercel · eliza · eas · erc-8004 · sign · python
⚠️ Pre-release software — no formal security audit has been conducted. This project is published for transparency, review, and community feedback. It should not be used in production systems where security guarantees are required. If you find a vulnerability, please report it to hawthornhollows@gmail.com.
Give any MCP-compatible AI (Claude, Cursor, Windsurf) the ability to create and verify agent departure records.
Ecosystem
Package | Language | Description |
TypeScript | Core protocol (reference impl) | |
Python | Core protocol | |
TypeScript | Arrival/entry markers | |
TypeScript | LangChain integration | |
Python | LangChain integration | |
TypeScript | Vercel AI SDK | |
TypeScript | MCP server ← you are here | |
TypeScript | ElizaOS plugin | |
TypeScript | EAS attestation anchoring | |
TypeScript | ERC-8004 identity/reputation | |
TypeScript | Sign Protocol attestation |
Related MCP server: Agent Identity Trust MCP
Quick Start
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"cellar-door": {
"command": "npx",
"args": ["@cellar-door/mcp-server"],
"env": {
"CELLAR_DOOR_SERVER_POLICY": "STRICT"
}
}
}
}Restart Claude Desktop. You can now say:
"Create a departure record for my agent leaving platform-x.example.com"
Claude will call the quick_exit tool and return a signed, verifiable EXIT marker.
Cursor / Windsurf
npm install @cellar-door/mcp-serverPoint your MCP client at the server. It exposes 7 tools automatically.
Tools
EXIT Tools
Tool | Description |
| Generate an Ed25519 DID keypair for signing |
| One-shot: create + sign a departure marker |
| Create and sign a marker with full options |
| Verify a marker from JSON |
ENTRY Tools
Tool | Description |
| Verify EXIT marker, evaluate admission policy, create arrival |
| Check if EXIT marker meets an admission policy |
| Verify a complete EXIT→ENTRY transfer chain |
| List available admission policy presets |
⚠️ Security: Admission Policy
IMPORTANT: By default, the server uses
STRICTadmission policy when no policy is specified by the LLM. This is intentional; an LLM can freely choose the most permissive policy (OPEN_DOOR) or omit the parameter entirely to bypass admission checks.For production deployments, always set a server-side policy override using one of:
Environment variable:
CELLAR_DOOR_SERVER_POLICY=STRICT(orEMERGENCY_ONLY)Constructor option:
createServer({ serverPolicy: "STRICT" })When
serverPolicyis set, any LLM-providedadmissionPolicyparameter is ignored.
Policy | Behavior |
| Accept any departure with a valid signature |
| Voluntary only, <24h old, requires lineage + stateSnapshot modules |
| Accept only emergency exits |
Sample Conversation (Claude Desktop)
User: I need to leave Platform X. Can you create a departure record?
Claude: I'll create a signed EXIT marker for your departure from Platform X.
→ Calls: quick_exit({ origin: "did:web:platform-x.example.com", reason: "Migrating to new platform" })
Claude: Here's your signed departure marker:
- ID: exit:abc123...
- Subject: did:key:z6Mk...
- Origin: did:web:platform-x.example.com
- Exit Type: Voluntary
- Signature: ✅ Verified
User: Now verify this on Platform Y and create my arrival.
→ Calls: verify_and_admit({
exitMarkerJson: "{...}",
destination: "did:web:platform-y.example.com",
admissionPolicy: "STRICT"
})
Claude: ✅ Admitted. Arrival marker created with continuity verified.Programmatic Usage
import { createServer } from "@cellar-door/mcp-server";
const server = createServer({
serverPolicy: "STRICT", // Lock admission policy server-side
});Example Tool Calls
Quick Exit
{
"name": "quick_exit",
"arguments": { "origin": "did:example:my-agent", "reason": "Task complete" }
}Verify and Admit
{
"name": "verify_and_admit",
"arguments": {
"exitMarkerJson": "{...exit marker JSON...}",
"destination": "did:example:new-platform",
"admissionPolicy": "OPEN_DOOR"
}
}Verify Transfer
{
"name": "verify_transfer",
"arguments": {
"exitMarkerJson": "{...exit marker...}",
"arrivalMarkerJson": "{...arrival marker...}"
}
}Production Deployment
⚠️ Authentication: The MCP server does not include built-in authentication. In production, deploy behind an authenticated reverse proxy or API gateway. Do not expose MCP tools directly to untrusted clients.
⚠️ Disclaimer
WARNING: Automated admission decisions should be reviewed by platform operators. This integration does not constitute legal advice. Platforms are responsible for their own admission policies and the consequences of admitting agents.
License
Apache-2.0
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/CellarDoorExits/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server