mcp-openstack-ops 3.6.3__tar.gz → 3.6.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. mcp_openstack_ops-3.6.5/.env.example +102 -0
  2. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.gitignore +1 -0
  3. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/PKG-INFO +168 -139
  4. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/README.md +167 -138
  5. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docker-compose.yml +5 -7
  6. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docs/multi-user-guide.md +121 -10
  7. mcp_openstack_ops-3.6.5/mcp-config.json.http +8 -0
  8. mcp_openstack_ops-3.6.5/mcp-config.json.multi-user +13 -0
  9. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/mcp_main.py +6 -5
  10. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_heat_stack_details.py +5 -1
  11. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_image_members.py +5 -1
  12. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_flavor.py +9 -4
  13. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_instance.py +45 -5
  14. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_keypair.py +5 -2
  15. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_network_ports.py +1 -1
  16. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_project.py +16 -16
  17. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_subnets.py +1 -1
  18. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/user_connection.py +20 -1
  19. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/PKG-INFO +168 -139
  20. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/SOURCES.txt +1 -1
  21. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/scm_file_list.json +1 -1
  22. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/scm_version.json +2 -2
  23. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_expanded_validation_fixes.py +87 -0
  24. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_tool_registration.py +18 -0
  25. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_user_connection.py +98 -5
  26. mcp_openstack_ops-3.6.3/.env.example +0 -74
  27. mcp_openstack_ops-3.6.3/CONTEXT.md +0 -175
  28. mcp_openstack_ops-3.6.3/mcp-config.json.http +0 -11
  29. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.env.test +0 -0
  30. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/FUNDING.yml +0 -0
  31. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/copilot-instructions.md +0 -0
  32. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/dependabot.yml +0 -0
  33. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/workflows/pypi-publish.yml +0 -0
  34. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/workflows/tests.yml +0 -0
  35. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.gitleaks.toml +0 -0
  36. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.pre-commit-config.yaml +0 -0
  37. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.python-version +0 -0
  38. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/AGENTS.md +0 -0
  39. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/Dockerfile.MCP-Server +0 -0
  40. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/Dockerfile.MCPO-Proxy +0 -0
  41. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/LICENSE +0 -0
  42. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/MANIFEST.in +0 -0
  43. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/build-mcp-server-docker-image.sh +0 -0
  44. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/build-mcpo-server-docker-image.sh +0 -0
  45. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/diagnose_openstack.py +0 -0
  46. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docs/issues/issue-73-test-report-20261104-054928.ko.md +0 -0
  47. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docs/issues/issue-73-test-report-20261104-054928.md +0 -0
  48. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/MCP-Workflow-of-Quickstart-Tutorial.png +0 -0
  49. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/screenshot-claude-desktop.png +0 -0
  50. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/screenshot-example-cluster-status.png +0 -0
  51. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/screenshot-openstack-dashboard.png +0 -0
  52. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/main.py +0 -0
  53. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/mcp-config.json.multi-project +0 -0
  54. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/mcp-config.json.stdio +0 -0
  55. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/pyproject.toml +0 -0
  56. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/check_release.py +0 -0
  57. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/mcp-server-docker-cmd.sh +0 -0
  58. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/publish_release.py +0 -0
  59. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/run-mcp-inspector-local.sh +0 -0
  60. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/run-mcp-inspector-pypi.sh +0 -0
  61. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/setup.cfg +0 -0
  62. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/__init__.py +0 -0
  63. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/__main__.py +0 -0
  64. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/connection.py +0 -0
  65. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/functions.py +0 -0
  66. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/prompt_template.md +0 -0
  67. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/__init__.py +0 -0
  68. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/alarms.py +0 -0
  69. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/compute.py +0 -0
  70. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/core.py +0 -0
  71. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/identity.py +0 -0
  72. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/image.py +0 -0
  73. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/__init__.py +0 -0
  74. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/amphorae.py +0 -0
  75. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/core.py +0 -0
  76. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/health_monitors.py +0 -0
  77. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/l7_policies.py +0 -0
  78. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/listeners.py +0 -0
  79. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/management.py +0 -0
  80. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/pools.py +0 -0
  81. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/monitoring.py +0 -0
  82. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/network.py +0 -0
  83. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/orchestration.py +0 -0
  84. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/storage.py +0 -0
  85. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/__init__.py +0 -0
  86. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_availability_zones.py +0 -0
  87. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_domains.py +0 -0
  88. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_floating_ip_pools.py +0 -0
  89. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_floating_ips.py +0 -0
  90. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_heat_stacks.py +0 -0
  91. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_hypervisor_details.py +0 -0
  92. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_identity_groups.py +0 -0
  93. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_image_detail_list.py +0 -0
  94. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instance.py +0 -0
  95. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instance_by_name.py +0 -0
  96. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instance_details.py +0 -0
  97. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instances_by_status.py +0 -0
  98. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_keypair_list.py +0 -0
  99. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_amphorae.py +0 -0
  100. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_availability_zones.py +0 -0
  101. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_details.py +0 -0
  102. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_flavors.py +0 -0
  103. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_health_monitors.py +0 -0
  104. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_l7_policies.py +0 -0
  105. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_l7_rules.py +0 -0
  106. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_list.py +0 -0
  107. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_listeners.py +0 -0
  108. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_pool_members.py +0 -0
  109. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_pools.py +0 -0
  110. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_providers.py +0 -0
  111. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_quotas.py +0 -0
  112. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_network_details.py +0 -0
  113. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_network_qos_policies.py +0 -0
  114. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_project_details.py +0 -0
  115. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_quota.py +0 -0
  116. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_resource_monitoring.py +0 -0
  117. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_role_assignments.py +0 -0
  118. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_routers.py +0 -0
  119. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_security_groups.py +0 -0
  120. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_server_events.py +0 -0
  121. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_server_groups.py +0 -0
  122. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_server_volumes.py +0 -0
  123. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_service_status.py +0 -0
  124. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_usage_statistics.py +0 -0
  125. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_user_list.py +0 -0
  126. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_backups.py +0 -0
  127. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_groups.py +0 -0
  128. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_list.py +0 -0
  129. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_qos.py +0 -0
  130. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_snapshots.py +0 -0
  131. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_transfers.py +0 -0
  132. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_types.py +0 -0
  133. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/search_instances.py +0 -0
  134. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_alarms.py +0 -0
  135. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_compute_agents.py +0 -0
  136. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_domains.py +0 -0
  137. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_floating_ip.py +0 -0
  138. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_floating_ip_port_forwarding.py +0 -0
  139. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_heat_stack.py +0 -0
  140. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_identity_groups.py +0 -0
  141. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image.py +0 -0
  142. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image_members.py +0 -0
  143. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image_metadata.py +0 -0
  144. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image_visibility.py +0 -0
  145. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer.py +0 -0
  146. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_amphora.py +0 -0
  147. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_availability_zone.py +0 -0
  148. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_flavor.py +0 -0
  149. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_health_monitor.py +0 -0
  150. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_l7_policy.py +0 -0
  151. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_l7_rule.py +0 -0
  152. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_listener.py +0 -0
  153. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_pool.py +0 -0
  154. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_pool_member.py +0 -0
  155. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_quota.py +0 -0
  156. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_metrics.py +0 -0
  157. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_network_agents.py +0 -0
  158. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_network_qos_policies.py +0 -0
  159. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_networks.py +0 -0
  160. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_quota.py +0 -0
  161. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_roles.py +0 -0
  162. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_routers.py +0 -0
  163. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_security_groups.py +0 -0
  164. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_backup.py +0 -0
  165. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_dump.py +0 -0
  166. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_fixed_ip.py +0 -0
  167. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_floating_ip.py +0 -0
  168. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_group.py +0 -0
  169. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_migration.py +0 -0
  170. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_network.py +0 -0
  171. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_properties.py +0 -0
  172. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_security_group.py +0 -0
  173. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_volume.py +0 -0
  174. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_service_logs.py +0 -0
  175. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_services.py +0 -0
  176. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_snapshot.py +0 -0
  177. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_users.py +0 -0
  178. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume.py +0 -0
  179. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_backups.py +0 -0
  180. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_groups.py +0 -0
  181. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_qos.py +0 -0
  182. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_types.py +0 -0
  183. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/dependency_links.txt +0 -0
  184. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/entry_points.txt +0 -0
  185. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/requires.txt +0 -0
  186. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/top_level.txt +0 -0
  187. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/test_compatibility.sh +0 -0
  188. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/test_project_isolation.py +0 -0
  189. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_connection.py +0 -0
  190. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_floating_ip.py +0 -0
  191. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_instance_image.py +0 -0
  192. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_live_regressions.py +0 -0
  193. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_operational_tools.py +0 -0
  194. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_phase1_stabilization.py +0 -0
  195. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_publish_release.py +0 -0
  196. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_release.py +0 -0
  197. {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/uv.lock +0 -0
@@ -0,0 +1,102 @@
1
+ # MCP Server Configuration Template
2
+ # Copy this file to .env and modify values as needed
3
+
4
+ # Stable OpenWebUI encryption/session key. Generate with: openssl rand -hex 32
5
+ WEBUI_SECRET_KEY=replace_with_a_random_value
6
+
7
+ # Logging level
8
+ MCP_LOG_LEVEL=INFO
9
+
10
+ # Safety Control - Allow OpenStack state modification operations
11
+ # Set to true to enable modification operations (create, delete, update)
12
+ # Set to false to allow only read-only operations (list, get, show)
13
+ ALLOW_MODIFY_OPERATIONS=false
14
+
15
+ # Python module path for Docker
16
+ PYTHONPATH=/app/src
17
+
18
+ # Transport configuration
19
+ FASTMCP_TYPE=streamable-http
20
+
21
+ # HTTP Transport settings (used only when FASTMCP_TYPE=streamable-http)
22
+ FASTMCP_HOST=0.0.0.0
23
+ FASTMCP_PORT=8000
24
+
25
+ # (Optional) Enable request-scoped, per-user OpenStack authentication.
26
+ # Set to true only for streamable-http clients that send both of these headers
27
+ # on every MCP request:
28
+ # X-OpenStack-Application-Credential-ID
29
+ # X-OpenStack-Application-Credential-Secret
30
+ # This mode requires OS_AUTH_PROTOCOL=https and OS_AUTH_HOST. It authenticates
31
+ # each request directly with Keystone, does not use OS_USERNAME, OS_PASSWORD,
32
+ # or OS_PROJECT_NAME, and never falls back to the server environment account.
33
+ # It can run alone or behind shared Bearer authentication. When both modes are
34
+ # enabled, Bearer is checked first and the Application Credential second.
35
+ # Leave this false for a shared Docker Compose OpenWebUI/MCPO deployment, which
36
+ # uses one fixed upstream header set. It may be true when every user has an
37
+ # independent instance whose private config contains only their own headers.
38
+ MCP_MULTI_USER=false
39
+
40
+ # (Optional) Enable HTTP Bearer token authentication for streamable-http mode.
41
+ # Clients must send Authorization: Bearer <REMOTE_SECRET_KEY> when enabled.
42
+ # With MCP_MULTI_USER=true, every request must pass both Bearer authentication
43
+ # and the caller's Application Credential authentication.
44
+ # When enabled, use a strong, unique REMOTE_SECRET_KEY.
45
+ REMOTE_AUTH_ENABLE=false
46
+ REMOTE_SECRET_KEY=
47
+
48
+ # OpenStack API environment variables
49
+ # Single-account mode uses the domain, project, username, and password below.
50
+ # Multi-user mode ignores those account values and derives the caller's user,
51
+ # project, and delegated roles from the Application Credential on each request.
52
+ OS_PROJECT_DOMAIN_NAME=Default
53
+ OS_USER_DOMAIN_NAME=Default
54
+
55
+ # Single-account mode scopes operations to this configured project.
56
+ # For multiple single-account projects, deploy separate MCP server instances.
57
+ OS_PROJECT_NAME=your_project_name
58
+ OS_TENANT_NAME=your_tenant_name
59
+ OS_USERNAME=your_username
60
+ OS_PASSWORD=your_password
61
+ OS_AUTH_HOST=your-openstack-host
62
+ OS_INTERFACE=internal
63
+ OS_ENDPOINT_TYPE=internalURL
64
+ OS_IDENTITY_API_VERSION=3
65
+ OS_REGION_NAME=RegionOne
66
+ OS_AUTH_PLUGIN=password
67
+
68
+ # OpenStack Connection Protocol (http or https)
69
+ # Use 'https' for production environments with SSL/TLS enabled
70
+ # When using https, set OS_CACERT to your CA certificate path
71
+ # If OS_CACERT is not set with https, SSL verification will be disabled (insecure)
72
+ OS_AUTH_PROTOCOL=http
73
+
74
+ # (Optional) SSL CA Certificate for HTTPS connections
75
+ # Required for secure HTTPS connections to OpenStack API
76
+ # Example: OS_CACERT=/etc/ssl/certs/openstack-ca.pem
77
+ # OS_CACERT=
78
+
79
+ # OpenStack Service Port Configuration
80
+ # These ports can be customized to match your OpenStack deployment
81
+ OS_AUTH_PORT=5000
82
+ OS_COMPUTE_PORT=8774
83
+ OS_NETWORK_PORT=9696
84
+ OS_VOLUME_PORT=8776
85
+ OS_IMAGE_PORT=9292
86
+ OS_PLACEMENT_PORT=8780
87
+ OS_HEAT_STACK_PORT=8004
88
+ OS_HEAT_STACK_CFN_PORT=8000
89
+
90
+ # Docker Port Mappings
91
+ # Keep 127.0.0.1 while both HTTP authentication modes are disabled.
92
+ DOCKER_BIND_ADDRESS=127.0.0.1
93
+ DOCKER_EXTERNAL_PORT_OPENWEBUI=3000
94
+ DOCKER_EXTERNAL_PORT_MCP_SERVER=8000
95
+ DOCKER_EXTERNAL_PORT_MCPO_PROXY=8080
96
+
97
+ # MCPO configuration mounted by docker-compose.yml. Docker Compose automatically
98
+ # reads this .env file for ${MCPO_CONFIG_FILE}; the value below is the default.
99
+ # Keep tracked mcp-config.json.* files as reference templates. Before inserting
100
+ # credentials, copy the selected template to its ignored *.local equivalent
101
+ # (for example, mcp-config.json.multi-user.local) and select that local filename.
102
+ MCPO_CONFIG_FILE=mcp-config.json.http
@@ -11,6 +11,7 @@ wheels/
11
11
 
12
12
  # Environment files
13
13
  .env
14
+ mcp-config.json.*.local
14
15
 
15
16
  **/__pycache__/
16
17
  **/.pytest_cache/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-openstack-ops
3
- Version: 3.6.3
3
+ Version: 3.6.5
4
4
  Summary: OpenStack operations automation MCP server
5
5
  Author-email: JungJungIn <call518@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -92,8 +92,8 @@ dependencies = [
92
92
 
93
93
  **Step 3: Rebuild Docker Image**
94
94
  ```bash
95
- docker-compose build --no-cache mcp-server
96
- docker-compose up -d
95
+ docker compose build --no-cache mcp-server
96
+ docker compose up -d
97
97
  ```
98
98
 
99
99
  **OpenStackSDK Version Reference:**
@@ -190,7 +190,10 @@ Service availability, permissions, and asynchronous completion affect results.
190
190
  See [API prerequisites and result semantics](#api-prerequisites-and-result-semantics)
191
191
  and the [multi-user setup guide](docs/multi-user-guide.md).
192
192
 
193
- **Validation snapshot (2026-11-04; working tree based on `a57b165`):**
193
+ **Validation evidence:**
194
+ - **Live snapshot (2026-11-04; working tree based on `a57b165`):** This live
195
+ snapshot predates the current working-tree tool-schema corrections. Its live
196
+ classifications remain historical evidence and were not rerun for this change.
194
197
  - **Live tool checks:** 105/105 registered tools exercised. At least one live
195
198
  path passed for 76 tools; 28 tools were unavailable because the test cloud
196
199
  lacks Octavia, Aodh, Neutron QoS, or floating-IP port-forwarding APIs; one
@@ -210,7 +213,10 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
210
213
  returned 404 without authentication. A real Nova action list explicitly
211
214
  reported that the list has no finish time; optional event-detail lookup
212
215
  returned an event result and derived its latest finish time.
213
- - **Local unit tests:** 254/254 (100%); no failures or skipped tests.
216
+ - **Local unit tests (current working tree, 2026-11-04):** 269/269 (100%); no
217
+ failures or skipped tests. These tests include MCP action-description and
218
+ advanced-parameter forwarding regressions; they do not replace live service
219
+ validation.
214
220
 
215
221
  **Detailed Mapping by Category**
216
222
 
@@ -221,19 +227,19 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
221
227
  | `openstack server list` | `get_instance` | ✅ | Separate reader projects each returned exactly ten owned VMs; bounded lab validation only |
222
228
  | `openstack server show` | `get_instance` | ✅ | Own fixture queries completed; foreign private ID returned no details; no 16-owned-ID batch claim |
223
229
  | `openstack server create` | `set_instance` (action="create") | ✅ | **ENHANCED** - Bulk creation support |
224
- | `openstack server start/stop/reboot` | `set_instance` | ✅ | Bulk stop/start final states verified for two test VMs per project; reboot not retested in this round |
225
- | `openstack server delete` | `set_instance` (action="delete") | ✅ | **ENHANCED** - Bulk deletion with name_contains filtering |
230
+ | `openstack server start/stop/reboot` | `set_instance` | ✅ | Tool schema exposes all actions and `reboot_type`; bulk stop/start final states verified for two test VMs per project, but reboot was not retested in this round |
231
+ | `openstack server delete` | `set_instance` (action="delete") | ✅ | Tool schema exposes delete and optional force deletion; bulk deletion with `name_contains` filtering |
226
232
  | `openstack server backup create` | `set_server_backup` | ✅ | Nova backup action with rotation; asynchronous, no custom metadata |
227
- | `openstack server image create` | `set_instance` (action="snapshot") | ✅ | Image/snapshot creation |
228
- | `openstack server shelve/unshelve` | `set_instance` | ✅ | Instance shelving |
233
+ | `openstack server image create` | `set_instance` (action="snapshot") | ✅ | Accepts optional `snapshot_name` and JSON `metadata`; parameter forwarding is locally tested, not live-retested in this change |
234
+ | `openstack server shelve/unshelve` | `set_instance` | ✅ | Actions are exposed in the tool schema; instance shelving was not live-retested in this change |
229
235
  | `openstack server lock/unlock` | `set_instance` | ✅ | Instance locking |
230
236
  | `openstack server pause/unpause` | `set_instance` | ✅ | Instance pausing |
231
237
  | `openstack server suspend/resume` | `set_instance` | ✅ | Instance suspension |
232
- | `openstack server resize` | `set_instance` (action="resize") | ✅ | Instance resizing |
238
+ | `openstack server resize` | `set_instance` (action="resize") | ✅ | Uses the existing `flavor` parameter as the target flavor; action exposure is locally tested |
233
239
  | `openstack server resize confirm` | `set_instance` (action="confirm_resize") | ✅ | Resize confirmation |
234
240
  | `openstack server resize revert` | `set_instance` (action="revert_resize") | ✅ | Resize revert |
235
- | `openstack server rebuild` | `set_instance` (action="rebuild") | ✅ | Instance rebuilding |
236
- | `openstack server rescue/unrescue` | `set_instance` | ✅ | Recovery mode |
241
+ | `openstack server rebuild` | `set_instance` (action="rebuild") | ✅ | Uses `image` and supports optional `new_name`, JSON `metadata`, and `preserve_ephemeral`; not live-retested in this change |
242
+ | `openstack server rescue/unrescue` | `set_instance` | ✅ | Tool schema exposes both actions and optional `rescue_image_id`; not live-retested in this change |
237
243
  | `openstack server migrate` | `set_server_migration` (action="migrate") | ✅ | Live migration |
238
244
  | `openstack server evacuate` | `set_server_migration` (action="evacuate") | ✅ | Server evacuation |
239
245
  | `openstack server migration list` | `set_server_migration` (action="list") | ✅ | Migration listing |
@@ -510,149 +516,137 @@ The feature table marks implemented API paths, not verification against every Op
510
516
 
511
517
  ## Quick Start
512
518
 
513
- > 💡 **Need an OpenStack Cluster for Testing?**
514
- > Check out this comprehensive guide: [Tutorial: Install OpenStack Multinode Cluster /w Kolla-Ansible (Epoxy/Dalmatian)](https://medium.com/@call518/tutorial-install-openstack-multinode-cluster-w-kolla-ansible-flamingo-epoxy-dalmatian-19c000cc1645)
515
- > Perfect for setting up a test environment to explore MCP-OpenStack-Ops capabilities.
519
+ This starts the complete local evaluation stack:
516
520
 
517
- ![Flow Diagram of Quickstart/Tutorial](img/MCP-Workflow-of-Quickstart-Tutorial.png)
521
+ ```text
522
+ Browser → OpenWebUI → MCPO (OpenAPI) → MCP-OpenStack-Ops → OpenStack
523
+ ```
518
524
 
519
- ### 1. Environment Setup
525
+ Prerequisites are Git, Docker with the Compose plugin, a reachable OpenStack
526
+ environment, and a model provider supported by OpenWebUI. The model should
527
+ support reliable native tool calling.
520
528
 
521
- ```bash
522
- # Clone and navigate to project
523
- cd MCP-OpenStack-Ops
529
+ | Quick Start default | Value |
530
+ | --- | --- |
531
+ | OpenStack identity | One account from `.env` |
532
+ | Available tools | Read-only; modification tools are hidden |
533
+ | HTTP authentication | Disabled |
534
+ | Published network | Localhost only |
535
+ | MCPO configuration | `mcp-config.json.http` |
524
536
 
525
- # Install dependencies
526
- uv sync
537
+ ### 1. Clone and configure
527
538
 
528
- # Configure environment
539
+ ```bash
540
+ git clone https://github.com/call518/MCP-OpenStack-Ops.git
541
+ cd MCP-OpenStack-Ops
529
542
  cp .env.example .env
530
- # Edit .env with your OpenStack credentials
543
+ cp mcp-config.json.http mcp-config.json.http.local
544
+ chmod 600 mcp-config.json.http.local
545
+ openssl rand -hex 32
546
+ vi .env
531
547
  ```
532
548
 
533
- **Environment Configuration**
549
+ In `.env`:
534
550
 
535
- Configure your `.env` file with OpenStack credentials:
551
+ 1. Replace `WEBUI_SECRET_KEY` with the generated value.
552
+ 2. Set the `OS_*` authentication, domain, region, protocol, and service-port
553
+ values for the target OpenStack environment.
554
+ 3. Keep these local Quick Start defaults:
536
555
 
537
- ```bash
538
- # OpenStack Authentication (required)
539
- OS_AUTH_HOST=your-openstack-host
540
- OS_AUTH_PORT=5000
541
- OS_AUTH_PROTOCOL=http # Use 'https' for production with SSL/TLS
542
- # OS_CACERT=/etc/ssl/certs/openstack-ca.pem # Required for HTTPS (optional for HTTP)
543
- OS_IDENTITY_API_VERSION=3
544
- OS_USERNAME=your-username
545
- OS_PASSWORD=your-password
546
- OS_PROJECT_NAME=your-project
547
- OS_PROJECT_DOMAIN_NAME=default
548
- OS_USER_DOMAIN_NAME=default
549
- OS_REGION_NAME=RegionOne
550
-
551
- # OpenStack Service Ports (customizable)
552
- OS_COMPUTE_PORT=8774
553
- OS_NETWORK_PORT=9696
554
- OS_VOLUME_PORT=8776
555
- OS_IMAGE_PORT=9292
556
- OS_PLACEMENT_PORT=8780
557
- OS_HEAT_STACK_PORT=8004
558
- OS_HEAT_STACK_CFN_PORT=8000
559
-
560
- # MCP Server Configuration (optional)
561
- MCP_LOG_LEVEL=INFO
556
+ ```dotenv
562
557
  ALLOW_MODIFY_OPERATIONS=false
563
- FASTMCP_TYPE=stdio
564
- FASTMCP_HOST=127.0.0.1
565
- FASTMCP_PORT=8080
558
+ MCP_MULTI_USER=false
559
+ REMOTE_AUTH_ENABLE=false
560
+ REMOTE_SECRET_KEY=
561
+ DOCKER_BIND_ADDRESS=127.0.0.1
562
+ MCPO_CONFIG_FILE=mcp-config.json.http.local
566
563
  ```
567
564
 
568
- **HTTPS Configuration for Production Environments**
565
+ The local MCPO copy contains no credentials in this mode and connects to the MCP
566
+ container through the private Compose network. It is ignored by Git, so later
567
+ authentication changes do not modify the tracked reference template.
569
568
 
570
- For secure OpenStack deployments with SSL/TLS:
569
+ ### 2. Start the stack
571
570
 
572
571
  ```bash
573
- # Enable HTTPS protocol
574
- OS_AUTH_PROTOCOL=https
575
- OS_AUTH_HOST=your-secure-openstack-host
576
- OS_AUTH_PORT=13000 # Your HTTPS Keystone port
572
+ docker compose up -d
573
+ docker compose ps
574
+ ```
575
+
576
+ Wait until `mcp-server` is healthy and `mcpo-proxy` and `open-webui` are running.
577
577
 
578
- # SSL Certificate Configuration
579
- # Option 1: Use custom CA certificate (recommended for production)
580
- OS_CACERT=/etc/ssl/certs/openstack-ca.pem
578
+ | Service | Local URL | Purpose |
579
+ | --- | --- | --- |
580
+ | OpenWebUI | `http://localhost:3000` | Chat interface |
581
+ | MCP server | `http://localhost:8000/mcp` | Direct MCP endpoint |
582
+ | MCPO docs | `http://localhost:8080/mcp-openstack-ops/docs` | Generated OpenAPI schema and test UI |
581
583
 
582
- # Option 2: Skip CA certificate (SSL verification disabled - insecure)
583
- # Just omit OS_CACERT - the server will warn you about insecure connection
584
+ If `mcp-server` is unhealthy, inspect its log before continuing:
584
585
 
585
- # Docker: Mount CA certificate into container
586
- # Add to docker-compose.yml volumes:
587
- # - /path/to/your/ca-cert.pem:/etc/ssl/certs/openstack-ca.pem:ro
586
+ ```bash
587
+ docker compose logs mcp-server
588
588
  ```
589
589
 
590
- **Protocol Configuration Notes:**
591
- - `OS_AUTH_PROTOCOL=http`: Use for local development or HTTP-only OpenStack deployments
592
- - `OS_AUTH_PROTOCOL=https`: Use for production environments with SSL/TLS enabled
593
- - When `https` is set without `OS_CACERT`, SSL verification is disabled (insecure but functional)
594
- - For secure production deployments, always provide `OS_CACERT` with your CA certificate path
590
+ ### 3. Configure OpenWebUI
591
+
592
+ 1. Open `http://localhost:3000` and create the first administrator account.
593
+ 2. Add the model provider and select a tool-capable model.
594
+ 3. Open **Settings → Admin → Integrations → External Tool Servers** and
595
+ add this connection:
595
596
 
596
- ### 2. Run Server
597
+ - Type: `OpenAPI`
598
+ - URL: `http://mcpo-proxy:8000/mcp-openstack-ops`
599
+ - Schema path: `openapi.json`
600
+ - Authentication: `None`
601
+
602
+ The URL deliberately uses the Compose service name `mcpo-proxy`; it is resolved
603
+ by the OpenWebUI container. Save the connection, then open a chat and enable
604
+ `mcp-openstack-ops` under **+ → Integrations → Tools**.
605
+
606
+ ### 4. Verify
607
+
608
+ Ask the model:
609
+
610
+ ```text
611
+ Use mcp-openstack-ops to list the instances in my OpenStack project.
612
+ ```
613
+
614
+ A successful response confirms the OpenWebUI → MCPO → MCP server →
615
+ OpenStack path. The MCPO documentation URL above should also list the generated
616
+ tool endpoints. For connection failures, inspect all three services:
597
617
 
598
618
  ```bash
599
- # Start all services
600
- docker-compose up -d
619
+ docker compose logs mcp-server mcpo-proxy open-webui
620
+ ```
621
+
622
+ ### 5. Enable modifications only when needed
601
623
 
602
- # Check logs
603
- docker-compose logs mcp-server
604
- docker-compose logs mcpo-proxy
624
+ Create, update, and delete tools are intentionally absent by default. To enable
625
+ them, set `ALLOW_MODIFY_OPERATIONS=true` in `.env` and recreate the MCP path:
626
+
627
+ ```bash
628
+ docker compose up -d --force-recreate mcp-server mcpo-proxy
605
629
  ```
606
630
 
607
- **Container Architecture**:
608
- - **mcp-server**: OpenStack MCP server with tools
609
- - **mcpo-proxy**: OpenAPI (REST-API)
610
- - **open-webui**: Web interface for testing and interaction
631
+ OpenStack policy still controls what the configured account may change. For
632
+ Bearer authentication, non-local exposure, and custom configuration files, see
633
+ [Server Configuration](#server-configuration). For request-scoped user accounts,
634
+ see the [multi-user guide](docs/multi-user-guide.md).
611
635
 
612
- > 📌 **Note**: Web-UI configuration instructions are based on OpenWebUI **v0.6.22**. Menu locations and settings may differ in newer versions.
636
+ Stop the stack without deleting the OpenWebUI data volume with:
613
637
 
614
- **Service URLs - Docker Internal**:
615
- - MCP Server: `localhost:8080` (HTTP transport)
616
- - MCPO Proxy: `localhost:8000` (OpenStack API proxy)
617
- - Open WebUI: `localhost:3000` (Web interface)
638
+ ```bash
639
+ docker compose down
640
+ ```
618
641
 
619
- **Service URLs - Docker External**:
620
- - MCP Server: `host.docker.internal:18005` (HTTP transport)
621
- - MCPO Proxy: `host.docker.internal:8005` (OpenStack API proxy)
622
- - Open WebUI: `host.docker.internal:3005` (Web interface)
642
+ ## Claude Desktop Integration
623
643
 
624
- #### For Claude Desktop Integration
625
- Add to your Claude Desktop configuration:
626
- ```json
627
- {
628
- "mcpServers": {
629
- "mcp-openstack-ops": {
630
- "command": "uvx",
631
- "args": ["--python", "3.12", "mcp-openstack-ops"],
632
- "env": {
633
- "OS_AUTH_HOST": "your-openstack-host",
634
- "OS_AUTH_PORT": "5000",
635
- "OS_PROJECT_NAME": "your-project",
636
- "OS_USERNAME": "your-username",
637
- "OS_PASSWORD": "your-password",
638
- "OS_USER_DOMAIN_NAME": "Default",
639
- "OS_PROJECT_DOMAIN_NAME": "Default",
640
- "OS_REGION_NAME": "RegionOne",
641
- "OS_IDENTITY_API_VERSION": "3",
642
- "OS_INTERFACE": "internal",
643
- "OS_COMPUTE_PORT": "8774",
644
- "OS_NETWORK_PORT": "9696",
645
- "OS_VOLUME_PORT": "8776",
646
- "OS_IMAGE_PORT": "9292",
647
- "OS_PLACEMENT_PORT": "8780",
648
- "OS_HEAT_STACK_PORT": "8004",
649
- "OS_HEAT_STACK_CFN_PORT": "18888",
650
- "ALLOW_MODIFY_OPERATIONS": "false",
651
- "MCP_LOG_LEVEL": "INFO"
652
- }
653
- }
654
- }
655
- }
644
+ Use `mcp-config.json.stdio` as a reference. Copy it to the ignored local file,
645
+ update the local copy, and merge it into Claude Desktop's private configuration:
646
+
647
+ ```bash
648
+ cp mcp-config.json.stdio mcp-config.json.stdio.local
649
+ chmod 600 mcp-config.json.stdio.local
656
650
  ```
657
651
 
658
652
  ---
@@ -661,7 +655,7 @@ Add to your Claude Desktop configuration:
661
655
 
662
656
  Install Claude Code and start the MCP server in `streamable-http` mode first.
663
657
  Register the MCP server's `/mcp` URL, not the MCPO/OpenAPI proxy URL. The example
664
- below uses the Docker host port `18005`; replace the host/port for your deployment
658
+ below uses the Docker host port `8000`; replace the host/port for your deployment
665
659
  and use HTTPS for remote connections. Registration does not start the server.
666
660
 
667
661
  For the existing single-account mode with `REMOTE_AUTH_ENABLE=true`, enter the
@@ -672,7 +666,7 @@ read -rsp 'MCP Bearer token: ' OPENSTACK_MCP_TOKEN
672
666
  echo
673
667
  export OPENSTACK_MCP_TOKEN
674
668
 
675
- claude mcp add-json --scope user openstack-ops '{"type":"http","url":"http://127.0.0.1:18005/mcp","headers":{"Authorization":"Bearer ${OPENSTACK_MCP_TOKEN}"}}'
669
+ claude mcp add-json --scope user openstack-ops '{"type":"http","url":"http://127.0.0.1:8000/mcp","headers":{"Authorization":"Bearer ${OPENSTACK_MCP_TOKEN}"}}'
676
670
  claude mcp list
677
671
  claude
678
672
  ```
@@ -682,7 +676,7 @@ Keep `OPENSTACK_MCP_TOKEN` exported in the terminal that launches Claude Code.
682
676
  authentication is disabled, use this registration command instead:
683
677
 
684
678
  ```bash
685
- claude mcp add --transport http --scope user openstack-ops http://127.0.0.1:18005/mcp
679
+ claude mcp add --transport http --scope user openstack-ops http://127.0.0.1:8000/mcp
686
680
  ```
687
681
 
688
682
  In Claude Code, check `/mcp` and ask, for example:
@@ -718,6 +712,7 @@ Options:
718
712
  --port PORT Port number for HTTP transport (default: 8080)
719
713
  --auth-enable Enable Bearer token authentication for streamable-http mode
720
714
  --secret-key SECRET Secret key for Bearer token authentication
715
+ --multi-user Use request-local Application Credentials (streamable-http only)
721
716
  ```
722
717
 
723
718
  ### Environment Variables
@@ -729,9 +724,9 @@ Options:
729
724
  | `OS_AUTH_PORT` | OpenStack Identity service port | Required | Authentication port |
730
725
  | `OS_AUTH_PROTOCOL` | Connection protocol (http or https) | `http` | Use `https` for production with SSL/TLS |
731
726
  | `OS_CACERT` | SSL CA certificate path for HTTPS | Optional | Required for secure HTTPS connections (e.g., `/etc/ssl/certs/ca.pem`). If not set with HTTPS, SSL verification is disabled (insecure) |
732
- | `OS_USERNAME` | OpenStack username | Required | User credentials |
733
- | `OS_PASSWORD` | OpenStack password | Required | User credentials |
734
- | `OS_PROJECT_NAME` | OpenStack project name | Required | Project scope |
727
+ | `OS_USERNAME` | OpenStack username | Required in single-account mode | Unused for multi-user request authentication |
728
+ | `OS_PASSWORD` | OpenStack password | Required in single-account mode | Unused for multi-user request authentication |
729
+ | `OS_PROJECT_NAME` | OpenStack project name | Required in single-account mode | Multi-user scope comes from each Application Credential |
735
730
  | `OS_IDENTITY_API_VERSION` | Identity API version | `3` | API version |
736
731
  | `OS_PROJECT_DOMAIN_NAME` | Project domain name | `default` | Domain scope |
737
732
  | `OS_USER_DOMAIN_NAME` | User domain name | `default` | Domain scope |
@@ -751,8 +746,38 @@ Options:
751
746
  | `FASTMCP_HOST` | HTTP host address | `127.0.0.1` | For HTTP mode only |
752
747
  | `FASTMCP_PORT` | HTTP port number | `8080` | For HTTP mode only |
753
748
  | **Authentication (Optional)** |
749
+ | `MCP_MULTI_USER` | Enable request-scoped per-user Application Credential authentication | `false` | Streamable HTTP only; requires HTTPS OpenStack endpoints and can be combined with shared Bearer authentication |
754
750
  | `REMOTE_AUTH_ENABLE` | Enable Bearer token authentication for streamable-http mode | `false` | Production security |
755
- | `REMOTE_SECRET_KEY` | Secret key for Bearer token authentication | Required when auth enabled | Production security |
751
+ | `REMOTE_SECRET_KEY` | Shared secret for Bearer token authentication | Required when auth enabled | Checked before per-user authentication when both modes are enabled |
752
+ | **Docker Compose** |
753
+ | `DOCKER_BIND_ADDRESS` | Published-port bind address | `127.0.0.1` | Keep local when HTTP authentication is disabled |
754
+ | `DOCKER_EXTERNAL_PORT_OPENWEBUI` | OpenWebUI host port | `3000` | Browser access |
755
+ | `DOCKER_EXTERNAL_PORT_MCP_SERVER` | MCP server host port | `8000` | Direct MCP clients |
756
+ | `DOCKER_EXTERNAL_PORT_MCPO_PROXY` | MCPO host port | `8080` | OpenAPI proxy and docs |
757
+ | `MCPO_CONFIG_FILE` | MCPO configuration mounted by Compose | `mcp-config.json.http` | Set to a private `.local` copy when it contains credentials |
758
+
759
+ ### HTTPS and local configuration files
760
+
761
+ For HTTPS OpenStack endpoints, set `OS_AUTH_PROTOCOL=https` and mount the CA
762
+ file into `mcp-server` when `OS_CACERT` is a container path. Without
763
+ `OS_CACERT`, single-account HTTPS disables certificate verification.
764
+
765
+ The tracked `mcp-config.json.*` files are reference templates. Before adding
766
+ credentials, copy only the template you need; all matching `.local` files are
767
+ ignored by Git:
768
+
769
+ ```bash
770
+ cp mcp-config.json.http mcp-config.json.http.local
771
+ cp mcp-config.json.multi-user mcp-config.json.multi-user.local
772
+ cp mcp-config.json.multi-project mcp-config.json.multi-project.local
773
+ cp mcp-config.json.stdio mcp-config.json.stdio.local
774
+ chmod 600 mcp-config.json.*.local
775
+ ```
776
+
777
+ For MCPO, select the copy in `.env`, for example
778
+ `MCPO_CONFIG_FILE=mcp-config.json.multi-user.local`. Point non-Compose clients
779
+ to their local copy separately. Never put real credentials in a tracked
780
+ template.
756
781
 
757
782
  ---
758
783
 
@@ -900,7 +925,7 @@ python -m mcp_openstack_ops --type streamable-http --port 8002
900
925
 
901
926
  This allows Claude to access each project independently with complete isolation between environments.
902
927
 
903
- **📁 Ready-to-use Configuration File:**
928
+ **📁 Reference Configuration File:**
904
929
 
905
930
  A complete multi-project configuration example is available at `mcp-config.json.multi-project`:
906
931
  - **Production**: Read-only operations for safety (`ALLOW_MODIFY_OPERATIONS=false`)
@@ -908,9 +933,11 @@ A complete multi-project configuration example is available at `mcp-config.json.
908
933
  - **Testing**: Debug logging enabled (`MCP_LOG_LEVEL=DEBUG`)
909
934
 
910
935
  ```bash
911
- # Copy and customize the multi-project configuration
912
- cp mcp-config.json.multi-project ~/.config/claude-desktop/mcp_servers.json
913
- # Edit with your OpenStack credentials
936
+ # Preserve the tracked template and customize only the ignored local copy
937
+ cp mcp-config.json.multi-project mcp-config.json.multi-project.local
938
+ chmod 600 mcp-config.json.multi-project.local
939
+ # Point the client to this file, or merge its contents into the client's
940
+ # existing private configuration. Do not overwrite an existing client config.
914
941
  ```
915
942
 
916
943
  ---
@@ -1128,8 +1155,10 @@ uv run python -m mcp_openstack_ops --type streamable-http --auth-enable --secret
1128
1155
  1. **stdio mode** (Default): Local-only access, no authentication needed
1129
1156
  2. **streamable-http + REMOTE_AUTH_ENABLE=false/undefined**: Remote access without authentication ⚠️ **NOT RECOMMENDED for production**
1130
1157
  3. **streamable-http + REMOTE_AUTH_ENABLE=true**: Remote access with Bearer token authentication ✅ **RECOMMENDED for production**
1158
+ 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints.
1159
+ 5. **streamable-http + MCP_MULTI_USER=true + REMOTE_AUTH_ENABLE=true**: Each request must pass shared Bearer authentication first and per-user Application Credential authentication second. See the [multi-user guide](docs/multi-user-guide.md).
1131
1160
 
1132
- > **🔒 Default Policy**: `REMOTE_AUTH_ENABLE` defaults to `false` if undefined, empty, or null. This ensures the server starts even without explicit authentication configuration.
1161
+ > **🔒 Default Policy**: `REMOTE_AUTH_ENABLE` and `MCP_MULTI_USER` both default to `false`. A configured `REMOTE_SECRET_KEY` is used only when `REMOTE_AUTH_ENABLE=true`; enabling both modes requires both forms of authentication.
1133
1162
 
1134
1163
  #### Client Configuration
1135
1164
 
@@ -1210,7 +1239,7 @@ When authentication fails, the server returns:
1210
1239
  **Comprehensive Project Scoping Documentation:**
1211
1240
  - ✅ **Multi-Project Management Guide**: Complete setup instructions for managing multiple OpenStack projects
1212
1241
  - ✅ **Security & Isolation Details**: Detailed explanation of tenant isolation features
1213
- - ✅ **Ready-to-Use Configuration**: Pre-configured `mcp-config.json.multi-project` for quick setup
1242
+ - ✅ **Reference Configuration**: Copy `mcp-config.json.multi-project` to an ignored `.local` file before adding credentials
1214
1243
  - ✅ **Updated Environment Variables**: Enhanced `.env.example` with project scoping guidance
1215
1244
 
1216
1245
  ---
@@ -1386,8 +1415,8 @@ Add your tool description to `src/mcp_openstack_ops/prompt_template.md` for bett
1386
1415
  ./scripts/run-mcp-inspector-local.sh
1387
1416
 
1388
1417
  # Or with Docker
1389
- docker-compose up -d
1390
- docker-compose logs -f mcp-server
1418
+ docker compose up -d
1419
+ docker compose logs -f mcp-server
1391
1420
 
1392
1421
  # Test with natural language:
1393
1422
  # "Show me your custom analysis"