We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 456c634 + 69b6f6f commit b644002Copy full SHA for b644002
src/xiyan_mcp_server/server.py
@@ -52,7 +52,7 @@ def get_xiyan_config(db_config):
52
dialect = global_db_config.get('dialect','mysql')
53
#print("dialect is !!!!"+dialect)
54
55
-@mcp.resource(dialect+'://'+global_xiyan_db_config)
+@mcp.resource(dialect+'://'+database_name)
56
async def read_resource() -> str:
57
58
db_engine = init_db_conn(global_xiyan_db_config)
0 commit comments