Update server.py
Browse files
server.py
CHANGED
|
@@ -31,10 +31,18 @@ async def home(request: Request) -> PlainTextResponse:
|
|
| 31 |
"This server gives you access to the following tools:" \
|
| 32 |
"\n----\n" \
|
| 33 |
"sql_db_list_tables\n" \
|
|
|
|
|
|
|
| 34 |
"sql_db_schema\n" \
|
|
|
|
|
|
|
| 35 |
"sql_db_query_checker\n" \
|
| 36 |
-
"
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
@mcp.tool()
|
|
|
|
| 31 |
"This server gives you access to the following tools:" \
|
| 32 |
"\n----\n" \
|
| 33 |
"sql_db_list_tables\n" \
|
| 34 |
+
"---"
|
| 35 |
+
"This tool can be used to list the tables in the database."
|
| 36 |
"sql_db_schema\n" \
|
| 37 |
+
"---"
|
| 38 |
+
"This tool can be used to get the schema of a table."
|
| 39 |
"sql_db_query_checker\n" \
|
| 40 |
+
"---"
|
| 41 |
+
"This tool can be used to check if a query is valid."
|
| 42 |
+
"sql_db_query\n" \
|
| 43 |
+
"---"
|
| 44 |
+
"This tool can be used to execute a query."
|
| 45 |
+
)
|
| 46 |
|
| 47 |
|
| 48 |
@mcp.tool()
|