MCP Example Simple Server
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 Example Simple Servershow me how to start the server with the inspector"
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 Example Simple Server
This is a simple example of a server built with the FastMCP framework.
Setup and Installation
These instructions will guide you through setting up the project environment and installing the necessary dependencies.
Create and Activate a Virtual Environment First, create a Python virtual environment to isolate the project's dependencies. This is a one-time setup step.
Create the virtual environment in a directory named 'venv'
python3 -m venv venv
Activate the environment
source venv/bin/activate
Your terminal prompt should now be prefixed with (venv).
Install Dependencies With the virtual environment active, install the required Python packages using uv (or pip) and the requirements.txt file.
Install all dependencies listed in requirements.txt
uv pip install -r requirements.txt
Running the Server You can run the server directly to ensure it starts up.
Make sure your virtual environment is still active.
Use the uv run command to start the server:
uv run server.py
You should see output indicating the server has started on http://localhost:8000. You can stop it by pressing CTRL+C.
Testing with MCP Inspector The recommended way to test and debug the server is with the official MCP Inspector. The inspector will launch your server for you and provide a web-based UI to interact with it.
Stop the server if it is currently running (press CTRL+C in its terminal).
In your terminal (with the venv still active), run the following command:
npx @modelcontextprotocol/inspector uv run server.py
This command does two things:
npx ...: Downloads and runs the MCP Inspector tool.
uv run server.py: Tells the inspector how to start your Python server.
The terminal will display a message like: 🔍 MCP Inspector is up and running at http://127.0.0.1:6274
Open that URL (http://1227.0.0.1:6274) in your web browser.
In the Inspector UI, click the "▶︎ Connect" button to connect to your server and begin testing its tools and resources.
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.
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple example MCP server that demonstrates basic server functionality and can be easily run using uv package manager. Provides a minimal implementation for learning and development purposes.Last updated1
- -license-quality-maintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Serves as a template for building custom MCP servers with both stdio and HTTP transport support.Last updated
- -license-quality-maintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Serves as a template for building custom MCP servers with both stdio and HTTP transport support.Last updated
- -license-quality-maintenanceA basic MCP server built with FastMCP framework that provides example tools including message echoing and server information retrieval. Supports both stdio and HTTP transports with Docker deployment capabilities.Last updated
Related MCP Connectors
Primarily to be used as a template repository for developing MCP servers with FastMCP in Python, P…
A very simple remote MCP server that greets you, with a custom icon.
A basic MCP server to operate on the Postman API.
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/rory-mccrory/mcp-example-simple'
If you have feedback or need assistance with the MCP directory API, please join our Discord server