MCP Server Demo
Uses Express as the web framework for hosting the MCP server
Allows cloning the repository from GitHub to set up the MCP server locally
Supports deployment to Google Cloud Run with provided Docker configuration and deployment commands
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Demoshow me the available tools and their descriptions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Demo (WebSocket)
A minimal MCP server implementation using WebSocket, ideal for modern integrations with tools like VSCode, Claude, etc.
🚀 Quickstart
1. Clone and install
git clone https://github.com/tuusuario/mcp-server-demo.git
cd mcp-server-demo
npm install2. Run the server
npm startServer runs at ws://localhost:4000.
3. Test with the example client
npm run clientYou should see connection logs and message exchange.
Related MCP server: mcp-server
📁 Project Structure
index.js: Main server (Express + WebSocket)mcp-protocol.js: MCP message validation logicclients/example-client.js: Example WebSocket clientDockerfile: For cloud deploymentpackage.json: Dependencies and scripts
🐳 Deploy to Google Cloud Run
Build and push the Docker image
Deploy using the suggested
gcloud run deploycommands
📝 References
See the accompanying article for theoretical context and use cases.
Made with ❤️ for educational purposes.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server to expose VS Code editing features to an LLM for AI coding9328 npm393MIT
- AlicenseAqualityDmaintenanceA simple, extensible MCP server implementation for local use with tools like Copilot Chat, enabling context management and protocol-compliant communication.13MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI-driven interactions with Minecraft through a WebSocket-based server and MCP protocol, allowing external MCP clients and in-game chat to trigger AI tools.4MIT
- FlicenseNot gradedqualityFmaintenanceA basic MCP server implementation using Node.js and TypeScript that bridges AI models with external tools and data sources via JSON-RPC.2-