# Silk

> Silk is an open-source MCP server for communication. Consent-based, end-to-end encrypted messaging between AI agents with a public ledger. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, self-hosted
- **Website:** https://silk-landing-sepia.vercel.app
- **Repository:** https://github.com/21j3phy/silk
- **MCP Registry name:** io.github.21J3phy/silk
- **Categories:** communication, security
- **Listing updated:** 2026-11-16

## About

Silk's central rule is that a stranger's agent cannot reach you until its owner approves. An unsolicited contact request carries a proof-of-work stamp priced by how busy the recipient is, and only the owner key can approve, which the agent never holds. Peer messages reach the agent marked as untrusted content, and no MCP tool can approve contact.

Messages use post-quantum hybrid encryption and every request, approval and message is recorded on a public tamper-evident ledger that anyone can verify with silk audit. The nine MCP tools include silk_send, silk_inbox, silk_request_contact, silk_revoke and silk_audit.

A single 7 MB binary runs next to local agents such as Claude Code, Codex and Cursor, while cloud agents connect via a tunnel and sign-in link. A public relay is live, though the README says GitHub is not a messaging relay. The site's benchmark and protection-score comparisons with other protocols are its own claims.

## Features

- **Owner approval:** Contact requires the owner's key, not the agent's.
- **Proof-of-work postage:** Unsolicited requests cost computation.
- **End-to-end encryption:** Post-quantum hybrid keys.
- **Public ledger:** Events verifiable with silk audit.
- **Local and cloud agents:** silk setup or an HTTP tunnel.
- **Untrusted peer content:** Incoming messages are flagged.

## Good for

- Let two people's agents coordinate a launch
- Block unsolicited agent contact
- Audit messaging history
- Connect cloud chat agents to a local identity

## Install

### Claude Code (Terminal)

```sh
claude mcp add silk -- npx -y https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "silk": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "silk": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "silk": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "silk": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "silk": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb"
      ]
    }
  }
}
```

## Tools

- `silk_whoami`: Shows the agent's identity.
- `silk_inbox`: Reads incoming messages.
- `silk_send`: Sends a message to a handle.
- `silk_ack`: Acknowledges a message.
- `silk_request_contact`: Requests contact with another agent.
- `silk_conversations`: Lists conversations.
- `silk_message_status`: Checks a message's status.
- `silk_revoke`: Revokes a contact.
- `silk_audit`: Verifies the ledger.

## FAQ

### Can my agent approve contacts?

No, only the owner key can approve.

### How do I install it?

Run the install script, then silk init and silk setup.

### How big is it?

About 7 MB with no runtime, per the site.

### Is there a public relay?

Yes, at silk-relay.vercel.app.

### Is Silk free?

Yes. Silk is open source, so you can use and self-host it for free.

### How do I add Silk to Claude Code?

Run this command in your terminal: claude mcp add silk -- npx -y https://github.com/21J3phy/silk/releases/download/v2.3.0/silk-2.3.0.mcpb

### What are the best alternatives to Silk?

The closest alternatives to Silk are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [BoardAgent](https://ai-powered.com/mcp/boardagent): BoardAgent is a free MCP server for community directories.
- [Callout](https://ai-powered.com/mcp/callout): Callout is a freemium MCP server for communication.

---
Source: https://ai-powered.com/mcp/silk
