Demo MCP Server logo

Demo MCP Server

by blocklet

A demo blocklet that hosts a MCP server. It's a full-stack application containing both server and client code.

View on GitHub

Last updated: N/A

What is Demo MCP Server?

This is a demo blocklet project that implements a MCP (Managed Control Protocol) server using the @blocklet/mcp package for authentication and authorization.

How to use Demo MCP Server?

To use this blocklet as a MCP server, you need to set blocklet.yml#capabilities.mcp to true, setup your MCP server in api/src/mcp/server.ts, setup sse transport in api/src/mcp/sse.ts with the endpoint /mcp/sse, and attach the MCP Server to your app in api/src/index.ts. You can use https://dev.store.blocklet.dev/blocklets/z2qZwzdTFvPFN275o7wm4WwXTAVBvdSfHSDqq to debug your MCP server.

Key features of Demo MCP Server

  • Authentication

  • Authorization

  • SSE Transport

  • Full-stack application

  • @blocklet/mcp package

Use cases of Demo MCP Server

  • Demonstrating MCP server implementation

  • Building blocklet applications with MCP capabilities

  • Testing and debugging MCP server functionality

  • Providing a reference implementation for MCP integration

  • Creating secure and authorized applications

FAQ from Demo MCP Server

What is a blocklet?

A blocklet is a modular, reusable component for building decentralized applications.

What is MCP?

MCP stands for Managed Control Protocol, used for authentication and authorization.

What is the purpose of this demo?

To showcase how to implement a MCP server within a blocklet application.

What are the requirements to run this demo?

Node.js version >= 20.14.0 and Server version >= 1.16.28.

Where can I find the license information?

The code is licensed under the Apache 2.0 license found in the LICENSE file.

Demo MCP Server - MCP Server | MCP Directory