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.
1 parent 4835238 commit 6def50bCopy full SHA for 6def50b
src/openstack_mcp_server/tools/base.py
@@ -1,8 +1,13 @@
1
+import openstack
2
+
3
+from openstack_mcp_server import config
4
from openstack_mcp_server.tools.connection import ConnectionManager
5
6
7
_connection_manager = ConnectionManager()
8
9
+openstack.enable_logging(debug=config.MCP_DEBUG_MODE)
10
11
12
def get_openstack_conn():
13
return _connection_manager.get_connection()
src/openstack_mcp_server/tools/connection.py
@@ -10,9 +10,6 @@
class ConnectionManager:
_cloud_name = config.MCP_CLOUD_NAME
- def __init__(self):
14
- openstack.enable_logging(debug=config.MCP_DEBUG_MODE)
15
-
16
def register_tools(self, mcp: FastMCP):
17
mcp.tool(self.get_cloud_config)
18
mcp.tool(self.get_cloud_names)
0 commit comments