MCP example & Demo
@pcingola
About MCP example & Demo
No overview available yet
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP example & Demo?
MCP example & Demo is a simple MCP server that demonstrates the Model Context Protocol. It implements a basic "add" tool and shows how to communicate with an MCP server over STDIN using JSON‑RPC messages.
How to use MCP example & Demo?
Run the server with mcp run server.py and send JSON‑RPC messages over STDIN. Alternatively, use mcp dev server.py to launch the MCP inspector for interactive testing.
Key features of MCP example & Demo
- Provides a single "add" tool that sums two numbers
- Demonstrates the full MCP initialization handshake
- Supports tools/list and tools/call JSON‑RPC methods
- Includes an example of an error response from a tool call
- Uses STDIN transport by default
- Works with the MCP inspector in dev mode
Use cases of MCP example & Demo
- Learning how the MCP protocol works end‑to‑end
- Testing a client’s ability to handle initialize, ping, and tool calls
- A minimal reference implementation for developing custom MCP servers
- Demonstrating error handling in tool execution
FAQ from MCP example & Demo
What does the server do?
It provides an "add" tool that accepts two numeric arguments (a and b) and returns their sum.
How do I run the server?
Use mcp run server.py to start it on STDIN, or mcp dev server.py to open the MCP inspector.
What transport does the server use?
It communicates over STDIN using JSON‑RPC 2.0.
What protocol version does it support?
The server uses the MCP protocol version 2025-03-26.
Does the server support any other tools?
No, it only includes the single "add" tool demonstrated in the README.
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Comments