MCP server template with Internet Identity authentication

MCP server template with Internet Identity authentication

mcp-server-template-ic•bybaolongt

A template MCP server that implements an Internet Identity authentication flow so AI clients can authenticate and then call protected MCP tools.

License: Not specified•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Registers and handles MCP tool requests while managing authentication state and processing delegation chains from a web app.
  • •Opens a browser authentication URL containing the delegation public key and expiration time in milliseconds.
  • •After successful authentication, allows the AI client to call MCP tools that require authentication.

BEST FOR

  • •Demonstrating an MCP server authentication flow built around Internet Identity.
  • •Building MCP servers that expose tools requiring authenticated access.

ABOUT MCP-SERVER-TEMPLATE-IC

MCP server template with Internet Identity authentication is cataloged as an MCP server attributed to baolongt. A template MCP server that implements an Internet Identity authentication flow so AI clients can authenticate and then call protected MCP tools. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server template with Internet Identity authentication are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the AI client initiate authentication with this MCP server?

The AI client calls the MCP server using the authenticate tool.

What does the authentication web app send back to the MCP server?

After the user authenticates, the web app creates a delegation chain using the provided public key and expiration time and sends it to the MCP server.

上游原版 README

在 GitHub 查看同一版本原文

README.md · a5b98dd4e671 · 采集于 2026-11-13 11:01:17 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server Template with Internet Identity Authentication

This project demonstrates a Model Context Protocol (MCP) server with Internet Identity authentication flow.

Authentication Flow

┌────────────────┐     (1) Use authenticate tool     ┌────────────────┐
│                │ ────────────────────────────────> │                │
│                │                                   │                │
│   AI Client    │                                   │   MCP Server   │
│   with MCP     │                                   │                │
│   Support      │                                   │                │
│                │ <─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │                │
└────────────────┘     (6) Authentication result     └────────────────┘
        │                                                     │
        │                                                     │ (2) Open authentication URL
        │                                                     │     with pubkey & expiration
        │                                                     ▼
        │                                           ┌────────────────┐
        │                                           │                │
        │                                           │  React Web App │
        │                                           │  (Auth UI)     │
        │                                           │                │
        │                                           └────────────────┘
        │                                                     │
        │                                                     │ (3) User authenticates
        │                                                     │     with Internet Identity
        │                                                     ▼
        │                                           ┌────────────────┐
        │                                           │                │
        │                                           │  Internet      │
        │                                           │  Identity      │
        │                                           │                │
        │                                           └────────────────┘
        │                                                     │
        │                                                     │ (4) Return delegation
        │                                                     ▼
        │                                           ┌────────────────┐
        │                                           │                │
        │                                           │  React Web App │
        │                                           │  (Auth UI)     │
        │                                           │                │
        │                                           └────────────────┘
        │                                                     │
        │                                                     │ (5) Send delegation
        │                                                     │     to MCP Server
        ▼                                                     ▼
┌────────────────┐     (7) Call other MCP tools     ┌────────────────┐
│                │ ────────────────────────────────> │                │
│                │                                   │                │
│   AI Client    │                                   │   MCP Server   │
│   with MCP     │                                   │  (Authenticated)│
│   Support      │                                   │                │
│                │ <─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │                │
└────────────────┘        (8) Tool responses         └────────────────┘

How It Works

  1. Request Authentication: The AI client calls the MCP server using the authenticate tool.

  2. Open Authentication URL: The MCP server opens a browser window with the authentication URL, including:

    • pubkey: The public key for the delegation
    • expiration: The expiration time for the delegation in milliseconds
  3. User Authentication: The React web app (Auth UI) presents an interface for the user to authenticate using Internet Identity or other supported identity providers.

  4. Delegation Creation: After successful authentication, the web app creates a delegation chain for the MCP server using the provided public key and expiration time.

  5. Send Delegation to Server: The web app sends the delegation chain to the MCP server at the configured endpoint.

  6. Authentication Result: The MCP server responds to the AI client with the authentication result.

  7. Access Protected Tools: If authentication is successful, the AI client can now call other MCP tools that require authentication.

  8. Protected Responses: The authenticated MCP server responds to tool calls with the requested data.

Project Structure

  • mcp-server/: The MCP server implementation

    • Handles MCP tool registration and requests
    • Manages authentication state
    • Processes delegations from the web app
  • mcp-server-wallet-connect/: The React web application for authentication

    • Connects to Internet Identity
    • Creates delegations for the MCP server
    • Sends delegations back to the server

Setup Instructions

  1. Configure environment variables for both projects
  2. Start the MCP server
  3. Start the React web application
  4. Connect your AI client to the MCP server

For detailed setup instructions, see the README files in each project directory.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server template with Internet Identity authentication from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-template-ic)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets