Skip to main content

A model context protocol server for interacting with Unblu deployments.

Project description

unblu-mcp

ci documentation pypi version python versions license FastMCP

A Model Context Protocol (MCP) server for interacting with Unblu deployments. Provides AI assistants with token-efficient access to 300+ Unblu API endpoints through progressive disclosure.

📚 Full Documentation

Features

  • Progressive Disclosure — 5 discovery tools instead of 300+ API definitions upfront
  • Full API Coverage — Access to all Unblu REST API v4 endpoints
  • Smart Discovery — Search and browse operations by service category or keyword
  • Safety Controls — MCP annotations + optional Eunomia policy enforcement
  • K8s Integration — Built-in kubectl port-forward management with auto-restart

Quick Start

Installation

uv tool install unblu-mcp

MCP Client Configuration

Add to your MCP client config (Claude Desktop, Windsurf, etc.):

{
  "mcpServers": {
    "unblu": {
      "command": "unblu-mcp",
      "args": ["--provider", "k8s", "--environment", "dev"],
      "env": {
        "PATH": "/Users/YOUR_USERNAME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin"
      }
    }
  }
}

Or with environment variables for direct API access:

{
  "mcpServers": {
    "unblu": {
      "command": "unblu-mcp",
      "env": {
        "PATH": "/Users/YOUR_USERNAME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin",
        "UNBLU_BASE_URL": "https://your-instance.unblu.cloud/app/rest/v4",
        "UNBLU_API_KEY": "your-api-key"
      }
    }
  }
}

Available Tools

Tool Description
list_services() List all API service categories
list_operations(service) List operations in a specific service
search_operations(query) Search for operations by keyword
get_operation_schema(operation_id) Get full schema for an operation
call_api(operation_id, ...) Execute any API operation

Documentation

For complete documentation including:

  • Detailed configuration options
  • Kubernetes provider setup
  • Safety & authorization policies
  • Programmatic usage
  • Troubleshooting

Visit detailobsessed.github.io/unblu-mcp

Development

git clone https://github.com/detailobsessed/unblu-mcp.git
cd unblu-mcp
uv sync --all-extras --dev
uv run poe test

License

ISC License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unblu_mcp-0.5.2.tar.gz (227.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unblu_mcp-0.5.2-py3-none-any.whl (230.9 kB view details)

Uploaded Python 3

File details

Details for the file unblu_mcp-0.5.2.tar.gz.

File metadata

  • Download URL: unblu_mcp-0.5.2.tar.gz
  • Upload date:
  • Size: 227.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for unblu_mcp-0.5.2.tar.gz
Algorithm Hash digest
SHA256 19ea94eca2f57a975ba91ae240f23d4432d9becfbf8b7b71d037b525e0946f75
MD5 0db1e20a71b05895bef6519e2c76b64e
BLAKE2b-256 c150303c0105cbf744c329741c4cb6bb6b917caca4506d8d021d7bcb781e0af8

See more details on using hashes here.

File details

Details for the file unblu_mcp-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: unblu_mcp-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 230.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for unblu_mcp-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 846f6e0a9475c46f364d6c0ba0b50a4b219dc457e4a7935618f141d8848c3153
MD5 10cf748b9d5f7c90477c425ecf570c55
BLAKE2b-256 56927e8e15086457172ed81531dde589b21e88161a46026e2d7d037f2b22f37f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page