MCP.so
登录

MCP Server Template with Internet Identity Authentication

@baolongt

基本信息

分类

开发工具

传输方式

stdio

作者

baolongt

关于 MCP Server Template with Internet Identity Authentication

mcp servre with connect to ic wallet

MCP Server Template with Internet Identity Authentication 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server Template with Internet Identity Authentication 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server Template with Internet Identity Authentication?

This project is a Model Context Protocol (MCP) server template that demonstrates an authentication flow using Internet Identity. It is intended for developers building AI clients that require secure, delegated identity verification via the Internet Identity system on the Internet Computer.

How to use MCP Server Template with Internet Identity Authentication?

Configure environment variables for both the MCP server and the React web app, start the MCP server, then start the React web application, and connect your AI client to the MCP server. The AI client begins by calling the authenticate tool to initiate the flow.

Key features of MCP Server Template with Internet Identity Authentication

  • Internet Identity based authentication flow
  • Delegation chain creation with public key and expiration
  • Protected MCP tools accessible only after authentication
  • React web app (Auth UI) for user login
  • Handles pubkey and expiration in authentication URL

Use cases of MCP Server Template with Internet Identity Authentication

  • AI client that needs to authenticate a human user via Internet Identity before accessing sensitive tools
  • Prototyping MCP servers with delegated identity on the Internet Computer
  • Demonstrating how to integrate a web-based auth UI with an MCP server
  • Building AI workflows where the server must verify the user’s identity for each session

常见问题

1

How does the authentication flow work?

The AI client calls the `authenticate` tool, the MCP server opens a browser window with an authentication URL containing a public key and expiration. The user authenticates via Internet Identity, the web app creates a delegation chain and sends it back to the server, which then responds to the client with the authentication result.

2

What is the `authenticate` tool?

It is an MCP tool provided by the server that initiates the authentication process. It causes the server to open the authentication URL and wait for the user to complete identity verification.

3

What are the project’s components?

The project consists of two parts: `mcp-server` (the MCP server implementation that handles tool registration, authentication state, and delegation processing) and `mcp-server-wallet-connect` (a React web application that connects to Internet Identity, creates delegations, and sends them back to the server).

4

Do I need to run the React web app?

Yes, the React web app is required as the authentication UI. It handles the user’s login via Internet Identity and transmits the resulting delegation to the MCP server.

5

What parameters are included in the authentication URL?

The authentication URL includes `pubkey` (the public key for the delegation) and `expiration` (the expiration time for the delegation in milliseconds).

评论

开发工具 分类下的更多 MCP 服务器