Cover image

轻巧且适合AI的MCP服务器,允许任何AI代理或与MCP兼容的助手通过OIDC4VP启动和验证PID(个人身份数据)凭据表示。

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

🧠 MCP PID Wallet Verifier

A lightweight and AI-friendly MCP server that allows any AI agent or MCP-compatible assistant to initiate and verify a PID (Personal Identity Data) credential presentation via OIDC4VP.

This server is designed to support secure, QR-based wallet interactions and can be used with agents like Cline, OpenAI’s GPTs (via custom tools), or any custom client following the MCP protocol.


🚀 Features

  • ✅ Supports OIDC4VP Draft-13 with direct_post response mode
  • ✅ Two-step MCP REST tools for credential presentation
  • ✅ Generates QR codes and openid-vc:// deep links
  • ✅ Receives SD-JWT-based credentials from EUDI-compatible wallets
  • ✅ Stateless via Redis session storage
  • ✅ Fully MCP-compliant via .well-known/mcp/tools

🔧 Tools Exposed (MCP REST)

1. initiate_pid_request

Start an OIDC4VP presentation flow. Returns a QR code and session ID.

POST https://verifier.wallet-provider.com/tools/initiate_pid_request

Response

{
  "status": "pending",
  "instructions": "Scan this QR code with your wallet to present a credential.",
  "session_id": "f1203ea7-d5...",
  "presentation_url": "openid-vc://?client_id=...",
  "qr_code_base64": "data:image/png;base64,..."
}

2. check_pid_result

Poll the status of the credential presentation.

POST https://verifier.wallet-provider.com/tools/check_pid_result

Request

{
  "session_id": "f1203ea7-d5..."
}

Possible Responses

  • Pending:
{ "status": "pending" }
  • Verified:
{
  "status": "verified",
  "verified_credential": {
    "given_name": "Jean",
    "family_name": "Dupont",
    "birth_date": "1975-06-23"
  }
}
  • Error:
{ 
  "status": "error",
  "error_description": "signature failed"
}

🧠 Use Case

This server enables an AI agent to:

  1. Ask a user to present their digital ID (PID)
  2. Show them a scannable QR code
  3. Wait for wallet response via OIDC4VP
  4. Extract and use verified attributes (e.g., name, birth date)

Perfect for use in:

  • Identity verification flows
  • Onboarding
  • Compliance & KYC automation
  • Government-grade AI applications

🛠️ Tech Stack

  • Python + Flask
  • Redis for session handling
  • jwcrypto for JWT signing/verification
  • qrcode for base64-encoded QR image generation
  • Compatible with EUDI-compliant wallets and SD-JWT

📄 MCP Tool Discovery

GET https://verifier.wallet-provider.com/.well-known/mcp/tools

Returns a JSON manifest describing available tools, input schema, and descriptions.


🧪 Demo Agent Available

You can test this server using a local or scripted agent that calls:

  • https://verifier.wallet-provider/tools/initiate_pid_request
  • https://verifier.wallet-provider.com/tools/check_pid_result

Or use a Custom GPT / Claude with support for MCP tools.


🛡️ Security Notes

  • Temporary data is stored with expiration (setex)
  • Signature verification via verif_token()
  • Expiration (exp) and nonce handling included
  • Designed for secure, audit-friendly digital identity operations

📬 Contact

Created by Talao
Maintainer: thierry.thevenet@talao.io
License: Apache V2.0

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • evilsocket
  • 简单的代理开发套件。

    Reviews

    3 (4)
    Avatar
    user_ngDlFDRx
    2025-04-24

    Verifier by TalaoDAO is an exceptional application for identity verification! It provides a seamless and secure way to confirm credentials, making it ideal for both personal and professional use. The interface is user-friendly and efficient, ensuring that verification processes are completed swiftly. Highly recommended for anyone in need of reliable identity authentication.

    Avatar
    user_gKZLIXtu
    2025-04-24

    Verifier by TalaoDAO is an exceptional tool for digital verification. It seamlessly integrates with my workflow and ensures the authenticity of digital credentials with ease. The user interface is intuitive, making it accessible even to those who aren't tech-savvy. Highly recommend it for anyone looking to enhance their verification processes.

    Avatar
    user_jgXdGxRB
    2025-04-24

    I have been using Verifier by TalaoDAO and I must say it has exceeded my expectations. The tool is intuitive and provides accurate verification results swiftly. It has become an essential part of my daily workflow and I highly recommend it to anyone in need of a reliable verification solution.

    Avatar
    user_KsAJkLJU
    2025-04-24

    Verifier by TalaoDAO is an amazing tool! It completely simplifies the verification process and ensures reliability. As an MCP app enthusiast, I appreciate its seamless integration and user-friendly interface. Highly recommend it to anyone needing efficient verification.