py-mcp-students
Allows interaction with a FastAPI-based student record server, providing tools to list all students, add a new student by name and age, and delete a student by name.
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., "@py-mcp-studentsList all students"
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.
py-mcp-students
A learning project that pairs a simple FastAPI student server with an MCP server, so an LLM like Claude can manage student records through natural language. The HTTP server stores students in memory and exposes endpoints for listing, adding, and deleting records. The MCP server wraps those endpoints as tools that Claude can call directly.
Running the simple server
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python server/server.pyThe server runs at http://127.0.0.1:8000.
Tool | Method | Description |
| GET | List all students |
| POST | Add a student by name and age |
| DELETE | Remove a student by name |
Related MCP server: Students Architecture MCP Server
Setting up the MCP server
Add the following to your Claude Desktop config under the mcpServers block:
"students-server": {
"command": "/path/to/py-mcp-students/.venv/bin/python",
"args": ["/path/to/py-mcp-students/mcp_server.py"]
}Replace /path/to/py-mcp-students with the absolute path to this repo. The MCP server communicates over stdio and requires the simple server to be running separately.
Notes (to self)
I want to expand upon the comments for each method in the mcp server and see which comments are most effective
I want to use this as a learning basis for later mcp projects and look into effective routing for many mcp servers hosted on one url
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceWraps FastAPI REST endpoints as MCP tools, enabling natural language interaction with user management, task management, and mathematical calculations through Gemini CLI.1-
- FlicenseNot gradedqualityDmaintenanceEnables CRUD operations on student records via REST API and MCP interface, with configurable JSON or SQLite persistence.-
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes a university course catalog to LLMs, enabling course search, prerequisite lookup, instructor details, and department directory through natural language.-
- FlicenseAqualityDmaintenanceAn MCP server that enables LLMs to make arbitrary HTTP requests (GET, POST, PUT, DELETE, etc.) with custom headers, bodies, and cookies, supporting JSON and error handling.12-