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.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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.

Upstream README

View this exact version on GitHub

README.md · a5b98dd4e671 · Fetched 2026-11-13 11:01:17 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

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.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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