yirifi-ops-mcp-hub
MCP (Model Context Protocol) servers for Yirifi Ops - expose REST APIs as MCP tools for AI assistants like Claude.
Installation
# Using uvx (recommended - no install needed)
uvx yirifi-ops-mcp-hub --version
# Using pip
pip install yirifi-ops-mcp-hub
# Using uv
uv pip install yirifi-ops-mcp-hub
Optional: TOON Format (Compact Responses)
For optimized token-efficient responses, install toon-format (currently in beta):
# Install from GitHub (recommended for beta)
pip install git+https://github.com/toon-format/toon-python.git
# Or clone and install locally
git clone https://github.com/toon-format/toon-python.git
cd toon-python
uv sync
Troubleshooting uvx Cache Issues
If uvx doesn't pick up the latest version after an upgrade:
# Clear cached environments and refresh
rm -rf ~/.cache/uv/environments* && uvx --refresh yirifi-ops-mcp-hub --version
Quick Start
Claude Code Configuration
Add to your Claude Code MCP settings (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"yirifi-ops": {
"command": "uvx",
"args": ["yirifi-ops-mcp-hub"],
"env": {
"YIRIFI_API_KEY": "your_api_key_here"
}
}
}
}
Or with specific options:
{
"mcpServers": {
"yirifi-dev": {
"command": "uvx",
"args": ["yirifi-ops-mcp-hub", "--mode=dev"],
"env": {
"YIRIFI_API_KEY": "your_api_key_here"
}
},
"yirifi-prd": {
"command": "uvx",
"args": ["yirifi-ops-mcp-hub", "--mode=prd"],
"env": {
"YIRIFI_API_KEY": "your_api_key_here"
}
}
}
}
CLI Options
# Run with all services (default)
YIRIFI_API_KEY=your_key uvx yirifi-ops-mcp-hub
# Run specific service
YIRIFI_API_KEY=your_key uvx yirifi-ops-mcp-hub --service=auth
# Development mode (localhost APIs)
YIRIFI_API_KEY=your_key uvx yirifi-ops-mcp-hub --mode=dev
# HTTP transport (for remote deployment)
uvx yirifi-ops-mcp-hub --transport=http --port=5200
Options:
--service:all(default),auth, orreg--mode:dev(localhost) orprd(remote, default)--transport:stdio(default) orhttp--port: HTTP port (default: 5200)
Utility Commands
# List available tools
uvx yirifi-ops-mcp-hub list-tools
# Test API connection
uvx yirifi-ops-mcp-hub test-connection --service=auth
# Show OpenAPI spec
uvx yirifi-ops-mcp-hub show-spec --service=auth
# Check version
uvx yirifi-ops-mcp-hub --version
Architecture
This package uses a tiered exposure system for safe AI access:
- DIRECT: Safe, frequent operations exposed as individual MCP tools
- GATEWAY: Admin/dangerous operations accessible via
{service}_api_callgateway tool - EXCLUDE: Internal endpoints never exposed
Spec-Driven Catalog (v0.4.0+)
Endpoints can be configured via OpenAPI x-mcp-* extensions or override files:
| Extension | Type | Default | Description |
|---|---|---|---|
x-mcp-tier |
direct|gateway|exclude |
gateway |
Exposure tier |
x-mcp-risk-level |
low|medium|high |
medium |
Risk classification |
x-mcp-name |
string |
operationId |
Override tool name |
x-mcp-description |
string |
summary |
Override description |
Environment Variables
YIRIFI_API_KEY: API key for authentication (required)AUTH_SERVICE_API_KEY: Service-specific fallback for authREG_SERVICE_API_KEY: Service-specific fallback for reg
License
Proprietary - Yirifi
Trigger CI
Metadata
Release files for yirifi-ops-mcp-hub 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yirifi_ops_mcp_hub-1.0.0.tar.gz | 105.6 kB | Without provenance | Details for yirifi_ops_mcp_hub-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yirifi_ops_mcp_hub-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for yirifi_ops_mcp_hub-1.0.0-py3-none-any.whl |
Total release size: 212.0 kB
Release files / yirifi_ops_mcp_hub-1.0.0.tar.gz
| Download URL | yirifi_ops_mcp_hub-1.0.0.tar.gz |
|---|---|
| Size | 105.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e18c34dc8091a6fa6a7aad6b021508d224874724e4d2386da7e30d06febc7c45
|
|
BLAKE2b-256 checksum How to use checksums |
33d47f37cb1c79ddb88c879286e92054e175b7e0fd24688dc938a94f3b9978ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / yirifi_ops_mcp_hub-1.0.0-py3-none-any.whl
| Download URL | yirifi_ops_mcp_hub-1.0.0-py3-none-any.whl |
|---|---|
| Size | 106.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
750feb5e6b3a353d9d0e3856ddb5cee8367fa8bdce7ff72f5f97e3380e4a2807
|
|
BLAKE2b-256 checksum How to use checksums |
da98554983606797d9ca9eb098d3102f36c6e2408a381f452a4b3368c67658d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for yirifi-ops-mcp-hub 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.