nanohub-mcp

A zero-dependency Python library for creating Model Context Protocol (MCP) servers that integrate with nanoHUB/HubZero tools infrastructure.

Features:

  • Zero external dependencies (stdlib only)

  • Python 3.7+ compatible

  • SSE and Streamable HTTP transports

  • OpenAPI schema auto-generation

  • Direct REST-style tool calls

  • nanoHUB proxy integration out of the box

  • Context injection for logging, progress reporting, and elicitation

  • Async tools for long-running jobs (no proxy timeout)

Installation

pip install nanohub-mcp