mcp-server-template-ic

mcp-server-template-ic

1

This project showcases a Model Context Protocol server featuring Internet Identity authentication. It includes an authentication flow using a React web app to facilitate secure user access to protected MCP tools.

MCP Server Template with Internet Identity Authentication

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

Authentication Flow

  • The AI client starts the authentication process with the MCP server.
  • The server facilitates user authentication through a React web app using Internet Identity.
  • Successful authentication allows the AI client to access protected MCP tools.

Project Structure

  • mcp-server/: Manages the server, tool registration, authentication, and delegation processing.
  • mcp-server-wallet-connect/: A React application for authentication and delegation for the MCP server.

Setup Instructions

  1. Set environment variables for the projects.
  2. Initiate the MCP server.
  3. Run the React web application.
  4. Connect the AI client to the server.