We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf6a5df commit 2bac0c5Copy full SHA for 2bac0c5
2 files changed
Tools/WebServer/fpb_mcp_server.py
@@ -28,7 +28,15 @@
28
sys.path.insert(0, str(_SERVER_DIR))
29
os.chdir(_SERVER_DIR)
30
31
-from mcp.server.fastmcp import FastMCP # noqa: E402
+try:
32
+ from mcp.server.fastmcp import FastMCP # noqa: E402
33
+except ImportError:
34
+ print(
35
+ "Error: 'mcp' package is not installed.\n"
36
+ "Install it with: pip install mcp",
37
+ file=sys.stderr,
38
+ )
39
+ sys.exit(1)
40
41
# Import the CLI class directly
42
from cli.fpb_cli import FPBCLI # noqa: E402
Tools/requirements.txt
@@ -7,7 +7,6 @@ pyserial
7
pygdbmi
8
watchdog
9
tree_sitter
10
-mcp
11
12
# Test dependencies
13
coverage
0 commit comments