Model Context Protocol (MCP) Example
About
A reference implementation of the Model Context Protocol (MCP) enabling seamless tool calling between LLMs and applications. Features client/server architecture with HTTP APIs, local CLI execution, and AWS Bedrock integration in a production-ready, extensible framework.
Details
- Author
- iddv
- GitHub stars
- 7
- Downloads
- 183
- Categories
- Developer Tools
Jump to
- Living Minesweeper example demonstrating AI logical reasoning
- Multiple transport protocols: stdio, HTTP, WebSocket
- Session management for concurrent game instances
- OAuth 2.0 authentication ready
- Real-time data streaming and game state resources
- Strategy guides, pattern library, and AI prompts
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Model Context Protocol (MCP) ExampleCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository and install dependencies using Poetry (poetry install) or pip (pip install -e .). Start the Minesweeper server in development mode with mcp dev examples/servers/minesweeper_server.py or as an HTTP server with python examples/servers/minesweeper_server.py --transport http --port 8000. For production, configure transport via mcp.run(transport="streamable-http") or mcp.run(transport="websocket"). Test servers interactively using mcp dev or programmatically with the built-in testing module.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"model context protocol (mcp) example": {
"mcp-example": {
"command": "python",
"args": [
"examples/servers/minesweeper_server.py",
"--transport",
"http",
"--port",
"8000"
]
}
}
}
}
McpServers
{
"mcp-example": {
"command": "python",
"args": [
"examples/servers/minesweeper_server.py",
"--transport",
"http",
"--port",
"8000"
]
}
}
🎯 MCP Examples - Enterprise Edition
> 🚀 FastMCP 2.0 powered examples for building sophisticated Model Context Protocol servers
Welcome to the ultimate MCP examples repository! Build enterprise-grade AI servers with our living Minesweeper example and comprehensive FastMCP 2.0 templates.
✨ What's New in This Edition
🎮 Living Game Example: Watch LLMs master Minesweeper through logical reasoning
🚀 FastMCP 2.0: Enterprise features with multiple transport protocols
🏢 Production Ready: Authentication, sessions, real-time data, WebSocket support
🤖 AI Agent Friendly: Complete templates and guides for automated server generation
🎯 Featured: Minesweeper MCP Server
The ultimate demonstration of AI logical reasoning!
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





