MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Server
A lightweight Model Context Protocol (MCP) server built from scratch in Python, implementing Streamable HTTP, JSON-RPC 2.0, and Server-Sent Events (SSE).
The server allows MCP-compatible clients to discover and execute tools through a standardized interface without relying on an MCP SDK.
Features
MCP protocol version
2026-07-28Streamable HTTP transport
JSON-RPC 2.0 request and response handling
Tool discovery and execution
Real-time timer notifications using SSE
Input validation and error handling
Automated unit and HTTP integration tests
Related MCP server: Simple MCP Server
Available Tools
Tool | Description |
| Returns the current date in a specified format. |
| Returns the weekday for a given date. |
| Runs a timer with progress updates every 10 seconds. |
| Evaluates mathematical expressions using |
Project Structure
src/
├── __init__.py
├── server.py
├── protocol.py
└── tools.py
tests/
├── test_protocol.py
├── test_server.py
└── test_tools.pyserver.py — Handles HTTP requests, responses, and SSE streaming.
protocol.py — Implements MCP discovery, JSON-RPC, and tool validation.
tools.py — Contains the implementations of the four tools.
tests/ — Contains unit and HTTP integration tests.
Getting Started
Prerequisites
Installation
Clone the repository and install dependencies:
git clone https://github.com/EfazAhmed/CSEE-4119-Project-1-MCP-Server.git
cd CSEE-4119-Project-1-MCP-Server
uv syncRunning the Server
Start the MCP server:
just runThe server runs locally at:
http://localhost:8000/mcpTesting with MCP Inspector
In a separate terminal, launch MCP Inspector:
just inspectorConnect using:
Transport: Streamable HTTP
Protocol Era: Modern (
2026-07-28)Server URL:
http://localhost:8000/mcp
Use the Tools tab to discover and execute the available tools.
Testing
Run the automated test suite:
just testThe project includes 20 automated tests covering:
Tool functionality and input validation
MCP discovery and JSON-RPC handling
HTTP requests and responses
SSE timer notifications
Development
Command | Description |
| Start the MCP server |
| Launch MCP Inspector |
| Run automated tests |
| Check code with Ruff |
| Automatically fix supported lint errors |
| Format Python code |
License
This project is licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Remote MCP for JSON repair, hashing, formatting, IDs, dates, units, and other small tools.
Toolstile is a managed MCP gateway that connects remote MCP servers behind one endpoint, with per-agent permissions, shared accounts and activity logs. Connect at https://mcp.toolstile.com/mcp over Streamable HTTP with OAuth; sign in at https://toolstile.com, select a workspace and connect your upstream servers. Available tools, resources and prompts depend on that workspace and the agent's granted access.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP (Model Context Protocol) server implementation using HTTP SSE (Server-Sent Events) connections with built-in utility tools including echo, time, calculator, and weather query functionality.2MIT
- AlicenseNot gradedqualityDmaintenanceA self-contained, dependency-free MCP server that provides utility tools for time, date, mathematical calculations, and shell command execution. It supports remote connectivity through SSE and is designed for easy deployment via Docker.GPL 3.0
- FlicenseAqualityDmaintenanceA general-purpose MCP server providing time-related utilities such as fetching current time, Unix timestamps, and formatting services. It supports both local stdio and remote SSE communication modes for versatile AI client integration.3-
- AlicenseNot gradedqualityDmaintenanceAn MCP server framework enabling standardized tool registration, discovery, and invocation over JSON-RPC 2.0, with support for InProcess, SSE, and WebSocket transports, plus built-in tools such as calculator, text processor, and JSON formatter.MIT