mcp-playground
MCP Playground
Documentation
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 monitoring
- `write_to_file` - Write messages to communication file
- `read_communication_file` - Read current file contents
- `get_recent_changes` - Get list of recent external changes
- `get_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
1. Start monitoring with `start_file_monitoring` tool
2. External changes to `communication.txt` are detected automatically
3. Real-time notifications sent via MCP `notifications/resources/updated`
4. Claude Desktop receives live updates and can react to external changes
Perfect for experimenting with MCP real-time capabilities! ๐ช
Frequently asked questions
What is mcp-playground?
mcp-playground is MCP Playground
How do I install mcp-playground?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-playground open source?
Yes โ it is hosted on GitHub at https://github.com/hypnoglow/mcp-playground.
Related MCP tools
eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard.
GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all in one Go binary.
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
Run MATLABยฎ using AI applications with the official MATLAB MCP Server from MathWorksยฎ. This MCP server for MATLAB supports a wide range of coding agents like Claude Codeยฎ and Visual Studioยฎ Code.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP