This is an automated email from the ASF dual-hosted git repository.
critas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-mcp-server.git
The following commit(s) were added to refs/heads/main by this push:
new 7abf1ca from mcp.types import TextContent (#10)
7abf1ca is described below
commit 7abf1ca80b168846347e275f502d12de1c7585af
Author: CritasWang <[email protected]>
AuthorDate: Fri Jul 11 10:10:48 2025 +0800
from mcp.types import TextContent (#10)
* add export tools
* change format
* todf using SessionDataSet
* update readme add readme-zh
update to fastmcp 2
* 更新 readme
* change notifications settings
* from mcp.types import TextContent
fix
---
src/iotdb_mcp_server/server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/iotdb_mcp_server/server.py b/src/iotdb_mcp_server/server.py
index 6e970bf..026f849 100644
--- a/src/iotdb_mcp_server/server.py
+++ b/src/iotdb_mcp_server/server.py
@@ -30,7 +30,7 @@ from iotdb.utils.SessionDataSet import SessionDataSet
from iotdb.table_session import TableSession
from iotdb.table_session_pool import TableSessionPool, TableSessionPoolConfig
from fastmcp import FastMCP
-from fastmcp.utilities.types import TextContent
+from mcp.types import TextContent
from iotdb_mcp_server.config import Config