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! πͺ
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
mcp-of-mcps
MCP of MCPs is a meta-server that merges all your MCP servers into a single smart endpoint.β¨It gives AI agents instant tool discovery, selective schema loading, and massively cheaper execution, so you stop wasting tokens and time. With persistent tool metadata, semantic search, and direct code execution between tools, it turns chaotic multi-server setups into a fast, efficient, hallucination-free workflow.β¨It also automatically analyzes the tools output schemas if not exist and preserves them across sessions for consistent behavior.
OpenTelemetry Collector MCP Server
An MCP server for dynamically configuring OpenTelemetry Collectors, including receivers, processors, and exporters.
NuGet Package README
Fetches comprehensive information about NuGet packages from the NuGet Gallery, including READMEs, metadata, and search functionality.
Android Preference Editor
Edit Android preferences using adb and Node.js.
WordPress Community DEV Docs
Access WordPress development rules and best practices from the WordPress LLM Rules repository. It dynamically creates tools for each rule and caches content using Cloudflare Durable Objects.
Python Notebook MCP
Enables AI assistants to interact with local Jupyter notebooks (.ipynb).
PsiAnimator-MCP
A server for quantum physics simulation and animation, using QuTip for computations and Manim for visualizations.
Wormhole
Logs file edits, decisions, and commands so agents stay in sync, avoid conflicts, and pick up where others left off.
SVG to PNG MCP Server
A server that converts SVG code to PNG images using the cairosvg library.
Text-To-GraphQL
MCP server for text-to-graphql, integrates with Claude Desktop and Cursor.