mcp-server
By: Zack Chaffee A20478873
A server implementing Model Coupling Protocol (MCP) capabilities for HDF5 file operations and Slurm job management.
Features
HDF5 file operations:
- Read datasets
- List file contents
Slurm job management:
- Submit jobs
- Check job status
Node Hardware Operations
- Get CPU information
- Get memory information
- Get disk information
- Get comprehensive system information
Compression Operations
- Compress string data with gzip or zlib
- Compress files with gzip or zlib
- Decompress data
Initialization
Once you clone this reponsitory cd into it
After this hwe will create a virtual enviornment and install all dependincies:
Copy
Running
To startup the server run:
Copy
This will autoclocate the server at http://localhost:8000.
Endpoints
POST /mcp
: Main endpoint for MCP requestsGET /health
: Health check endpoint
Examples:
Copy
Copy
Testing
For testing rung:
Copy
For tests with coverage:
Copy
This server cannot be installed
A server implementing Model Coupling Protocol for HDF5 file operations, Slurm job management, hardware monitoring, and data compression.