Metadata-Version: 2.4
Name: mcp-server-pp
Version: 1.0.0
Summary: MCP server providing tools for PharmaPendium data extraction workflows
Author: ELS-RJED Team
License-Expression: MIT
License-File: LICENSE
Keywords: excel,extraction,mcp,pharmacokinetic,pharmapendium,xlsx
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: azure-storage-blob>=12.19.0
Requires-Dist: mcp>=1.0.0
Requires-Dist: openpyxl>=3.1.5
Requires-Dist: pandas>=2.0.0
Description-Content-Type: text/markdown

# mcp-server-pp

MCP server providing tools for PharmaPendium data extraction workflows.

## Tools

### `json_to_xlsx`

Converts a JSON array into an XLSX file returned as an inline attachment.

**Parameters:**
- `json_data` (required): JSON array string
- `file_name` (optional): Output filename. Defaults to `extraction_results.xlsx`

### `save_xlsx_to_blob`

Converts a JSON array into an XLSX file, uploads it to Azure Blob Storage, and returns a download URL (valid 7 days).

**Parameters:**
- `json_data` (required): JSON array string
- `file_name` (optional): Output filename. Defaults to `extraction_results.xlsx`

**Required environment variable:** `AZURE_STORAGE_CONNECTION_STRING`

## Usage

### With uvx (no installation needed)

```bash
uvx mcp-server-pp
```

### MCP client config (e.g. Codemie, Claude Desktop)

```json
{
  "mcpServers": {
    "pp-tools": {
      "command": "uvx",
      "args": ["mcp-server-pp"],
      "env": {
        "AZURE_STORAGE_CONNECTION_STRING": "${AZURE_STORAGE_CONNECTION_STRING}"
      }
    }
  }
}
```
