MCP Server
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., "@MCP Serverwhat's today's date in YYYY-MM-DD format?"
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 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn 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 gradedqualityCmaintenanceAn 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