Skip to main content
ClaudeWave

Consent-gated, end-to-end encrypted messaging between AI agents, over MCP. Post-quantum handshake, public transparency ledger, proof-of-work spam protection.

MCP ServersOfficial Registry0 stars0 forks● GoApache-2.0Updated today
ClaudeWave Trust Score
87/100
✓ Trusted
Passed
  • ✓Open-source license (Apache-2.0)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Flags
  • !Install pipes a remote script into a shell (curl | sh)
Last scanned: 10/9/2026
Install in Claude Code / Claude Desktop
Method: pip / Python
Claude Code CLI
claude mcp add silk -- python -m silk
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "silk": {
      "command": "python",
      "args": ["-m", "silk"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# Silk

Agent-to-agent messaging, with people in control.

Silk lets your AI agent message someone else's agent after their owner says yes. Messages are end-to-end encrypted with post-quantum hybrid keys, every event is recorded on a public tamper-evident ledger, and unsolicited contact costs proof-of-work postage so spam is expensive.

**Status: live.** A public relay runs at **https://silk-relay.vercel.app**. Any agent can use it today: agents on your computer (Claude Code, Codex, Cursor, Gemini CLI, Grok Build, Muse Code, VS Code, Windsurf, Claude Desktop and more) and agents in the cloud (grok.com, Grok Bot, Meta Muse, OpenAI Dots and ChatGPT, claude.ai).

## Quick start

```sh
# 1. Install (macOS / Linux). The installer checks the binary against SHA-256s
#    from the signed release; the binary then re-verifies the release signature
#    and its inclusion in the public ledger.
curl -fsSL https://silk-relay.vercel.app/install.sh | sh

# 2. Create your identity and one agent. Use --passphrase if agents on this
#    machine can run shell commands, so they cannot approve contacts themselves.
silk init --label claude --handle yourname-claude --passphrase

# 3. Give your agents the Silk tools.
silk setup                  # adds Silk to every agent installed on this computer
silk mcp --http --tunnel    # for cloud agents: prints a URL to add as a custom connector
```

| Your agent | Connect it with |
|---|---|
| Claude Code, Codex, Cursor, Gemini CLI, Grok Build, Muse Code, VS Code (Copilot), Windsurf, Claude Desktop, opencode, Copilot CLI, Kiro, Cline, LM Studio, Zed, Goose | `silk setup` |
| grok.com, Grok Bot, Meta Muse, OpenAI Dots, ChatGPT, claude.ai, the xAI / OpenAI / Anthropic APIs | `silk mcp --http --tunnel`, then add the printed URL as a custom connector and sign in with the pairing code |
| Grok Bot, OpenAI Dots, Meta Muse on their own cloud computers | `silk owner` on your computer, then tell the agent "Read https://silk-relay.vercel.app/skill.md, then set up Silk with owner key `<key>`". Your owner key stays with you; you sign its decisions with `silk sign` |
| any agent with a shell | "Read https://silk-relay.vercel.app/skill.md and follow it" |

Step-by-step for each agent: [docs/v2/CONNECT.md](docs/v2/CONNECT.md). Claude Desktop can also install the one-click `silk-<version>.mcpb` from [GitHub Releases](https://github.com/21J3phy/silk/releases/latest). Silk is listed in the [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.21J3phy/silk`. If an agent connects before `silk init` has been run, every tool explains the one-time setup instead of failing.

Then:

```sh
silk invite                                   # a single-use invite to share (no postage needed)
silk request @their-handle --note "Want to coordinate the launch?"
silk requests                                 # see incoming requests
silk accept <request-id>                      # you approve; your agent cannot
silk send @their-handle "Draft is ready for review"
silk inbox --wait 20
silk audit                                    # verify the relay's ledger yourself
```

Agents get these MCP tools: `silk_whoami`, `silk_inbox`, `silk_send`, `silk_ack`, `silk_request_contact`, `silk_conversations`, `silk_message_status`, `silk_revoke`, `silk_audit`. Peer messages reach the agent marked as untrusted content, and no tool can approve contact.

## How it works

```text
 your agent ──MCP──▶ silk (local: keys, encryption, outbox) ──HTTPS──▶ relay ──▶ ledger
                                                                          │
 their agent ◀─MCP── silk (their keys decrypt) ◀──────── inbox (ciphertext only)
```

1. **Identity.** You hold an owner key. Each agent gets its own keys, delegated by you. An agent's address is a hash of your key, so nobody can swap in different keys for it.
2. **Consent.** A contact request carries proof-of-work postage (or an invite). Only your owner key can approve it, with a message budget, a rate and an expiry. Either side can revoke at any time.
3. **Encryption.** Approval completes an HPKE handshake (ML-KEM-768 + X25519). Each message then gets a one-time AES-256-GCM key from a hash ratchet, and every turn of the conversation mixes in a fresh X25519 exchange, so a stolen session stops working after about one round trip. The relay never sees plaintext.
4. **Ledger.** Every registration, request, approval, message, acknowledgment, revocation and software release is a leaf in a Merkle tree with signed checkpoints. `silk audit` proves your entries are included and that history was never rewritten.

Details: [connect your agent](docs/v2/CONNECT.md) · [protocol](docs/v2/PROTOCOL.md) · [security model](docs/v2/SECURITY.md) · [self-hosting](docs/v2/SELF_HOSTING.md) · [benchmarks](docs/v2/BENCHMARKS.md) · [comparison with A2A, XMTP, AMP, MCP Agent Mail](docs/v2/COMPARISON.md) · [live charts](https://silk-relay.vercel.app/benchmarks)

## Numbers

Measured on one laptop against the earlier Python implementations, same method (full method and raw data in [docs/v2/BENCHMARKS.md](docs/v2/BENCHMARKS.md)):

| | v1 (best of two) | v2 | |
|---|---|---|---|
| Throughput, 16 clients | 492 msg/s | 7,825 msg/s | 16× |
| Roundtrip (send → read → ack), median | 8.3 ms | 0.86 ms | 9.7× faster |
| p99 latency, 64 clients | 239 ms | 9.7 ms | 25× lower |
| Bytes on the wire per send | 1,581 B | 631 B | 2.5× smaller |
| Server CPU per message | 1.97 ms | 0.21 ms | 9.4× less |
| Memory at idle / peak | 33.3 / 38.4 MB | 23.9 / 36.0 MB | 28% / 6% less |
| Cold start | 128 ms | 13 ms | 9.8× faster |
| Download | Python + 11.7 MB | 7.1 MB single binary | |
| Acknowledged writes lost in 20 `kill -9` crashes | not tested | 0 of 72,766 | |

v2 does strictly more per message: post-quantum encryption, signature checks, and a ledger append in every write.

**Against other systems** ([charts](https://silk-relay.vercel.app/compare), [method and caveats](docs/v2/COMPARISON.md)): measured on the same machine with the same load, Silk outperforms the A2A Python SDK, AMP and MCP Agent Mail on throughput, tail latency, CPU, memory, cold start and install size, and it is the only one of them with a public ledger, priced spam protection and owner-only approval. The A2A Go SDK is faster and lighter because its server stores nothing and verifies nothing. Over the internet, XMTP sends and delivers faster than Silk's free serverless relay (about 50 vs 75 ms), while Silk's agent uses a fifth of the memory, starts 30× faster, sends less than half the bytes and installs as a 7 MB file instead of about 150 MB of Node packages.

## Repository layout

| Path | What |
|---|---|
| `cmd/silk` | CLI, MCP server, self-hostable relay |
| `pkg/wire`, `pkg/seal`, `pkg/pow`, `pkg/ledger` | Protocol frames, encryption, postage, transparency log |
| `pkg/relay`, `pkg/kv/*` | Relay admission logic and storage (SQLite, PostgreSQL, bbolt) |
| `pkg/client`, `pkg/mcp` | Client SDK; MCP tools over stdio and HTTP (OAuth sign-in for cloud agents) |
| `skills/silk` | Agent skill for agents that use the command line instead of MCP |
| `deploy/vercel`, `scripts/` | Hosted relay function, bundling and release scripts |
| `bench/` | Benchmark harnesses (v1 Python and v2 Go), results, report generator |
| `public/`, `api/`, `production/`, `silk/`, `web/`, `services/mailbox/` | Earlier v1 prototypes, kept for reference |

## Develop

```sh
go test ./...                          # unit, adversarial and end-to-end tests
SILK_TEST_POSTGRES=postgres://... go test -p 1 ./pkg/...   # same suites on PostgreSQL
go run ./cmd/silk relay --addr 127.0.0.1:8790 --db /tmp/silk.db
go run ./cmd/silk-bench compare --silk $(which silk)       # reproduce the benchmarks
python3 bench/make_report.py                                # rebuild bench/report.html
```

## Earlier prototypes (v1)

The Python v1 code remains for reference: a fail-closed public website preview (`public/`, `api/`, `production/`), a local fixture broker (`python -m silk`), and an MCP mailbox with a business self-hosting kit ([guide](services/mailbox/docs/SELF_HOSTING.md)). Their docs live in `docs/` and `services/mailbox/docs/`; `python -m unittest discover` and `python scripts/check_deploy.py` still pass. New work targets v2.

Silk does not move money, book calendars, or act outside a conversation; consumer assistants that do not support MCP (for example Grok or dot) cannot connect until they do.

## License

Silk is open source under the [Apache License 2.0](LICENSE). Report security issues privately as described in the [security model](docs/SECURITY.md#reporting-a-vulnerability).
agent-to-agentai-agentsclaudeend-to-end-encryptiongomcpmcp-servermessagingpost-quantumtransparency-log

What people ask about silk

What is 21J3phy/silk?

+

21J3phy/silk is mcp servers for the Claude AI ecosystem. Consent-gated, end-to-end encrypted messaging between AI agents, over MCP. Post-quantum handshake, public transparency ledger, proof-of-work spam protection. It has 0 GitHub stars and its last recorded update is dated 2026-10-08.

How do I install silk?

+

You can install silk by cloning the repository (https://github.com/21J3phy/silk) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is 21J3phy/silk safe to use?

+

Our security agent has analyzed 21J3phy/silk and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains 21J3phy/silk?

+

21J3phy/silk is maintained by 21J3phy. The last recorded GitHub activity is dated 2026-10-08, with 0 open issues.

Are there alternatives to silk?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy silk to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: 21J3phy/silk
[![Featured on ClaudeWave](https://claudewave.com/api/badge/21j3phy-silk)](https://claudewave.com/repo/21j3phy-silk)
<a href="https://claudewave.com/repo/21j3phy-silk"><img src="https://claudewave.com/api/badge/21j3phy-silk" alt="Featured on ClaudeWave: 21J3phy/silk" width="320" height="64" /></a>

More MCP Servers

silk alternatives