Metadata-Version: 2.4
Name: mycelium-public-mcp
Version: 1.0.1
Summary: Public MCP tools for authorized NECTAR data evaluations
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# MYCELIUM Public MCP Server 1.0.1

<!-- mcp-name: io.github.ZigZadZ/mycelium -->

A Python 3.10+ stdio MCP server for authorized NECTAR data evaluations. It includes the public MYCELIUM SDK 1.0.0 and declares its tools through MCP `tools/list`.

| Tool | What it does |
| --- | --- |
| `nectar_catalog` | Lists the NECTAR Refinery and Data Quality contracts. |
| `nectar_assess` | Checks sample eligibility using a service ID, record count and canonical JSON byte count. |
| `nectar_refine` | Sends an approved Refinery sample and returns the output and verified receipt. |
| `nectar_data_quality` | Sends an approved Data Quality sample and returns the output and verified receipt. |

Install the release wheel into a virtual environment and set the MCP client's stdio command to the resulting `mycelium-public-mcp` executable. After PyPI publication, the equivalent command is `uvx mycelium-public-mcp==1.0.1`.

For offline discovery, start the server with both NECTAR environment variables unset. To enable NECTAR calls, configure `NECTAR_ORIGIN` as the exact operator-approved HTTPS origin without a trailing slash and inject `NECTAR_TOKEN` as the operator-issued grant through the MCP client or secret manager. Use only records that you have permission to send to the approved operator.

Evaluation requires `confirm: true` after the operator or data owner approves sending the sample and using a grant attempt. The server checks eligibility first and submits the sample once. A failure can follow a consumed attempt. Check grant state before retrying. Canonical request size is measured as compact, sorted-key UTF-8 JSON. The maximum sample is 100 records and 65,536 bytes.
