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! 🎪
Похожие серверы
Scout Monitoring MCP
спонсорPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
спонсорAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Greb-MCP
Semantic code search for AI agents without indexing your codebase or storing any data. Fast and accurate.
MCP-Insomnia
An MCP server for AI agents to create and manage API collections in Insomnia-compatible format.
Hackle
Query A/B test data using the Hackle API.
Remote MCP Server Kindler
A template for deploying a remote MCP server without authentication on Cloudflare Workers.
MCP Tools for Open WebUI
An MCP server for Open WebUI that provides tools for secure Python code execution, time, and SDXL image generation.
Paraview_MCP
An autonomous agent that integrates large language models with ParaView for creating and manipulating scientific visualizations using natural language and visual inputs.
Chrome Debug MCP Server
Automate your browser by connecting to Chrome's debugging port, preserving your login state.
Dev.to MCP Server
An MCP server for the Dev.to API to search, browse, read, and create content on the platform.
MCP Agentic Development Platform
A comprehensive MCP development environment with interactive visualizations, multiple client interfaces, and advanced agentic capabilities.
Cisco NSO MCP Server
An MCP server for Cisco NSO that exposes its data and operations as MCP primitives.