Skip to content

Commit 547cf5a

Browse files
committed
fix: update import statements for MCP server module paths
1 parent 92a2c09 commit 547cf5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/mcp_server.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
import sys
44
from typing import Dict, Any, Optional, List
55

6-
# Update this import
7-
from mcp.server import Server, Response, Status, MethodCall
6+
# Update these imports with the correct paths
7+
from mcp.server import Server
8+
from mcp.server.models import Response, Status
9+
from mcp.server.method import MethodCall
810
from mcp.runner import MCPRunner
911

1012
from app.compiler import RustCompiler

0 commit comments

Comments
 (0)