MCP Learning
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 LearningWhat's the weather in Tokyo?"
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 Learning
A simple Python MCP (Model Context Protocol) server built with FastMCP, created while learning how MCP servers work.
What this project does
This server exposes two tools that can be called through an MCP client (like the MCP Inspector):
get_weather(city)— returns a sample weather response for a given cityadd_numbers(a, b)— returns the sum of two numbers
Related MCP server: Banana
Tech used
Python
FastMCP (
mcp.server.fastmcp)MCP Inspector for testing
How to run
Install dependencies:
pip install "mcp[cli]"Run the server directly:
py server.pyOr launch it through the Inspector (recommended for testing):
npx @modelcontextprotocol/inspector py server.pyIn the Inspector UI, click Connect, go to the Tools tab, click List Tools, and try out
get_weatheroradd_numbers.
What I learned
Setting up a basic MCP server using FastMCP
Fixing a Windows PATH issue (
pythonnot recognized → usepyinstead)Connecting a Node.js-based Inspector to a Python server as a subprocess
Debugging simple typos in tool decorators (
@mcp.tool())
Next steps
Add more tools
Explore MCP resources and prompts
Connect this server to a real MCP client
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
- 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/pudileena20-ops/mcp_learning'
If you have feedback or need assistance with the MCP directory API, please join our Discord server