GlassFlow MCP Server
OfficialAllows querying pipeline metrics and custom PromQL queries against VictoriaMetrics, enabling monitoring of throughput, latency, dead-letter queue rate, and other operational metrics.
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., "@GlassFlow MCP Serverdiagnose my pipeline named order-stream"
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.
GlassFlow MCP Server
Model Context Protocol server for managing and diagnosing GlassFlow streaming pipelines. Exposes pipeline CRUD, metrics queries, log search, and a composite diagnostic tool as MCP tools that AI agents (Claude Code, etc.) can call over SSE transport.
Features
Multi-cluster — connect to multiple GlassFlow deployments and switch between them at runtime
Pipeline management — create, list, get, edit, stop, resume, delete pipelines
Diagnostics — query throughput, latency, DLQ state, and error logs
diagnose_pipeline— single-call diagnostic snapshot combining health, metrics, DLQ, and recent errorsV3 config reference — MCP resource with the complete pipeline configuration format
Uses the official GlassFlow Python SDK
Quick start
Local development
pip install -e .
# Option A: auto-connect a default cluster via env var
export GLASSFLOW_API_URL="http://localhost:8081"
python -m glassflow_mcp.server
# Option B: start with no cluster, connect at runtime via tools
python -m glassflow_mcp.serverConnect Claude Code
claude mcp add --transport sse glassflow http://localhost:8080/sseStart a new Claude Code session — the GlassFlow tools will appear automatically.
Available tools
Cluster management
Connect to one or more GlassFlow clusters and switch between them. All pipeline and diagnostic tools operate against the active cluster.
Tool | Description |
| Register a GlassFlow cluster by name + API URL (+ optional VM/VL URLs) |
| Show all connected clusters with active indicator |
| Change the active cluster |
| Remove a cluster connection |
Example flow:
You: "Connect to my staging cluster at http://staging-api:8081"
→ Agent calls: connect_cluster(name="staging", api_url="http://staging-api:8081")
You: "List my pipelines"
→ Agent calls: list_pipelines() (uses staging)
You: "Now connect to production at http://prod-api:8081"
→ Agent calls: connect_cluster(name="production", api_url="http://prod-api:8081")
You: "Switch to production"
→ Agent calls: switch_cluster("production")
You: "List pipelines"
→ Agent calls: list_pipelines() (now uses production)If GLASSFLOW_API_URL is set as an env var, the server auto-connects a default cluster on startup for backwards compatibility.
Pipeline management
Tool | Description |
| List all pipelines with status |
| Get full V3 pipeline configuration |
| Get pipeline health and status |
| Create a new pipeline (V3 JSON config) |
| Edit a stopped pipeline |
| Stop a running pipeline |
| Resume a stopped pipeline |
| Delete a pipeline |
Diagnostics
Tool | Description |
| Complete diagnostic snapshot (health + metrics + DLQ + errors) |
| Query specific metrics (throughput, latency, DLQ rate, bytes) |
| Custom PromQL query (restricted to |
| Search logs by pipeline, severity, and component |
| Recent ERROR/WARN logs for a pipeline |
| Dead-letter queue message count |
Resources
URI | Description |
| Complete V3 pipeline configuration reference with examples |
Configuration
All configuration is via environment variables. These configure the default cluster that auto-connects on startup. Additional clusters can be added at runtime via connect_cluster.
Variable | Default | Description |
|
| GlassFlow REST API URL (default cluster) |
|
| VictoriaMetrics URL (default cluster) |
|
| VictoriaLogs URL (default cluster) |
|
| Port the SSE server listens on |
VictoriaMetrics and VictoriaLogs URLs are optional — metrics and log tools gracefully degrade when not configured for a cluster.
Deployment
Docker
docker build -t glassflow-mcp-server .
docker run -p 8080:8080 \
-e GLASSFLOW_API_URL=http://your-glassflow-api:8081 \
glassflow-mcp-serverKubernetes
Example manifests are provided in k8s/examples/. Copy them, edit the CHANGEME values, and apply:
kubectl apply -f k8s/examples/deployment.yaml -f k8s/examples/service.yamlThen connect via port-forward:
kubectl port-forward -n <namespace> svc/glassflow-mcp 8080:8080
claude mcp add --transport sse glassflow http://localhost:8080/sseSee k8s/README.md for full details including optional Ingress setup.
PyPI
pip install mcp-server-glassflow
mcp-server-glassflowDevelopment
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest -v
# Lint
ruff check src/ tests/
ruff format --check src/ tests/License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/glassflow/glassflow-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server