server-hub-mcp
Click on "Deploy 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., "@server-hub-mcpshow me active alerts for the production servers"
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.
Server Hub
Server Hub is a Python service that exposes server-management and operational capabilities through both REST and Model Context Protocol (MCP).
The project separates application behavior from the interfaces used to consume it, allowing REST clients, MCP clients, and AI agents to work with the same underlying capabilities.
Architecture
Server Hub separates interface concerns from application behavior. REST and MCP act as interface boundaries around shared application capabilities, which in turn interact with persistence.
flowchart LR
RESTClient["REST Client"] --> REST["REST API"]
MCPClient["MCP Client / AI Agent"] --> MCP["MCP Server"]
REST --> App["Application Layer"]
MCP --> App
App --> Domain["Domain / Models"]
App --> Persistence["Persistence"]
Persistence --> DB[("Database")]Conceptually:
REST Client ──→ REST API ──┐
├──→ Application Layer ──→ Persistence
MCP Client ──→ MCP Server ─┘This separation provides:
shared application behavior;
transport independence;
reduced duplication of business logic;
persistence isolation;
independently testable interfaces.
MCP Server
The MCP server exposes operational capabilities as tools that MCP-aware clients and AI agents can discover and invoke.
Available tools
Tool | Purpose |
| Search for servers by partial name or IP address |
| Retrieve detailed information for one server |
| Retrieve recent metrics for a server |
| Retrieve currently active alerts |
| Retrieve aggregate system statistics |
| Create an operational alert |
The MCP interface is intentionally focused on meaningful operational capabilities rather than exposing persistence implementation details.
Related MCP server: quads-mcp
Server identification
MCP-facing operations use meaningful server identifiers such as:
web-server-01
192.168.1.10The application layer resolves these identifiers to internal records.
Tool discovery
MCP clients can initialize a session and discover the available capabilities through the standard MCP tool-discovery flow.
REST API
The REST interface exposes the application's server-management and operational capabilities through HTTP.
The API includes capabilities for:
server discovery and lookup;
server status and details;
server metrics;
active alerts;
alert creation;
aggregate system statistics.
REST is an interface to the same application capabilities used by MCP rather than a separate implementation of the business logic.
REST ↔ MCP
REST and MCP are two interfaces over the same application capabilities.
REST request ──┐
├──→ Application Layer
MCP tool call ─┘The project includes explicit REST ↔ MCP equivalence tests to verify that the two interfaces expose equivalent capabilities and data while allowing their response envelopes to remain interface-specific.
The objective is to keep the application behavior consistent regardless of whether a capability is reached through HTTP or MCP.
MCP Playground
Server Hub includes an integrated MCP Playground for exploring and observing LLM ↔ MCP interactions.
The Playground provides a visual environment where an LLM can discover and invoke MCP tools, while the interaction between the LLM and MCP server is made visible through the execution flow and tool activity.
For complete documentation, configuration, usage, and implementation details, see the MCP Playground README.
Demo
The following video demonstrates the Playground in action, showing an LLM interacting with the MCP server through tool discovery and execution:
https://github.com/user-attachments/assets/97d4fb0d-9989-4ad6-a072-119335ba26d0
Project Structure
The project is organized around the application, interface adapters, tests, documentation, and supporting development resources.
app/
├── api/
├── mcp/
└── ...
playground/
└── ...
tests/
docs/
scripts/The Playground has its own documentation and is intentionally documented separately from the main project.
Testing
The project includes automated tests for the REST and MCP interfaces and for their equivalence.
Run the test suite with:
pytest -qThe main test areas include:
tests/
├── test_api.py
├── test_mcp.py
└── test_rest_mcp_equivalence.pyAdditional integration and validation material is maintained in the repository's supporting test and script resources.
Development
Create a virtual environment:
python -m venv .venv
source .venv/bin/activateInstall the project with test dependencies:
pip install -e ".[test]"Run the tests:
pytest -qThe repository contains the application components and supporting resources required to run and validate the REST and MCP services locally.
Documentation
Additional project documentation is available under:
docs/The repository also contains Architecture Decision Records and other architectural material.
For Playground-specific documentation, see:
The Playground README is the authoritative documentation for the Playground's configuration, usage, UI, execution behavior, and implementation details.
Design Principles
Shared application behavior
REST and MCP consume the same application capabilities rather than maintaining separate business logic.
Transport independence
Application behavior should not depend on whether the request arrived through REST or MCP.
Interface adapters
REST and MCP act as boundaries around the application layer.
Persistence isolation
Persistence implementation details remain behind the application boundary.
Meaningful MCP operations
MCP tools expose operational capabilities and identifiers that are useful to clients and AI agents.
Current Status
Server Hub currently provides:
a REST API;
an MCP server;
shared application capabilities behind both interfaces;
REST ↔ MCP equivalence testing;
an integrated MCP Playground for exploring LLM/MCP interactions.
The Playground is maintained as a separate documented component within the project.
License
No license is currently specified in the project materials.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for AIStatusDashboard status, incidents, metrics, and fallback recommendations.
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
Guarded MCP server for agent-readable business truth, provenance, readiness, and discovery.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides comprehensive monitoring and observability for MCP server ecosystems with real-time health checks, performance metrics, distributed tracing, anomaly detection, and automated performance reports using OpenTelemetry and Prometheus.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with QUADS infrastructure systems via API, enabling resource management and automation through LLM applications.MIT
- FlicenseNot gradedqualityCmaintenanceExposes DevOps/SRE operations like Kubernetes pod status, Prometheus metrics queries, and deploy history as tools for MCP-compatible clients.-
- FlicenseNot gradedqualityCmaintenanceAn MCP server that exposes RAG search, ServiceNow, and observability tools to MCP clients, and proxies curated calls to remote ServiceNow and observability MCP servers.-