Skip to content

Commit 7bc6f72

Browse files
claude[bot]tumf
andauthored
fix: remove unsupported FastMCP parameters to resolve TypeError
The FastMCP constructor was being called with unsupported parameters: - allow_iframe=True (causing TypeError) - allow_cors=True (also unsupported) Removed these parameters to fix the crash when running uvx [email protected] Fixes #19 Co-authored-by: tumf <[email protected]>
1 parent 49def9e commit 7bc6f72

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

grafana_loki_mcp/server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
"Grafana-Loki Query Server",
2626
host="0.0.0.0",
2727
port=52229,
28-
allow_iframe=True,
29-
allow_cors=True,
3028
)
3129

3230
# Default configuration

0 commit comments

Comments
 (0)