Skip to main content
Glama
drrycc0625

kpi-mcp-spike

by drrycc0625

kpi-mcp-spike

Minimal MCP server (Streamable HTTP) for a Copilot Studio connectivity POC. One tool: ping() -> {"ok": true, "message": "kpi-mcp-alive"}. No KPI data. Auth: None.

Run in GitHub Codespaces (primary)

pip install -r requirements.txt
python server.py            # listens on 0.0.0.0:8000, endpoint /mcp

Then in the PORTS tab: right-click port 8000 -> Port Visibility -> Public. The public URL looks like https://<codespace>-8000.app.github.dev; the MCP endpoint is that + /mcp.

Verify from a second terminal:

python test_client.py https://<codespace>-8000.app.github.dev/mcp
# expect: tools: ['ping']  /  ping: [... "kpi-mcp-alive" ...]

Related MCP server: Echo MCP Server

Copilot Studio

Tools -> Add a tool -> Model Context Protocol. Server URL: https://<codespace>-8000.app.github.dev/mcp (must end with /mcp). Authentication: None.

Render fallback (if the public port can't be used)

Uses app.py (ASGI object) instead of server.py. Build command: pip install -r requirements.txt Start command: python -m uvicorn app:app --host 0.0.0.0 --port $PORT

Related MCP Connectors

Related MCP Servers

  • -
    license
    C
    quality
    Not graded
    maintenance
    A simple boilerplate MCP server that provides a basic greeting tool for demonstration purposes. Serves as a starting template for developers to quickly create and deploy custom MCP servers.
    1
    6 npm
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.
    1
    -
  • F
    license
    A
    quality
    D
    maintenance
    Minimal MCP server that enables network connectivity testing via ping commands from VS Code Chat. Features cross-platform support and secure execution using execFile with input validation to prevent command injection.
    1
    -