Skip to content

FastMCP has been added to the official MCP SDK #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ CLICKHOUSE_PASSWORD=clickhouse

3. Run `uv sync` to install the dependencies. To install `uv` follow the instructions [here](https://docs.astral.sh/uv/). Then do `source .venv/bin/activate`.

4. For easy testing, you can run `fastmcp dev mcp_clickhouse/mcp_server.py` to start the MCP server.
4. For easy testing, you can run `mcp dev mcp_clickhouse/mcp_server.py` to start the MCP server.

### Environment Variables

Expand Down
2 changes: 1 addition & 1 deletion mcp_clickhouse/mcp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import clickhouse_connect
from clickhouse_connect.driver.binding import quote_identifier, format_query_value
from dotenv import load_dotenv
from fastmcp import FastMCP
from mcp.server.fastmcp import FastMCP

from mcp_clickhouse.mcp_env import config

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.13"
dependencies = [
"mcp>=1.0.0",
"mcp[cli]>=1.3.0",
"python-dotenv>=1.0.1",
"fastmcp>=0.4.0",
"uvicorn>=0.34.0",
"clickhouse-connect>=0.8.0",
"pip-system-certs>=4.0",
Expand Down
57 changes: 23 additions & 34 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.