rnv-mcp-identity
A deterministic identity and authorization layer for MCP servers that verifies agent identity and scope using OAuth 2.0, WIMSE workload identity, and HTTP Message Signatures, resolving or refusing without guessing.
README
rnv-mcp-identity
An identity and authorization layer for MCP servers. On every tool call it asks one question, is this caller who it claims to be, and is this action within what it's allowed to do?, and answers with exactly one of three outcomes:
- allow: identity resolved, verified, and the action is in scope.
- deny: verified, but out of scope; or an identity was presented and failed verification.
- unknown: identity could not be established at all. The call is refused.
An unknown caller never acts. That rule is the whole project: resolve or refuse, never guess.
Status: reference implementation, pre-1.0, Apache-2.0. This is the reference-implementation arm of AIII, the Artificial Intelligence Identification Initiative. It composes on existing standards (the MCP authorization model, WIMSE workload identity, RFC 7800 key confirmation, RFC 7638 thumbprints, EAT attestation) rather than replacing them.
Live demo: Identity Gate on Hugging Face Spaces, running this engine on the released v0.1.0.
What's here
src/rnv_mcp_identity/— the library: a framework-agnostic decision engine (L1 identity, L2 verification, L3 authorization) plus a FastMCP middleware adapter. The core has no runtime dependencies.examples/— a runnable FastMCP server guarded by the layer, an in-process test, and an HTTP client. Start here to watch it allow one call and refuse three.SPEC.md— the normative spec: the decision sequence, the capability and policy model, the threat model, and the v0 wire format.AAIF-READINESS.md— an honest dossier on whether this belongs in a foundation, and what's missing before it would.
Quickstart
pip install -e ".[dev,verify,fastmcp]"
python -m pytest -q # the full suite
python -m pytest -q tests/test_demo_inprocess.py # just the guarded-server demo
Run the demo over real HTTP:
python examples/demo_server.py # terminal 1
python examples/demo_client_http.py # terminal 2
The wire format (v0)
The identity token rides in the mcp-agent-identity header and a holder-of-key
proof in mcp-agent-proof. The proof binds to the exact token, so a stolen token
alone can't act. The reference client in examples/ is the normative example; see
SPEC.md section 10.
Docs
SPEC.md— the specificationROADMAP.md— where this is goingPRIOR-ART.md— what it builds on, and the gap it fillsGOVERNANCE.md— how decisions are madeCONTRIBUTING.md— how to helpSECURITY.md— how to report vulnerabilitiesAAIF-READINESS.md— foundation-readiness assessment
License
Apache-2.0. See LICENSE.
A note on affiliation
This project aspires to become a foundation-hosted project and is not affiliated with, endorsed by, or accepted into the AAIF or the Linux Foundation. See AAIF-READINESS.md for an honest account of where it stands.
Verifying a release
Each GitHub release carries the build artifacts, a SHA256SUMS manifest, a
Sigstore signature over that manifest (SHA256SUMS.sigstore.json), and a
CycloneDX SBOM (sbom.cdx.json).
Check integrity (hashes):
sha256sum -c SHA256SUMS
Verify authenticity and the signer's identity (keyless Sigstore):
pip install sigstore
python -m sigstore verify identity \
--cert-identity "https://github.com/RNVizion/rnv-mcp-identity/.github/workflows/release.yml@refs/tags/v0.1.0" \
--cert-oidc-issuer "https://token.actions.githubusercontent.com" \
--bundle SHA256SUMS.sigstore.json \
SHA256SUMS
A valid result proves the manifest was produced by this repository's release
workflow under GitHub's OIDC, not by a third party. Replace the tag in
--cert-identity with the release you are verifying.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.