mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-03-23 04:29:17 -07:00
- Add fastmcp.http.json and fastmcp.stdio.json declarative server configs for streamable-http (:6970) and stdio transports respectively - Move register_all_modules() to module level in server.py so `fastmcp run server.py --reload` discovers the fully-wired mcp object without going through run_server() — tools registered exactly once - Add timeout=120 to @mcp.tool() decorator as a global safety net; any hung subaction returns a clean MCP error instead of hanging forever - Document fastmcp run --reload, fastmcp list, fastmcp call in README - Bump version 1.0.1 → 1.1.0 Co-authored-by: Claude <claude@anthropic.com>
24 lines
484 B
JSON
24 lines
484 B
JSON
{
|
|
"$schema": "https://gofastmcp.com/public/schemas/fastmcp.json/v1.json",
|
|
"source": {
|
|
"path": "unraid_mcp/server.py",
|
|
"entrypoint": "mcp"
|
|
},
|
|
"environment": {
|
|
"type": "uv",
|
|
"python": "3.12",
|
|
"editable": ["."]
|
|
},
|
|
"deployment": {
|
|
"transport": "http",
|
|
"host": "0.0.0.0",
|
|
"port": 6970,
|
|
"path": "/mcp",
|
|
"log_level": "INFO",
|
|
"env": {
|
|
"UNRAID_API_URL": "${UNRAID_API_URL}",
|
|
"UNRAID_API_KEY": "${UNRAID_API_KEY}"
|
|
}
|
|
}
|
|
}
|