Skip to content

Commit e4a1e19

Browse files
committed
server address
1 parent 0510381 commit e4a1e19

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

.vscode/mcp.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
{
22
"servers": {
33
"duckdb-geo": {
4-
"command": "uv",
5-
"args": [
6-
"run",
7-
"--with",
8-
"mcp",
9-
"--with",
10-
"duckdb",
11-
"--with",
12-
"pandas",
13-
"server.py"
14-
]
4+
"url": "https://duckdb-mcp.nrp-nautilus.io/mcp"
155
}
166
}
177
}

k8s/deployment.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,4 @@ spec:
3838
cpu: 2
3939
ports:
4040
- containerPort: 8000
41-
# The new spec binds to 0.0.0.0:8000 by default in FastMCP
42-
readinessProbe:
43-
httpGet:
44-
path: /mcp # FastMCP often still exposes /sse alias, or check /mcp
45-
port: 8000
46-
initialDelaySeconds: 5
4741

server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ def query(sql_query: str) -> str:
9696
if __name__ == "__main__":
9797
# Streamable HTTP uses a single endpoint (default: /mcp)
9898
# It supports both GET (handshake) and POST (messages) on the same URL.
99-
mcp.run(transport="streamable-http")
99+
mcp.run(transport="streamable-http", host="0.0.0.0", port=8000)

0 commit comments

Comments
 (0)