Skip to main content
Glama
elvisleyva49

MCP Server Demo

by elvisleyva49

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 install

2. Run the server

npm start

Server runs at ws://localhost:4000.

3. Test with the example client

npm run client

You should see connection logs and message exchange.


Related MCP server: mc-mcp-server

📁 Project Structure

  • index.js: Main server (Express + WebSocket)

  • mcp-protocol.js: MCP message validation logic

  • clients/example-client.js: Example WebSocket client

  • Dockerfile: For cloud deployment

  • package.json: Dependencies and scripts


🐳 Deploy to Google Cloud Run

  1. Build and push the Docker image

  2. Deploy using the suggested gcloud run deploy commands


📝 References

See the accompanying article for theoretical context and use cases.


Made with ❤️ for educational purposes.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A simple, extensible MCP server implementation for local use with tools like Copilot Chat, enabling context management and protocol-compliant communication.
    1
    3
    MIT
  • A
    license
    -
    quality
    F
    maintenance
    Enables 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.
    4
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A basic MCP server implementation using Node.js and TypeScript that bridges AI models with external tools and data sources via JSON-RPC.
    2

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elvisleyva49/mcp-server-demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server