Builders
Grade a server. Gate your CI. Ship a badge.
The open litmus harness grades an MCP server A to F with reproducible, content-addressed evidence. Add it to your agent, run it from your terminal, gate a build on it, or embed a live badge. All self-serve, all free.
Run polygraph in your agent, or grade a server from your terminal.
Cursor
Add to CursorOne click: installs the MCP server (run_litmus, verify_attestation). Prefer to edit ~/.cursor/mcp.json? Use the config below.
Terminal
$ npx -y -p @polygraphso/litmus polygraphso-litmus litmus <mcp-server>Grade a server yourself. Or wire the MCP server into any client with npx -y -p @polygraphso/litmus polygraphso-litmus-mcp.
Claude
/plugin install polygraph@polygraphso
Claude Code, after /plugin marketplace add polygraphso/litmus. Claude Desktop: paste the config below into claude_desktop_config.json.
Fail a build when a tool grades D/F.
GitHub Action
# .github/workflows/mcp-gate.yml
name: mcp-gate
on: [pull_request]
permissions:
contents: read
jobs:
gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: polygraphso/litmus@v1Show your grade where developers look.
The card
A fuller card for a README header or a docs page.
The inline badge
[](https://polygraph.so/mcp/npm/@modelcontextprotocol/server-filesystem)
Swap in your own registry/owner/name ref. Full embed guide →
One config, every MCP client.
mcp.json
{
"mcpServers": {
"polygraph-litmus": {
"command": "npx",
"args": ["-y", "-p", "@polygraphso/litmus", "polygraphso-litmus-mcp"],
"env": { "POLYGRAPH_API_URL": "https://polygraph.so" }
}
}
}Every grade is behavioral and reproducible. Re-run the open harness against the same ref to check it. Browse the full MCP Security Index, or read the methodology.