PolicyLayer Registry — Claude Code MCP server: install guide
PolicyLayer Registry is an MCP server that checks MCP servers before connection, showing identity evidence, risk grades, auth details, and tool classifications.
no license 463 installs updated 2026-07-08
claude mcp add --transport http registry https://registry--policylayer.run.toolsWhat PolicyLayer Registry does
PolicyLayer Registry connects an agent to a registry of published MCP servers. check_mcp_server accepts a server slug, name, or npm package and returns its identity evidence, risk grade, authentication posture, record freshness, and tool surface. Use search_registry to find candidates, then inspect one result with the checker. check_tool focuses on a single tool call.
get_change_events reads the registry’s change feed. It covers shifts in the tool surface, authentication posture changes, impersonation flags, and version updates. This feed requires a Registry Licence key sent as Authorization: Bearer plr_..., so that credential is needed for event polling.
The server uses the HTTP endpoint https://registry--policylayer.run.tools. Install entries are provided for Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI. Individual server checks are free.
What it helps with
- screen an MCP server before installation
- search the registry by name or package
- inspect the risk of one tool call
- track changes to auth and tool surfaces
Example prompts for the agent
- Check the MCP server
my-serverwithcheck_mcp_serverbefore I install it. - Search for servers containing
postgreswithsearch_registry, then inspect the match I choose. - Assess whether
execute_sqlshould be allowed on this server withcheck_tool.
How to install PolicyLayer Registry
Platform CLI: remote server
claude mcp add --transport http registry https://registry--policylayer.run.toolsPlatform CLI: remote server
codex mcp add policylayer-registry --url https://registry--policylayer.run.toolsConfig file
{
"mcpServers": {
"policylayer-registry": {
"url": "https://registry--policylayer.run.tools"
}
}
}Config file
{
"servers": {
"policylayer-registry": {
"type": "http",
"url": "https://registry--policylayer.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http policylayer-registry https://registry--policylayer.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about PolicyLayer Registry
How do I install PolicyLayer Registry in Claude Code?
Run claude mcp add --transport http registry https://registry--policylayer.run.tools, then run claude mcp add --transport http policylayer-registry https://registry--policylayer.run.tools.
What does PolicyLayer Registry do?
It checks MCP servers against registry records and reports identity evidence, risk grade, authentication posture, freshness, and available tools. A separate lookup classifies the risk of an individual tool call.
What is required for get_change_events?
The change feed requires a Registry Licence key in Authorization: Bearer plr_.... It reports tool-surface changes, auth-posture shifts, version updates, and impersonation flags.