Self MCP Server
Supports server-side verification of Self protocol zero-knowledge proofs in Express.js backend applications.
Supports server-side verification of Self protocol zero-knowledge proofs in Hono backend applications.
Provides integration with Kotlin Multiplatform SDK (@selfxyz/kmp-sdk) for building cross-platform mobile applications with Self identity verification capabilities.
Supports server-side verification of Self protocol zero-knowledge proofs in Next.js applications, including API route integration for proof verification.
Enables integration of Self identity verification into React Native mobile applications via @selfxyz/rn-sdk, supporting passport NFC scanning and ZK proof generation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Self MCP Servergenerate code for age verification in my frontend using TypeScript"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Self Protocol MCP Server
MCP server that provides AI assistants with comprehensive knowledge of the Self Protocol ecosystem — identity verification SDK, smart contracts, ZK circuits, and integration guidance.
What This Does
When connected to an AI assistant (Claude, Cursor, Windsurf, etc.), this MCP server gives it deep context about Self Protocol so it can help developers:
Integrate the Self SDK into React Native, web, and Kotlin apps
Build custom on-chain verifier contracts using
SelfVerificationRootSet up server-side proof verification with
@selfxyz/coreUnderstand the contract architecture, supported documents, and ZK circuits
Query on-chain registry state
Installation
Claude Code / Cursor / Windsurf
Add to your .mcp.json:
{
"self-protocol": {
"command": "npx",
"args": ["@selfxyz/self-mcp"]
}
}Manual
npm install -g @selfxyz/self-mcp
self-mcpResources
URI | Description |
| Protocol architecture, verification flow, key components |
| Deployed contract addresses (mainnet + testnet), interface signatures |
| How to build custom verifiers with |
|
|
|
|
|
|
|
|
|
|
|
|
| Supported document types, countries, disclosure attributes |
| ZK circuit types, signature algorithms, proof structure |
| Relationship to self-agent-id MCP, ERC-8004 agent identity |
Tools
Tool | Description |
| Get deployed contract addresses for mainnet or testnet |
| Check if a merkle root is valid in an identity registry |
| Query registry state (merkle root, OFAC roots) |
Prompts
Prompt | Description |
| Step-by-step SDK integration guide (React Native, web, Kotlin, server) |
| Guide to building and deploying a custom verifier contract |
| Server-side proof verification setup (Express, Hono, Next.js) |
Environment Variables
Variable | Default | Description |
|
| Network: |
| (per network) | Custom Celo RPC URL |
Related
self-agent-id-mcp — MCP server for AI agent identity (ERC-8004 proof-of-human registration, authentication, verification)
Self Protocol — Identity verification using passport NFC + zero-knowledge proofs
Self on Celo — IdentityVerificationHub on mainnet
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/selfxyz/self-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server