MCP Server
Provides a command-line interface for interacting with the MCP server endpoints, allowing users to make requests for tool listing and other server capabilities.
Supports testing capabilities for the MCP server, allowing test execution with coverage reporting to validate server functionality.
Enables interaction with Python-based services, supporting HDF5 file operations (read datasets, list contents), Slurm job management (submit jobs, check status), hardware monitoring, and data compression/decompression.
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
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:
uv venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
uv pip install -e ".[test]"Running
To startup the server run:
python -m src.serverThis will autoclocate the server at http://localhost:8000.
Related MCP server: MCP Server
Endpoints
POST /mcp: Main endpoint for MCP requestsGET /health: Health check endpoint
Examples:
import httpx
async with httpx.AsyncClient() as client:
# Read a dataset
response = await client.post("http://localhost:8000/mcp", json={
"capability": "hdf5",
"action": "read_dataset",
"parameters": {
"file_path": "/path/to/data.h5",
"dataset_path": "/path/to/dataset"
}
})
# List contents
response = await client.post("http://localhost:8000/mcp", json={
"capability": "hdf5",
"action": "list_contents",
"parameters": {
"file_path": "/path/to/data.h5",
"group_path": "/"
}
})curl -X POST http://localhost:8000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "mcp/listTools",
"params": {},
"id": "1"
}'Testing
For testing rung:
pytestFor tests with coverage:
pytest --cov=srcThis server cannot be deployed
Maintenance
Related MCP Connectors
QuLab MCP remote server (Streamable HTTP) for computational science and lab tools.
MCP server for the GDEX (Geoscience Data Exchange) data portal: datasets, files, metrics, subsetting
An MCP server that measures MCP client behaviour and converts EBCDIC to ASCII, which nobody needs.
MCP compatibility and transport verification server.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA FastAPI-based JSON-RPC 2.0 server implementation that enables users to work with HDF5 files, submit Slurm jobs, retrieve CPU information, and visualize CSV data through standardized API endpoints.-
- FlicenseNot gradedqualityDmaintenanceA JSON-RPC 2.0 compliant server that enables interaction with HDF5 data files and Slurm job scheduling through standardized API endpoints.-
- AlicenseBqualityDmaintenanceA server that provides Model Control Protocol (MCP) tools for High Performance Computing, designed to integrate with Large Language Models in IDEs like Cursor and VSCode for debugging and other HPC tasks.13MIT
- FlicenseAqualityCmaintenanceAn MCP server that enables LLMs to execute Python code on GPU-accelerated compute nodes within SLURM-managed HPC environments. It bridges local clients to remote clusters by launching JupyterLab sessions via SLURM jobs to facilitate high-performance notebook-based computation.7-