fiber
v1.4.0Optical ops MCP for AI data centers: telemetry, RUL, digital twin, NCCL, SPARQL.
Values you need
| Variable | What it is | |
|---|---|---|
FIBER_API_URL | optional | 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_KEY | required 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_WRITE | optional | 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_ALLOWLIST | optional | (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_LOG | optional | (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_TIMEOUT | optional | 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-serverAdd 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
- Ask the user for: FIBER_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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