Skip to main content
Glama
README.md
# muhr-mcp

**Cryptographic trust verification for MCP servers.**

Muhr is the trust layer for the MCP ecosystem. Before your AI agent uses an MCP server, check if it's been verified.

> *"muhr"* (مُهر) — Middle Persian for "seal." The Sasanian Empire used carved seals to verify the authenticity and integrity of documents 1,800 years ago. Same problem, same solution, modern cryptography.

## What it does

This MCP server gives your AI agent three tools:

| Tool | Purpose |
|------|---------|
| `muhr_verify` | Check if a specific MCP server is Muhr-verified |
| `muhr_search` | Find verified servers by keyword or category |
| `muhr_list` | List all verified servers in the registry |

Your agent calls `muhr_verify("stripe")` before using the Stripe MCP server and gets back:

```json
{
  "verified": true,
  "name": "Stripe Agent Toolkit",
  "verification_level": 1,
  "status": "verified",
  "source_repo": "https://github.com/stripe/agent-toolkit",
  "recommendation": "✓ Stripe Agent Toolkit is Muhr-verified (Level 1). Safe to use."
}
```

## Verification levels

| Level | Name | What it means |
|-------|------|--------------|
| 0 | Unverified | No verification data |
| 1 | Source Pinned | Git commit hash tracked and monitored |
| 2 | Integrity Verified | Merkle tree file-level integrity checks |
| 3 | Authenticity Attested | zkTLS cryptographic proof of source authenticity |

## Install

### Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%/Claude/claude_desktop_config.json` (Windows):

```json
{
  "mcpServers": {
    "muhr": {
      "command": "npx",
      "args": ["-y", "muhr-mcp"]
    }
  }
}
```

### Claude Code

```bash
claude mcp add muhr -- npx -y muhr-mcp
```

### Cursor

Add to `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "muhr": {
      "command": "npx",
      "args": ["-y", "muhr-mcp"]
    }
  }
}
```

### VS Code

Add to user or workspace MCP settings:

```json
{
  "servers": {
    "muhr": {
      "command": "npx",
      "args": ["-y", "muhr-mcp"]
    }
  }
}
```

### Windsurf

Follow Windsurf MCP documentation using the standard config above.

## Environment variables

| Variable | Default | Description |
|----------|---------|-------------|
| `MUHR_API_URL` | `https://muhrbadges.lovable.app/api/v1` | Override the Muhr API endpoint |

## How it works

1. Agent calls `muhr_verify("playwright")`
2. MCP server queries the live Muhr API at `muhrbadges.lovable.app`
3. If the API is unreachable, falls back to bundled data (50 top servers)
4. Returns structured verification data the agent can reason about

The bundled fallback means the server works offline and during demos — it ships with verification data for the 50 most popular MCP servers.

## Coverage

Currently tracking **50 verified MCP servers** including:

**Official reference:** Filesystem, Fetch, Git, Memory, Sequential Thinking, Time

**Top integrations:** Playwright (Microsoft), GitHub, Stripe, Supabase, PostgreSQL, Slack, Notion, Docker, Brave Search, Cloudflare, Figma, Sentry, Linear

**Popular community:** Firecrawl, Context7, Tavily, MySQL, MongoDB, Grafana, Google Maps, Exa, Neon

**Enterprise:** Jira/Confluence, Terraform, Snowflake, AWS, Vercel, Datadog, HubSpot

Full list: [muhrbadges.lovable.app](https://muhrbadges.lovable.app)

## Example usage

Once installed, your agent can:

```
"Before using any MCP server, check it with muhr_verify first."

> muhr_verify("stripe")
✓ Stripe Agent Toolkit is Muhr-verified (Level 1). Safe to use.

> muhr_search("database")
Found 7 verified database servers: PostgreSQL, Supabase, MySQL, MongoDB, Neon, Qdrant, MindsDB

> muhr_verify("some-unknown-server")
⚠ Server "some-unknown-server" not found. It has not been verified by Muhr.
```

## Development

```bash
git clone https://github.com/anthropic-muhr/muhr-mcp.git
cd muhr-mcp
npm install
npm run dev
```

## License

MIT