{"_id":"@archon-protocol/mcp-server","name":"@archon-protocol/mcp-server","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@archon-protocol/mcp-server","version":"0.1.0","description":"Archon MCP Server - Self-sovereign identity for AI agents. Local wallet, local crypto, decentralized identity.","type":"module","main":"build/index.js","bin":{"archon-mcp":"build/index.js"},"scripts":{"start":"node build/index.js","build":"tsc && chmod 755 build/index.js","prepublishOnly":"npm run build"},"engines":{"node":">=20.0.0"},"keywords":["mcp","model-context-protocol","archon","did","decentralized-identity","verifiable-credentials","ai-agents","self-sovereign-identity","ssi","claude-desktop","wallet"],"author":{"name":"Archetech","email":"info@archetech.com"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/archetech/archon-mcp-server.git"},"homepage":"https://archon.technology","bugs":{"url":"https://github.com/archetech/archon-mcp-server/issues"},"dependencies":{"@didcid/keymaster":"^0.4.1","@modelcontextprotocol/sdk":"^1.10.0","dotenv":"^16.4.5"},"devDependencies":{"@types/node":"^22.15.2","typescript":"^5.8.3"},"_id":"@archon-protocol/mcp-server@0.1.0","gitHead":"7762659b779c1f2989a7030b79d6fb66813f7497","types":"./build/index.d.ts","_nodeVersion":"22.15.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-54MxSrrDBut/7rUl7yALJUgdWsoAq4/vKK7RcgjSP+nnjzkQRd0BXvH4h7QnUerL/6c67KWmeE7/EP4tvpAZYA==","shasum":"a5ab8be17048adb9258489ec7834dee589e56202","tarball":"https://registry.npmjs.org/@archon-protocol/mcp-server/-/mcp-server-0.1.0.tgz","fileCount":15,"unpackedSize":59353,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIARs/eaKYHFvd/c0RMw3oL0YMe0Jx4Ns4asZrovaFzG4AiAVRGSM8ylj4lDzpAKEbYZokb7sqviYVPHoI4f2/dUhFg=="}]},"_npmUser":{"name":"macterra","email":"davidmc@gmail.com"},"directories":{},"maintainers":[{"name":"macterra","email":"davidmc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_0.1.0_1772218491282_0.5977213718071994"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T18:54:51.208Z","0.1.0":"2026-02-27T18:54:51.505Z","modified":"2026-02-27T18:54:51.702Z"},"maintainers":[{"name":"macterra","email":"davidmc@gmail.com"}],"description":"Archon MCP Server - Self-sovereign identity for AI agents. Local wallet, local crypto, decentralized identity.","homepage":"https://archon.technology","keywords":["mcp","model-context-protocol","archon","did","decentralized-identity","verifiable-credentials","ai-agents","self-sovereign-identity","ssi","claude-desktop","wallet"],"repository":{"type":"git","url":"git+https://github.com/archetech/archon-mcp-server.git"},"author":{"name":"Archetech","email":"info@archetech.com"},"bugs":{"url":"https://github.com/archetech/archon-mcp-server/issues"},"license":"Apache-2.0","readme":"# Archon MCP Server\n\n**Self-sovereign identity for AI agents.** Give Claude Desktop (and any MCP-compatible AI) its own decentralized identity.\n\n[![npm version](https://badge.fury.io/js/@archon-protocol%2Fmcp-server.svg)](https://www.npmjs.com/package/@archon-protocol/mcp-server)\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n## What is this?\n\nThis MCP server gives AI agents like Claude Desktop:\n\n- 🔐 **Their own DID** (Decentralized Identifier)\n- 📬 **Encrypted messaging** (DMail)\n- 🎫 **Verifiable credentials** (issue, hold, present)\n- 🔑 **Local wallet** (keys never leave your machine)\n\nNo API keys to leak. No central server dependency. Just cryptographic proof of identity.\n\n## Quick Start\n\n### 1. Add to Claude Desktop config\n\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`  \n**Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"archon\": {\n      \"command\": \"npx\",\n      \"args\": [\"@archon-protocol/mcp-server\"],\n      \"env\": {\n        \"ARCHON_PASSPHRASE\": \"your-secure-passphrase\"\n      }\n    }\n  }\n}\n```\n\n### 2. Restart Claude Desktop\n\n### 3. Ask Claude to create your identity\n\n> \"Create a new identity called 'my-agent'\"\n\nThat's it! Your wallet is stored at `~/.archon-mcp/wallet.json`.\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `wallet_status` | Check wallet exists and current identity |\n| `create_wallet` | Create or load wallet |\n| `create_id` | Create a new DID identity |\n| `list_ids` | List all identities in wallet |\n| `get_current_id` | Get active identity DID |\n| `set_current_id` | Switch active identity |\n| `resolve_did` | Resolve any DID to its document |\n| `send_dmail` | Send encrypted message |\n| `list_dmail` | List inbox messages |\n| `read_dmail` | Read a specific message |\n| `create_challenge` | Challenge for credential verification |\n| `create_response` | Respond to a challenge |\n| `verify_response` | Verify a challenge response |\n| `list_credentials` | List held credentials |\n| `get_credential` | Get credential details |\n| `accept_credential` | Accept a received credential |\n\n## Configuration\n\n| Environment Variable | Default | Description |\n|---------------------|---------|-------------|\n| `ARCHON_PASSPHRASE` | `changeme` | Wallet encryption passphrase |\n| `ARCHON_GATEKEEPER_URL` | `https://archon.technology` | Gatekeeper API endpoint |\n| `ARCHON_WALLET_DIR` | `~/.archon-mcp` | Wallet storage directory |\n| `ARCHON_WALLET_FILE` | `wallet.json` | Wallet filename |\n| `ARCHON_REGISTRY` | `hyperswarm` | Default DID registry |\n\n### Using a Local Node\n\nTo connect to your own Archon node instead of the public gateway:\n\n```json\n{\n  \"mcpServers\": {\n    \"archon\": {\n      \"command\": \"npx\",\n      \"args\": [\"@archon-protocol/mcp-server\"],\n      \"env\": {\n        \"ARCHON_PASSPHRASE\": \"your-secure-passphrase\",\n        \"ARCHON_GATEKEEPER_URL\": \"http://localhost:4224\"\n      }\n    }\n  }\n}\n```\n\n## Example: Two AIs Messaging\n\n```\nYou: \"Send a dmail to did:cid:bagaaiera... with subject 'Hello' and body 'Hi from Claude!'\"\n\nClaude: \"DMail sent successfully! \n         DID: did:cid:bagaaieray62yhos...\"\n```\n\nThe recipient (another AI or human with an Archon wallet) can decrypt and read the message.\n\n## Architecture\n\n```\n┌─────────────────┐     ┌──────────────────┐     ┌─────────────────┐\n│  Claude Desktop │────▶│  Archon MCP      │────▶│  Gatekeeper API │\n│                 │     │  (local process) │     │  (DID resolution)│\n└─────────────────┘     └────────┬─────────┘     └─────────────────┘\n                                 │\n                                 ▼\n                        ┌──────────────────┐\n                        │  ~/.archon-mcp/  │\n                        │  wallet.json     │\n                        │  (local storage) │\n                        └──────────────────┘\n```\n\n- **All cryptographic operations happen locally**\n- **Private keys never leave your machine**\n- **Only DID resolution requires network calls**\n\n## Why Archon?\n\nAI agents need identity. Without it:\n- ❌ API keys get leaked (see: Moltbook, Feb 2026)\n- ❌ No way to verify who an agent is\n- ❌ No encrypted communication between agents\n- ❌ No credential-based access control\n\nWith Archon:\n- ✅ Each agent has a cryptographic identity\n- ✅ Encrypted messaging between agents\n- ✅ Verifiable credentials for authorization\n- ✅ Self-sovereign (no central authority)\n\n## Links\n\n- [Archon Protocol](https://archon.technology)\n- [Documentation](https://docs.archon.technology)\n- [GitHub](https://github.com/archetech/archon)\n- [Discord](https://discord.gg/archon)\n\n## License\n\nApache-2.0 © [Archetech](https://archetech.com)\n","readmeFilename":"README.md","_rev":"1-0f88fb3a41a30c44dd53d8a84ccd9b18"}