mcp_demo
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp_demoadd 5 and 7"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Demo
A simple demo MCP server using mcp[cli].
This project exposes a small MCP app with one tool and one resource:
add(a: int, b: int) -> int: returns the sum of two integers in a string response.get_greeting(name: str) -> str: returns a greeting for the provided name.
Requirements
Python 3.14+
mcp[cli]>=1.28.1
Related MCP server: Demo Server
Install
Create and activate a virtual environment, then install dependencies:
python -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
python -m pip install .Run
Start the MCP server from the project root:
python main.pyProject structure
main.py– MCP app definition and endpoint implementations.pyproject.toml– package metadata and dependencies.README.md– project documentation.image/icon/user.png– icon asset used by the MCP app.
Notes
The server is configured with
FastMCPand a demo icon.The MCP app name is
mcp_demo.Update
website_urlinmain.pyif you want a real website link.
This server cannot be deployed
Maintenance
Related MCP Connectors
POC MCP server. Tool say_hello returns 'Welcome' (agent -> MCP -> API path).
Related MCP Servers
- FlicenseAqualityDmaintenanceA simple local MCP server that provides greeting and integer addition tools.2-
- FlicenseNot gradedqualityDmaintenanceA simple MCP server that exposes a calculator tool (addition) and a dynamic greeting resource.16-
- FlicenseNot gradedqualityDmaintenanceBasic MCP server demonstrating tools for arithmetic operations (add, subtract) and a personalized greeting resource.1-
- AlicenseNot gradedqualityDmaintenanceA basic MCP server that provides arithmetic tools (add, subtract) and a greeting resource, demonstrating core MCP concepts.GPL 3.0