MCP Server Implementation

by jalzoubi

223 downloads
Not rated
GitHub

Description

# MCP Server Implementation **Name**: Jafar Alzoubi **Student ID**: A20501723 ## Implemented Capabilities - HDF5 (Data) - Slurm (Tool) ## Setup 1. Install uv: `pip install uv` 2. Create environment: `uv venv` 3. Activate: `source .venv/bin/activate` 4. Sync dependencies: `uv…

About

# MCP Server Implementation **Name**: Jafar Alzoubi **Student ID**: A20501723 ## Implemented Capabilities - HDF5 (Data) - Slurm (Tool) ## Setup 1. Install uv: `pip install uv` 2. Create environment: `uv venv` 3. Activate: `source .venv/bin/activate` 4. Sync dependencies: `uv sync` ## Running Server `uvicorn…

Details

Author
jalzoubi
Downloads
223
Categories
Other

- HDF5 data operations (list, read, metadata)
- Slurm job submission simulation with status tracking
- Full JSON-RPC 2.0 compliance
- Async request processing
- 100% test coverage for both capabilities
- Mock data included in mock_data/ directory

Install uv, create and activate a virtual environment, sync dependencies with uv sync, then start the server with uvicorn src.server:app --reload. Interact via HTTP POST to http://127.0.0.1:8000/mcp with JSON-RPC 2.0 payloads. Run tests with pytest tests/.

MCP Server Implementation

Name: Jafar Alzoubi
Student ID: A20501723

Implemented Capabilities

- HDF5 (Data) - Slurm (Tool)

Setup

1. Install uv: pip install uv 2. Create environment: uv venv 3. Activate: source .venv/bin/activate 4. Sync dependencies: uv sync

Running Server

uvicorn src.server:app --reload

Running Tests

pytest tests/

Assumptions

- HDF5 mock data stored in mock_data/hdf5 - Slurm simulation uses local echo commands
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.