Provides built-in kubectl port-forward management with auto-restart capabilities for connecting to Unblu deployments running in Kubernetes clusters.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unblu MCP Serverlist all conversations from yesterday"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
unblu-mcp
A Model Context Protocol (MCP) server for debugging and operating Unblu deployments. Optimised for debugging workflows ā curated typed tools for common operations, plus an escape hatch for the full 300+ endpoint API.
š Full Documentation
Design
The server exposes three layers, each progressively more powerful:
Layer | What it is | When to use |
Curated tools | Typed, token-efficient tools for common debugging tasks | 90% of debugging sessions |
| Generic escape hatch for any of 331 Unblu API operations | When a curated tool doesn't exist |
Resources | Read-only | Discovery and schema inspection |
Quick Start
Installation
uvx unblu-mcpOr install persistently: uv tool install unblu-mcp
MCP Client Configuration
Direct API access with an API key:
{
"mcpServers": {
"unblu": {
"command": "uvx",
"args": ["unblu-mcp"],
"env": {
"UNBLU_BASE_URL": "https://your-instance.unblu.cloud/app/rest/v4",
"UNBLU_API_KEY": "your-api-key"
}
}
}
}Kubernetes port-forward (auto-managed):
For --provider k8s, you need all of the following:
kubectlinstalled and available to the MCP client processa valid Kubernetes login with access to the target namespace
a K8s environment map in
~/.unblu-mcp/k8s_environments.yamlor passed with--k8s-config
Quick bootstrap:
mkdir -p ~/.unblu-mcp
uvx unblu-mcp --print-k8s-config-template > ~/.unblu-mcp/k8s_environments.yamlThe --environment value must match a key from that YAML file, such as dev, test1, or t1.
Minimal config file:
environments:
dev:
local_port: 8084
namespace: unblu-dev
service: haproxy
service_port: 8080
api_path: /app/rest/v4Then point your MCP client at that environment:
{
"mcpServers": {
"unblu": {
"command": "uvx",
"args": ["unblu-mcp", "--provider", "k8s", "--environment", "dev"],
"env": {
"PATH": "/Users/YOUR_USERNAME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin"
}
}
}
}The env block is optional if your MCP client already inherits a PATH that includes both uvx and kubectl. Keep it if the client cannot otherwise find those binaries.
Tools
Curated tools (read-only)
Tool | Description |
| Current account info ā good first call to verify connectivity |
| Search conversations with filters |
| Full conversation detail with participants |
| Find persons (visitors, agents) |
| Full person detail |
| Batch-resolve up to 20 persons in parallel |
| Find registered users |
| Full user detail |
| Check agent availability per named area |
| List named areas (routing targets) |
| Discover API operations by keyword |
Mutation tools
Tool | Description |
| Assign a conversation to an agent |
| End an active conversation |
Escape hatch
Tool | Description |
| Execute any of the 331 Unblu API operations |
Resources
URI | Description |
| JSON list of all API service groups |
| Full resolved schema for a specific operation |
Prompts
Prompt | Description |
| Step-by-step debugging workflow for a conversation |
| Locate an agent and check their availability |
| Validate account configuration and connectivity |
Development
git clone https://github.com/detailobsessed/unblu-mcp.git
cd unblu-mcp
uv sync --all-extras --dev
uv run poe testLicense
ISC License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.