Skip to content

Commit 5202229

Browse files
fix deprecated deps in fastmcp constructor
1 parent bdc15da commit 5202229

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

fastmcp.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://gofastmcp.com/public/schemas/fastmcp.json/v1.json",
3+
"source": {
4+
"path": "mcp_clickhouse/mcp_server.py",
5+
"entrypoint": "mcp"
6+
},
7+
"environment": {
8+
"dependencies": [
9+
"clickhouse-connect",
10+
"python-dotenv",
11+
"pip-system-certs",
12+
"chdb"
13+
]
14+
}
15+
}
16+

mcp_clickhouse/mcp_server.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,7 @@ class Table:
6767

6868
load_dotenv()
6969

70-
mcp = FastMCP(
71-
name=MCP_SERVER_NAME,
72-
dependencies=[
73-
"clickhouse-connect",
74-
"python-dotenv",
75-
"pip-system-certs",
76-
"chdb",
77-
],
78-
)
70+
mcp = FastMCP(name=MCP_SERVER_NAME)
7971

8072

8173
@mcp.custom_route("/health", methods=["GET"])

0 commit comments

Comments
 (0)