mcp_demo
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pravinrajk/MCP_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server