D

Demo MCP Server W3e

A demonstration MCP server Blocklet project
2.5 points
11

What is the Demo MCP Server?

The Demo MCP Server is a demonstration project built on the Blocklet framework that implements the Model Context Protocol (MCP) for handling authentication and authorization functions. It shows how to integrate MCP services into a Blocklet application.

How to use the Demo MCP Server?

You can enable the MCP function by configuring the blocklet.yml file, and then set the server endpoint and SSE transport. This server can be used with debugging tools for testing.

Applicable scenarios

Suitable for development scenarios that require adding authentication and authorization functions to Blocklet applications, especially systems that need to be compatible with the MCP protocol.

Main features

AuthenticationProvide authentication function based on the MCP protocol
Authorization managementImplement fine - grained access permission control
SSE transport supportImplement real - time communication through Server - Sent Events

Advantages and limitations

Advantages
Based on the Blocklet framework, easy to integrate
Comply with the MCP standard protocol
Provide a complete authentication and authorization solution
Support real - time communication
Limitations
Only for demonstration purposes, additional configuration is required for the production environment
Requires Node.js 20.14.0 or higher
Depends on Blocklet Server 1.16.28 or higher

How to use

Enable the MCP function
Set capabilities.mcp to true in the blocklet.yml file
Configure the MCP server
Set your MCP server in api/src/mcp/server.ts
Set the SSE transport
Configure the SSE endpoint in api/src/mcp/sse.ts, and ensure the endpoint is /mcp/sse
Attach the MCP server
Attach the MCP server to your application in api/src/index.ts

Usage cases

Debug the MCP serverUse debugging tools to test the functions of the MCP server
Integrate into a Blocklet applicationIntegrate the MCP server into an existing Blocklet application

Frequently Asked Questions

Why do I need to set the SSE endpoint?
How to verify that the MCP server is working properly?
Can this demonstration server be used in a production environment?

Related resources

Create Blocklet
A scaffolding tool for creating Blocklet projects
@blocklet/mcp Documentation
The official documentation of the Blocklet MCP package
MCP Protocol Specification
The official specification of the Model Context Protocol
Installation
Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
97
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
150
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
838
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
573
5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase