Demo MCP Server
About
Demo MCP Server is a demo blocklet that hosts an MCP (Model Context Protocol) server. It is a full-stack dapp application containing both server and client code, bootstrapped with Create Blocklet and using the @blocklet/mcp package for authentication and authorization.
Details
- Author
- blocklet
- GitHub stars
- 1
- Downloads
- 511
- Categories
- Other, Developer Tools
Jump to
- Hosts a full MCP server within a Blocklet.
- Uses @blocklet/mcp for authentication and authorization.
- Supports SSE transport at the /mcp/sse endpoint.
- Includes a separate debug tool for testing.
- Licensed under Apache 2.0.
Enable the blocklet as an MCP server by setting blocklet.yml#capabilities.mcp to true. Then configure the MCP server in api/src/mcp/server.ts, set up SSE transport in api/src/mcp/sse.ts with endpoint /mcp/sse, and attach the server to the app in api/src/index.ts. For debugging, use the provided debug blocklet URL.
Demo MCP Server
A demo blocklet that hosts a MCP server
This project was bootstrapped with Create Blocklet.
This blocklet is a dapp project, which means this is a full-stack application. It's contained both server and client code.
The MCP Server uses the @blocklet/mcp package to do authenticate and authorization.
Requirements
- Node.js version: >= 20.14.0
- Server version: >= 1.16.28
Blocklet as a MCP server
- 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, the endpoint must be /mcp/sse
- Attach the MCP Server to your app in api/src/index.ts
- Use https://dev.store.blocklet.dev/blocklets/z2qZwzdTFvPFN275o7wm4WwXTAVBvdSfHSDqq to debug your MCP server
License
The code is licensed under the Apache 2.0 license found in the
LICENSE file.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





