fiber

v1.4.0
io.github.superlabs-x/fiber Checked 2 days ago Published 11 days ago

Optical ops MCP for AI data centers: telemetry, RUL, digital twin, NCCL, SPARQL.

Values you need

VariableWhat it is
FIBER_API_URLoptional Base URL of the FIBER deployment (e.g., https://api.fiber.ac or http://localhost:8000 for self-hosted). Default: https://api.fiber.ac
FIBER_API_KEYrequired secret Bearer token for the FIBER API (no default since 1.4.0). Role decides which tools work: viewer (36 read tools), operator (+write), admin (all). Use a viewer key for assistants.
FIBER_ENABLE_WRITEoptional Set to 1 to expose the 4 write tools: demo trigger, NCCL ingest, RMA create, GCM ingest. Defaults to read-only for safety. Default: 0
FIBER_MCP_TOOLS_ALLOWLISToptional (v1.0.2; enforced at call time since v1.2.0) Optional CSV of tool names. When set, only these tools are listed AND callable — letting operators scope autonomous agents to a minimum surface (e.g. 'fiber_health,fiber_cluster_overview,fiber_list_alerts'). Empty = all tools exposed (default).
FIBER_MCP_AUDIT_LOGoptional (v1.2.0) Path of the JSONL audit trail written one line per tool call (ts, tool, status, duration_ms, redacted args). Set to 'off' to disable. Default ~/.fiber-mcp/audit.jsonl. Default: ~/.fiber-mcp/audit.jsonl
FIBER_HTTP_TIMEOUToptional Per-request HTTP timeout in seconds. Increase if running Digital Twin Monte Carlo with iterations>1000. Default: 30

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add fiber -e 'FIBER_API_KEY=<FIBER_API_KEY>' -- uvx --from fiber-ac-mcp==1.4.0 fiber-mcp-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "fiber": {
      "args": [
        "--from",
        "fiber-ac-mcp==1.4.0",
        "fiber-mcp-server"
      ],
      "command": "uvx",
      "env": {
        "FIBER_API_KEY": "<FIBER_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "fiber": {
      "args": [
        "--from",
        "fiber-ac-mcp==1.4.0",
        "fiber-mcp-server"
      ],
      "command": "uvx",
      "env": {
        "FIBER_API_KEY": "<FIBER_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FIBER_API_KEY",
      "id": "fiber-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "fiber": {
      "args": [
        "--from",
        "fiber-ac-mcp==1.4.0",
        "fiber-mcp-server"
      ],
      "command": "uvx",
      "env": {
        "FIBER_API_KEY": "${input:fiber-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.fiber]
command = "uvx"
args = ["--from", "fiber-ac-mcp==1.4.0", "fiber-mcp-server"]
env = { "FIBER_API_KEY" = "<FIBER_API_KEY>" }

For AI agents

  1. Ask the user for: FIBER_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: fiber_health, fiber_info, fiber_cluster_overview, fiber_list_ports, fiber_port_detail_history, fiber_list_alerts, fiber_top_risky_ports, fiber_ml_rul_info, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json