MCP Playground
A demonstration MCP server implementation in Go featuring real-time bidirectional file communication.
MCP Playground
A demonstration Model Context Protocol (MCP) server implementation in Go featuring real-time bidirectional file communication.
🎯 Features
- Real-Time Communication: Bidirectional file-based communication with live notifications
- MCP Resources: Live-updating resources with automatic change notifications
- File Monitoring: External file changes detected and reported in real-time
- Rich Tool Set: Complete set of tools for file interaction and monitoring
🚀 Quick Start
# Build the server
task build
# Start monitoring and interact with the file
task run
🔧 MCP Tools
start_file_monitoring- Start real-time file monitoringwrite_to_file- Write messages to communication fileread_communication_file- Read current file contentsget_recent_changes- Get list of recent external changesget_monitoring_status- Check monitoring status
📡 MCP Resources
file://communication- Live communication file with real-time updates
🧪 Testing
# Test real-time notifications
./test_realtime_resources.sh
# Test basic file monitoring
./test_file_monitoring.sh
🔌 Claude Desktop Integration
Copy configuration to your Claude Desktop config:
{
"mcpServers": {
"mcp-playground": {
"command": "/path/to/mcp-playground/bin/mcp-playground",
"args": []
}
}
}
📖 How It Works
- Start monitoring with
start_file_monitoringtool - External changes to
communication.txtare detected automatically - Real-time notifications sent via MCP
notifications/resources/updated - Claude Desktop receives live updates and can react to external changes
Perfect for experimenting with MCP real-time capabilities! 🎪
Servidores relacionados
Alpha Vantage MCP Server
patrocinadorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
mcp-rubber-duck
Query multiple LLMs in parallel from AI coding tools — rubber duck debugging, but the ducks talk back.
PyMilvus Code Generate Helper
Retrieves relevant code snippets and documents to assist in generating PyMilvus code, requiring a running Milvus instance.
Autoconsent MCP
A server for browser automation to create and test Autoconsent rules for web page consent management.
Supergateway
A gateway to run MCP stdio servers over various transports like SSE, WebSockets, and Streamable HTTP.
Optuna MCP Server
Automate optimization and analysis using Optuna.
Apple Developer Documentation
Search Apple's official developer documentation for iOS, macOS, SwiftUI, WWDC videos, and more.
XcodeBuild MCP
A server providing tools for Xcode project management, simulator management, and app utilities.
Geo Location Demo
Retrieves user geolocation information using EdgeOne Pages Functions and exposes it via the Model Context Protocol (MCP).
MiniMax MCP
Interact with MiniMax's powerful APIs for text-to-speech, voice cloning, and video/image generation.
Ollama MCP Server
A bridge to use local LLMs from Ollama within the Model Context Protocol.