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
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Rust Docs MCP Server
Query up-to-date documentation for Rust crates.
Image Generator
Generate and save images using the Replicate API.
Loki MCP Server
A Go-based server to query Grafana Loki logs using the Model Context Protocol (MCP).
Librarian
Persistent memory with semantic search, hit-based ranking, universal import, and a knowledge marketplace
AgentStamp
Trust intelligence platform for AI agents โ identity certification, trust scoring, forensic audit trails, and x402 micropayments. 14 MCP tools.
Glide API
Interact with the Glide API to build applications from data sources like Google Sheets.
AgentSeal
Every agent action is recorded in a SHA-256 hash chain; with this, you can actually prove to clients that your agent did what it said it did
Figma
Access and interact with Figma files and prototypes directly from AI agents.
MCP Image Extractor
Extracts images from files, URLs, or base64 strings and converts them to base64 for LLM analysis.
API Tester
This MCP Server accepts swagger/postman documents as input. It then generates API & Load test scenarios, executes the tests and generates the execution report.