Skip to content

Commit 32f514a

Browse files
author
依诺
committed
Update README
1 parent 015458b commit 32f514a

File tree

3 files changed

+46
-46
lines changed

3 files changed

+46
-46
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -88,28 +88,28 @@ Afterward, every time the service starts, the DMS MCP Server will directly acces
8888

8989
## Supported Data Sources
9090
| DataSource/Tool | **NL2SQL** *nlsql* | **Execute script** *executeScript* | **Show schema** *getTableDetailInfo* | **Access control** *default* | **Audit log** *default* |
91-
|-----------------------|--------------------|------------------------------------|--------------------------------------|-----------------------------|------------------------|
92-
| MySQL | | ||||
93-
| MariaDB | | ||||
94-
| PostgreSQL | | ||||
95-
| Oracle | | ||||
96-
| SQLServer | | ||||
97-
| Redis | | ||||
98-
| MongoDB | | ||||
99-
| StarRocks | | ||||
100-
| Clickhouse | | ||||
101-
| SelectDB | | ||||
102-
| DB2 | | ||||
103-
| OceanBase | | ||||
104-
| Gauss | | ||||
105-
| BigQuery | | ||||
106-
| PolarDB | | ||||
107-
| PolarDB-X | | ||||
108-
| AnalyticDB | | ||||
109-
| Lindorm | | ||||
110-
| TableStore | | ||||
111-
| Maxcompute | | ||||
112-
| Hologres | | ||||
91+
|-----------------------|-----------------|---------------------------------|--------------------------------------|-----------------------------|------------------------|
92+
| MySQL ||||||
93+
| MariaDB ||||||
94+
| PostgreSQL ||||||
95+
| Oracle ||||||
96+
| SQLServer ||||||
97+
| Redis | | ||||
98+
| MongoDB | | ||||
99+
| StarRocks ||||||
100+
| Clickhouse ||||||
101+
| SelectDB ||||||
102+
| DB2 ||||||
103+
| OceanBase ||||||
104+
| Gauss ||||||
105+
| BigQuery ||||||
106+
| PolarDB ||||||
107+
| PolarDB-X ||||||
108+
| AnalyticDB ||||||
109+
| Lindorm ||||||
110+
| TableStore | | ||||
111+
| Maxcompute ||||||
112+
| Hologres ||||||
113113

114114
---
115115
## Prerequisites

doc/README-zh-cn.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,28 @@ CONNECTION_STRING = mydb@192.168.1.100:3306
8686

8787
## 支持的数据源
8888
| DataSource/Tool | **NL2SQL** *nlsql* | **Execute script** *executeScript* | **Show schema** *getTableDetailInfo* | **Access control** *default* | **Audit log** *default* |
89-
|-----------------------|--------------------|------------------------------------|--------------------------------------|-----------------------------|------------------------|
90-
| MySQL | | ||||
91-
| MariaDB | | ||||
92-
| PostgreSQL | | ||||
93-
| Oracle | | ||||
94-
| SQLServer | | ||||
95-
| Redis | | ||||
96-
| MongoDB | | ||||
97-
| StarRocks | | ||||
98-
| Clickhouse | | ||||
99-
| SelectDB | | ||||
100-
| DB2 | | ||||
101-
| OceanBase | | ||||
102-
| Gauss | | ||||
103-
| BigQuery | | ||||
104-
| PolarDB | | ||||
105-
| PolarDB-X | | ||||
106-
| AnalyticDB | | ||||
107-
| Lindorm | | ||||
108-
| TableStore | | ||||
109-
| Maxcompute | | ||||
110-
| Hologres | | ||||
89+
|-----------------------|----------------|---------------------------------|--------------------------------------|-----------------------------|------------------------|
90+
| MySQL ||||||
91+
| MariaDB ||||||
92+
| PostgreSQL ||||||
93+
| Oracle ||||||
94+
| SQLServer ||||||
95+
| Redis | | ||||
96+
| MongoDB | | ||||
97+
| StarRocks ||||||
98+
| Clickhouse ||||||
99+
| SelectDB ||||||
100+
| DB2 ||||||
101+
| OceanBase ||||||
102+
| Gauss ||||||
103+
| BigQuery ||||||
104+
| PolarDB ||||||
105+
| PolarDB-X ||||||
106+
| AnalyticDB ||||||
107+
| Lindorm ||||||
108+
| TableStore | | ||||
109+
| Maxcompute ||||||
110+
| Hologres ||||||
111111

112112
---
113113
## 前提条件

src/alibabacloud_dms_mcp_server/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ async def get_database(
237237

238238
async def list_tables( # Renamed from listTable to follow convention
239239
database_id: str = Field(description="DMS databaseId"),
240-
search_name: Optional[str] = Field(description="Optional: Search keyword for table names"),
240+
search_name: Optional[str] = Field(default=None,description="Optional: Search keyword for table names"),
241241
page_number: int = Field(default=1, description="Pagination page number"),
242242
page_size: int = Field(default=200, description="Results per page (max 200)")
243243
) -> Dict[str, Any]:
@@ -467,7 +467,7 @@ def _register_configured_db_toolset(self):
467467
description="Lists tables in the database. Search by name is supported.",
468468
annotations={"title": "List Tables (Pre-configured DB)", "readOnlyHint": True})
469469
async def list_tables_configured(
470-
search_name: Optional[str] = Field(
470+
search_name: Optional[str] = Field(default=None,
471471
description="Optional: A string used as the search keyword to match table names."),
472472
page_number: int = Field(description="Pagination page number", default=1),
473473
page_size: int = Field(description="Number of results per page", default=200)

0 commit comments

Comments
 (0)