mcp-openstack-ops 3.6.6__tar.gz → 3.6.7__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 (194) hide show
  1. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.env.example +6 -1
  2. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/PKG-INFO +12 -8
  3. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/README.md +11 -7
  4. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/docs/multi-user-guide.md +23 -7
  5. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/mcp_main.py +10 -1
  6. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/core.py +12 -12
  7. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/user_connection.py +24 -9
  8. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/PKG-INFO +12 -8
  9. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/scm_version.json +2 -2
  10. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_user_connection.py +57 -1
  11. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.env.test +0 -0
  12. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.github/FUNDING.yml +0 -0
  13. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.github/copilot-instructions.md +0 -0
  14. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.github/dependabot.yml +0 -0
  15. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.github/workflows/pypi-publish.yml +0 -0
  16. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.github/workflows/tests.yml +0 -0
  17. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.gitignore +0 -0
  18. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.gitleaks.toml +0 -0
  19. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.pre-commit-config.yaml +0 -0
  20. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/.python-version +0 -0
  21. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/AGENTS.md +0 -0
  22. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/Dockerfile.MCP-Server +0 -0
  23. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/Dockerfile.MCPO-Proxy +0 -0
  24. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/LICENSE +0 -0
  25. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/MANIFEST.in +0 -0
  26. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/build-mcp-server-docker-image.sh +0 -0
  27. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/build-mcpo-server-docker-image.sh +0 -0
  28. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/diagnose_openstack.py +0 -0
  29. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/docker-compose.yml +0 -0
  30. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/docs/issues/issue-73-test-report-20261104-054928.ko.md +0 -0
  31. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/docs/issues/issue-73-test-report-20261104-054928.md +0 -0
  32. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/img/MCP-Workflow-of-Quickstart-Tutorial.png +0 -0
  33. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/img/screenshot-claude-desktop.png +0 -0
  34. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/img/screenshot-example-cluster-status.png +0 -0
  35. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/img/screenshot-openstack-dashboard.png +0 -0
  36. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/main.py +0 -0
  37. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/mcp-config.json.http +0 -0
  38. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/mcp-config.json.multi-project +0 -0
  39. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/mcp-config.json.multi-user +0 -0
  40. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/mcp-config.json.stdio +0 -0
  41. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/pyproject.toml +0 -0
  42. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/scripts/check_release.py +0 -0
  43. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/scripts/mcp-server-docker-cmd.sh +0 -0
  44. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/scripts/publish_release.py +0 -0
  45. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/scripts/run-mcp-inspector-local.sh +0 -0
  46. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/scripts/run-mcp-inspector-pypi.sh +0 -0
  47. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/setup.cfg +0 -0
  48. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/__init__.py +0 -0
  49. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/__main__.py +0 -0
  50. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/connection.py +0 -0
  51. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/functions.py +0 -0
  52. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/prompt_template.md +0 -0
  53. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/__init__.py +0 -0
  54. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/alarms.py +0 -0
  55. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/compute.py +0 -0
  56. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/identity.py +0 -0
  57. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/image.py +0 -0
  58. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/__init__.py +0 -0
  59. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/amphorae.py +0 -0
  60. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/core.py +0 -0
  61. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/health_monitors.py +0 -0
  62. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/l7_policies.py +0 -0
  63. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/listeners.py +0 -0
  64. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/management.py +0 -0
  65. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/load_balancer/pools.py +0 -0
  66. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/monitoring.py +0 -0
  67. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/network.py +0 -0
  68. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/orchestration.py +0 -0
  69. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/services/storage.py +0 -0
  70. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/__init__.py +0 -0
  71. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_availability_zones.py +0 -0
  72. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_domains.py +0 -0
  73. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_floating_ip_pools.py +0 -0
  74. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_floating_ips.py +0 -0
  75. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_heat_stack_details.py +0 -0
  76. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_heat_stacks.py +0 -0
  77. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_hypervisor_details.py +0 -0
  78. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_identity_groups.py +0 -0
  79. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_image_detail_list.py +0 -0
  80. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_image_members.py +0 -0
  81. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_instance.py +0 -0
  82. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_instance_by_name.py +0 -0
  83. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_instance_details.py +0 -0
  84. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_instances_by_status.py +0 -0
  85. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_keypair_list.py +0 -0
  86. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_amphorae.py +0 -0
  87. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_availability_zones.py +0 -0
  88. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_details.py +0 -0
  89. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_flavors.py +0 -0
  90. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_health_monitors.py +0 -0
  91. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_l7_policies.py +0 -0
  92. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_l7_rules.py +0 -0
  93. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_list.py +0 -0
  94. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_listeners.py +0 -0
  95. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_pool_members.py +0 -0
  96. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_pools.py +0 -0
  97. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_providers.py +0 -0
  98. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_load_balancer_quotas.py +0 -0
  99. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_network_details.py +0 -0
  100. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_network_qos_policies.py +0 -0
  101. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_project_details.py +0 -0
  102. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_quota.py +0 -0
  103. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_resource_monitoring.py +0 -0
  104. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_role_assignments.py +0 -0
  105. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_routers.py +0 -0
  106. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_security_groups.py +0 -0
  107. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_server_events.py +0 -0
  108. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_server_groups.py +0 -0
  109. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_server_volumes.py +0 -0
  110. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_service_status.py +0 -0
  111. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_usage_statistics.py +0 -0
  112. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_user_list.py +0 -0
  113. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_backups.py +0 -0
  114. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_groups.py +0 -0
  115. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_list.py +0 -0
  116. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_qos.py +0 -0
  117. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_snapshots.py +0 -0
  118. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_transfers.py +0 -0
  119. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/get_volume_types.py +0 -0
  120. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/search_instances.py +0 -0
  121. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_alarms.py +0 -0
  122. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_compute_agents.py +0 -0
  123. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_domains.py +0 -0
  124. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_flavor.py +0 -0
  125. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_floating_ip.py +0 -0
  126. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_floating_ip_port_forwarding.py +0 -0
  127. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_heat_stack.py +0 -0
  128. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_identity_groups.py +0 -0
  129. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_image.py +0 -0
  130. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_image_members.py +0 -0
  131. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_image_metadata.py +0 -0
  132. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_image_visibility.py +0 -0
  133. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_instance.py +0 -0
  134. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_keypair.py +0 -0
  135. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer.py +0 -0
  136. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_amphora.py +0 -0
  137. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_availability_zone.py +0 -0
  138. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_flavor.py +0 -0
  139. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_health_monitor.py +0 -0
  140. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_l7_policy.py +0 -0
  141. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_l7_rule.py +0 -0
  142. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_listener.py +0 -0
  143. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_pool.py +0 -0
  144. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_pool_member.py +0 -0
  145. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_load_balancer_quota.py +0 -0
  146. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_metrics.py +0 -0
  147. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_network_agents.py +0 -0
  148. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_network_ports.py +0 -0
  149. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_network_qos_policies.py +0 -0
  150. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_networks.py +0 -0
  151. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_project.py +0 -0
  152. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_quota.py +0 -0
  153. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_roles.py +0 -0
  154. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_routers.py +0 -0
  155. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_security_groups.py +0 -0
  156. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_backup.py +0 -0
  157. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_dump.py +0 -0
  158. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_fixed_ip.py +0 -0
  159. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_floating_ip.py +0 -0
  160. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_group.py +0 -0
  161. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_migration.py +0 -0
  162. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_network.py +0 -0
  163. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_properties.py +0 -0
  164. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_security_group.py +0 -0
  165. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_server_volume.py +0 -0
  166. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_service_logs.py +0 -0
  167. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_services.py +0 -0
  168. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_snapshot.py +0 -0
  169. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_subnets.py +0 -0
  170. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_users.py +0 -0
  171. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_volume.py +0 -0
  172. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_volume_backups.py +0 -0
  173. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_volume_groups.py +0 -0
  174. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_volume_qos.py +0 -0
  175. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops/tools/set_volume_types.py +0 -0
  176. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/SOURCES.txt +0 -0
  177. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/dependency_links.txt +0 -0
  178. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/entry_points.txt +0 -0
  179. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/requires.txt +0 -0
  180. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/scm_file_list.json +0 -0
  181. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/src/mcp_openstack_ops.egg-info/top_level.txt +0 -0
  182. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/test_compatibility.sh +0 -0
  183. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/test_project_isolation.py +0 -0
  184. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_connection.py +0 -0
  185. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_expanded_validation_fixes.py +0 -0
  186. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_floating_ip.py +0 -0
  187. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_instance_image.py +0 -0
  188. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_live_regressions.py +0 -0
  189. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_operational_tools.py +0 -0
  190. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_phase1_stabilization.py +0 -0
  191. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_publish_release.py +0 -0
  192. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_release.py +0 -0
  193. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/tests/test_tool_registration.py +0 -0
  194. {mcp_openstack_ops-3.6.6 → mcp_openstack_ops-3.6.7}/uv.lock +0 -0
@@ -34,7 +34,7 @@ FASTMCP_PORT=8000
34
34
  # on every MCP request:
35
35
  # X-OpenStack-Application-Credential-ID
36
36
  # X-OpenStack-Application-Credential-Secret
37
- # This mode requires OS_AUTH_PROTOCOL=https and OS_AUTH_HOST. It authenticates
37
+ # This mode requires OS_AUTH_PROTOCOL=https and OS_AUTH_HOST by default. It authenticates
38
38
  # each request directly with Keystone, does not use OS_USERNAME, OS_PASSWORD,
39
39
  # or OS_PROJECT_NAME, and never falls back to the server environment account.
40
40
  # It can run alone or behind shared Bearer authentication. When both modes are
@@ -44,6 +44,11 @@ FASTMCP_PORT=8000
44
44
  # independent instance whose private config contains only their own headers.
45
45
  MCP_MULTI_USER=false
46
46
 
47
+ # Development/testing only: explicitly allow multi-user credentials over HTTP.
48
+ # Keep false in production. When true, use disposable least-privilege credentials
49
+ # on an isolated network because secrets and tokens are transmitted in plaintext.
50
+ MCP_MULTI_USER_ALLOW_INSECURE_HTTP=false
51
+
47
52
  # (Optional) Enable HTTP Bearer token authentication for streamable-http mode.
48
53
  # Clients must send Authorization: Bearer <REMOTE_SECRET_KEY> when enabled.
49
54
  # With MCP_MULTI_USER=true, every request must pass both Bearer authentication
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-openstack-ops
3
- Version: 3.6.6
3
+ Version: 3.6.7
4
4
  Summary: OpenStack operations automation MCP server
5
5
  Author-email: JungJungIn <call518@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -192,7 +192,7 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
192
192
 
193
193
  **Validation evidence:**
194
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
195
+ snapshot predates the current working-tree changes. Its live
196
196
  classifications remain historical evidence and were not rerun for this change.
197
197
  - **Live tool checks:** 105/105 registered tools exercised. At least one live
198
198
  path passed for 76 tools; 28 tools were unavailable because the test cloud
@@ -212,11 +212,14 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
212
212
  - **Follow-up targeted checks:** `/mcp/.well-known/openid-configuration`
213
213
  returned 404 without authentication. A real Nova action list explicitly
214
214
  reported that the list has no finish time; optional event-detail lookup
215
- returned an event result and derived its latest finish time.
216
- - **Local unit tests (current working tree, 2026-11-04):** 269/269 (100%); no
215
+ returned an event result and derived its latest finish time. The new
216
+ HTTP-only multi-user test override is **Live unverified**; only its fail-closed
217
+ default, explicit opt-in, endpoint generation, and startup warning were tested
218
+ locally.
219
+ - **Local unit tests (current working tree, 2026-11-05):** 274/274 (100%); no
217
220
  failures or skipped tests. These tests include MCP action-description and
218
- advanced-parameter forwarding regressions; they do not replace live service
219
- validation.
221
+ advanced-parameter forwarding regressions plus the insecure-HTTP opt-in
222
+ regressions; they do not replace live service validation.
220
223
 
221
224
  **Detailed Mapping by Category**
222
225
 
@@ -820,7 +823,8 @@ Options:
820
823
  | `FASTMCP_HOST` | HTTP host address | `127.0.0.1` | For HTTP mode only |
821
824
  | `FASTMCP_PORT` | HTTP port number | `8080` | For HTTP mode only |
822
825
  | **Authentication (Optional)** |
823
- | `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 |
826
+ | `MCP_MULTI_USER` | Enable request-scoped per-user Application Credential authentication | `false` | Streamable HTTP only; requires HTTPS OpenStack endpoints by default and can be combined with shared Bearer authentication |
827
+ | `MCP_MULTI_USER_ALLOW_INSECURE_HTTP` | Allow multi-user OpenStack API requests over HTTP | `false` | Development/testing only; requires `MCP_MULTI_USER=true` and transmits credentials and tokens in plaintext |
824
828
  | `REMOTE_AUTH_ENABLE` | Enable Bearer token authentication for streamable-http mode | `false` | Production security |
825
829
  | `REMOTE_SECRET_KEY` | Shared secret for Bearer token authentication | Required when auth enabled | Checked before per-user authentication when both modes are enabled |
826
830
  | **Docker Compose** |
@@ -1229,7 +1233,7 @@ uv run python -m mcp_openstack_ops --type streamable-http --auth-enable --secret
1229
1233
  1. **stdio mode** (Default): Local-only access, no authentication needed
1230
1234
  2. **streamable-http + REMOTE_AUTH_ENABLE=false/undefined**: Remote access without authentication ⚠️ **NOT RECOMMENDED for production**
1231
1235
  3. **streamable-http + REMOTE_AUTH_ENABLE=true**: Remote access with Bearer token authentication ✅ **RECOMMENDED for production**
1232
- 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints.
1236
+ 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints by default. HTTP is available only for isolated development/testing with `MCP_MULTI_USER_ALLOW_INSECURE_HTTP=true`.
1233
1237
  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).
1234
1238
 
1235
1239
  > **🔒 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.
@@ -174,7 +174,7 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
174
174
 
175
175
  **Validation evidence:**
176
176
  - **Live snapshot (2026-11-04; working tree based on `a57b165`):** This live
177
- snapshot predates the current working-tree tool-schema corrections. Its live
177
+ snapshot predates the current working-tree changes. Its live
178
178
  classifications remain historical evidence and were not rerun for this change.
179
179
  - **Live tool checks:** 105/105 registered tools exercised. At least one live
180
180
  path passed for 76 tools; 28 tools were unavailable because the test cloud
@@ -194,11 +194,14 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
194
194
  - **Follow-up targeted checks:** `/mcp/.well-known/openid-configuration`
195
195
  returned 404 without authentication. A real Nova action list explicitly
196
196
  reported that the list has no finish time; optional event-detail lookup
197
- returned an event result and derived its latest finish time.
198
- - **Local unit tests (current working tree, 2026-11-04):** 269/269 (100%); no
197
+ returned an event result and derived its latest finish time. The new
198
+ HTTP-only multi-user test override is **Live unverified**; only its fail-closed
199
+ default, explicit opt-in, endpoint generation, and startup warning were tested
200
+ locally.
201
+ - **Local unit tests (current working tree, 2026-11-05):** 274/274 (100%); no
199
202
  failures or skipped tests. These tests include MCP action-description and
200
- advanced-parameter forwarding regressions; they do not replace live service
201
- validation.
203
+ advanced-parameter forwarding regressions plus the insecure-HTTP opt-in
204
+ regressions; they do not replace live service validation.
202
205
 
203
206
  **Detailed Mapping by Category**
204
207
 
@@ -802,7 +805,8 @@ Options:
802
805
  | `FASTMCP_HOST` | HTTP host address | `127.0.0.1` | For HTTP mode only |
803
806
  | `FASTMCP_PORT` | HTTP port number | `8080` | For HTTP mode only |
804
807
  | **Authentication (Optional)** |
805
- | `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 |
808
+ | `MCP_MULTI_USER` | Enable request-scoped per-user Application Credential authentication | `false` | Streamable HTTP only; requires HTTPS OpenStack endpoints by default and can be combined with shared Bearer authentication |
809
+ | `MCP_MULTI_USER_ALLOW_INSECURE_HTTP` | Allow multi-user OpenStack API requests over HTTP | `false` | Development/testing only; requires `MCP_MULTI_USER=true` and transmits credentials and tokens in plaintext |
806
810
  | `REMOTE_AUTH_ENABLE` | Enable Bearer token authentication for streamable-http mode | `false` | Production security |
807
811
  | `REMOTE_SECRET_KEY` | Shared secret for Bearer token authentication | Required when auth enabled | Checked before per-user authentication when both modes are enabled |
808
812
  | **Docker Compose** |
@@ -1211,7 +1215,7 @@ uv run python -m mcp_openstack_ops --type streamable-http --auth-enable --secret
1211
1215
  1. **stdio mode** (Default): Local-only access, no authentication needed
1212
1216
  2. **streamable-http + REMOTE_AUTH_ENABLE=false/undefined**: Remote access without authentication ⚠️ **NOT RECOMMENDED for production**
1213
1217
  3. **streamable-http + REMOTE_AUTH_ENABLE=true**: Remote access with Bearer token authentication ✅ **RECOMMENDED for production**
1214
- 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints.
1218
+ 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints by default. HTTP is available only for isolated development/testing with `MCP_MULTI_USER_ALLOW_INSECURE_HTTP=true`.
1215
1219
  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).
1216
1220
 
1217
1221
  > **🔒 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.
@@ -154,13 +154,29 @@ or secret store; the server's non-persistence rule does not cover client storage
154
154
 
155
155
  This follows the existing configured-host deployment layout: compute, network,
156
156
  volume, image, placement, and Heat endpoints use `OS_AUTH_HOST` with the existing
157
- `OS_*_PORT` variables, now over HTTPS with certificate verification. The identity
158
- URL ends in `/v3`. Other SDK services use the Keystone catalog, whose endpoints
159
- must also support HTTPS. Plaintext SDK requests, including redirected requests,
160
- are rejected. Existing manual Heat/Octavia probes use HTTPS in this mode and do
161
- not follow redirects. Deployments with HTTP-only internal services cannot use
162
- this mode without HTTPS endpoints. Standard system trust applies if no CA path is
163
- set; there is no implicit `verify=False` fallback.
157
+ `OS_*_PORT` variables, using HTTPS with certificate verification by default. The
158
+ identity URL ends in `/v3`. Other SDK services use the Keystone catalog, whose
159
+ endpoints must use the same protocol. Plaintext SDK requests are rejected unless
160
+ the explicit test-only override below is enabled. Redirected requests are always
161
+ rejected. Existing manual Heat/Octavia probes use the validated configured
162
+ protocol and do not follow redirects. Deployments with HTTP-only internal
163
+ services cannot use this mode securely without HTTPS endpoints. Standard system
164
+ trust applies if no CA path is set; there is no implicit `verify=False` fallback.
165
+
166
+ For isolated development or functional testing against an HTTP-only OpenStack
167
+ cloud, the HTTPS guard can be explicitly disabled:
168
+
169
+ ```bash
170
+ export MCP_MULTI_USER=true
171
+ export MCP_MULTI_USER_ALLOW_INSECURE_HTTP=true
172
+ export OS_AUTH_PROTOCOL=http
173
+ ```
174
+
175
+ This sends Application Credential secrets and issued tokens in plaintext. Use
176
+ only an isolated test network and a disposable, least-privileged credential with
177
+ a short expiration, then delete it after testing. The option defaults to `false`,
178
+ emits an `INSECURE TEST MODE` warning at startup, and must never be enabled in
179
+ production. Redirects remain disabled in both modes.
164
180
 
165
181
  ## Client compatibility
166
182
 
@@ -498,14 +498,23 @@ def main(argv: Optional[List[str]] = None) -> None:
498
498
  secret_key = args.secret_key or os.getenv("REMOTE_SECRET_KEY", "")
499
499
  multi_user = args.multi_user or _parse_bool_env(os.getenv("MCP_MULTI_USER", "false"))
500
500
  if multi_user:
501
+ protocol = os.getenv("OS_AUTH_PROTOCOL", "http").lower()
502
+ allow_insecure_http = _parse_bool_env(
503
+ os.getenv("MCP_MULTI_USER_ALLOW_INSECURE_HTTP", "false")
504
+ )
501
505
  if transport_type != "streamable-http":
502
506
  parser.error("--multi-user requires streamable-http")
503
- if os.getenv("OS_AUTH_PROTOCOL", "http").lower() != "https":
507
+ if protocol != "https" and not (protocol == "http" and allow_insecure_http):
504
508
  parser.error("Multi-user mode requires OS_AUTH_PROTOCOL=https")
505
509
  if not os.getenv("OS_AUTH_HOST"):
506
510
  parser.error("Multi-user mode requires OS_AUTH_HOST")
507
511
  if log_level.upper() == "DEBUG":
508
512
  parser.error("Multi-user mode does not allow DEBUG credential wire logging")
513
+ if protocol == "http":
514
+ logger.warning(
515
+ "INSECURE TEST MODE: Multi-user OpenStack credentials will be "
516
+ "transmitted over HTTP. Never use this setting in production."
517
+ )
509
518
  user_connection.configure(multi_user)
510
519
 
511
520
  # Validation for streamable-http mode with authentication
@@ -96,7 +96,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
96
96
  try:
97
97
  service_status['endpoint'] = conn.session.get_endpoint(service_type='identity', interface='public')
98
98
  except Exception:
99
- service_status['endpoint'] = f"{'https' if user_connection.enabled else 'http'}://{os.environ.get('OS_AUTH_HOST', 'localhost')}:{os.environ.get('OS_AUTH_PORT', '5000')}"
99
+ service_status['endpoint'] = f"{user_connection.service_protocol()}://{os.environ.get('OS_AUTH_HOST', 'localhost')}:{os.environ.get('OS_AUTH_PORT', '5000')}"
100
100
 
101
101
  elif service == 'orchestration':
102
102
  # Test orchestration service (Heat) with manual API call
@@ -111,7 +111,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
111
111
  # Construct Heat API URL
112
112
  auth_host = os.environ.get('OS_AUTH_HOST', 'localhost')
113
113
  heat_port = os.environ.get('OS_HEAT_STACK_PORT', '8004')
114
- heat_url = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1/{project_id}/stacks"
114
+ heat_url = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1/{project_id}/stacks"
115
115
 
116
116
  headers = {'X-Auth-Token': token}
117
117
 
@@ -124,7 +124,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
124
124
 
125
125
  # Also get Heat engine services information
126
126
  try:
127
- services_url = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1/{project_id}/services"
127
+ services_url = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1/{project_id}/services"
128
128
  services_response = requests.get(services_url, headers=headers, timeout=3, **_probe_request_options(conn))
129
129
 
130
130
  heat_engines_info = "engines status unknown"
@@ -136,7 +136,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
136
136
  except Exception:
137
137
  heat_engines_info = "engines status unavailable"
138
138
 
139
- service_status['endpoint'] = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1"
139
+ service_status['endpoint'] = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1"
140
140
  service_status['details'] = {
141
141
  'stacks_count': stacks_count,
142
142
  'api_version': 'v1',
@@ -379,7 +379,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
379
379
 
380
380
  for port in lb_ports:
381
381
  try:
382
- lb_url = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{port}/v2.0/lbaas/loadbalancers"
382
+ lb_url = f"{user_connection.service_protocol()}://{auth_host}:{port}/v2.0/lbaas/loadbalancers"
383
383
  headers = {'X-Auth-Token': token}
384
384
 
385
385
  response = timeout_session.get(lb_url, headers=headers, timeout=3, **_probe_request_options(conn))
@@ -1010,7 +1010,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1010
1010
  try:
1011
1011
  service_status['endpoint'] = conn.session.get_endpoint(service_type='identity', interface='public')
1012
1012
  except Exception:
1013
- service_status['endpoint'] = f"{'https' if user_connection.enabled else 'http'}://{os.environ.get('OS_AUTH_HOST', 'localhost')}:{os.environ.get('OS_AUTH_PORT', '5000')}"
1013
+ service_status['endpoint'] = f"{user_connection.service_protocol()}://{os.environ.get('OS_AUTH_HOST', 'localhost')}:{os.environ.get('OS_AUTH_PORT', '5000')}"
1014
1014
 
1015
1015
  elif service == 'orchestration':
1016
1016
  # Test orchestration service (Heat) with manual API call
@@ -1024,7 +1024,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1024
1024
  # Construct Heat API URL
1025
1025
  auth_host = os.environ.get('OS_AUTH_HOST', 'localhost')
1026
1026
  heat_port = os.environ.get('OS_HEAT_STACK_PORT', '8004')
1027
- heat_url = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1/{project_id}/stacks"
1027
+ heat_url = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1/{project_id}/stacks"
1028
1028
 
1029
1029
  headers = {
1030
1030
  'X-Auth-Token': token,
@@ -1035,7 +1035,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1035
1035
  response = requests.get(heat_url, headers=headers, timeout=10, **_probe_request_options(conn))
1036
1036
 
1037
1037
  if response.status_code in [200, 404]: # 404 is OK - means no stacks
1038
- service_status['endpoint'] = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}"
1038
+ service_status['endpoint'] = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}"
1039
1039
  service_status['version'] = 'v1'
1040
1040
  else:
1041
1041
  raise Exception(f"Heat API returned status {response.status_code}")
@@ -1137,7 +1137,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1137
1137
  try:
1138
1138
  service_status['endpoint'] = conn.session.get_endpoint(service_type='identity', interface='public')
1139
1139
  except Exception:
1140
- service_status['endpoint'] = f"{'https' if user_connection.enabled else 'http'}://{os.environ.get('OS_AUTH_HOST', 'localhost')}:{os.environ.get('OS_AUTH_PORT', '5000')}"
1140
+ service_status['endpoint'] = f"{user_connection.service_protocol()}://{os.environ.get('OS_AUTH_HOST', 'localhost')}:{os.environ.get('OS_AUTH_PORT', '5000')}"
1141
1141
  projects = list(conn.identity.projects())
1142
1142
  users = list(conn.identity.users())
1143
1143
  roles = list(conn.identity.roles())
@@ -1163,7 +1163,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1163
1163
  # Construct Heat API URL
1164
1164
  auth_host = os.environ.get('OS_AUTH_HOST', 'localhost')
1165
1165
  heat_port = os.environ.get('OS_HEAT_STACK_PORT', '8004')
1166
- heat_url = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1/{project_id}/stacks"
1166
+ heat_url = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1/{project_id}/stacks"
1167
1167
 
1168
1168
  headers = {'X-Auth-Token': token}
1169
1169
 
@@ -1177,7 +1177,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1177
1177
  # Also check Heat engine services status
1178
1178
  heat_services = []
1179
1179
  try:
1180
- services_url = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1/{project_id}/services"
1180
+ services_url = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1/{project_id}/services"
1181
1181
  services_response = requests.get(services_url, headers=headers, timeout=5, **_probe_request_options(conn))
1182
1182
 
1183
1183
  if services_response.status_code == 200:
@@ -1190,7 +1190,7 @@ def get_service_status(service_name: str = "") -> Dict[str, Any]:
1190
1190
  up_services = [s for s in heat_services if s.get('status') == 'up']
1191
1191
  down_services = [s for s in heat_services if s.get('status') == 'down']
1192
1192
 
1193
- service_status['endpoint'] = f"{'https' if user_connection.enabled else 'http'}://{auth_host}:{heat_port}/v1"
1193
+ service_status['endpoint'] = f"{user_connection.service_protocol()}://{auth_host}:{heat_port}/v1"
1194
1194
  service_status['available'] = True
1195
1195
  service_status['details'] = {
1196
1196
  'stacks': len(stacks),
@@ -29,19 +29,30 @@ logger = logging.getLogger(__name__)
29
29
  enabled = False
30
30
 
31
31
 
32
- class HTTPSOnlySession(requests.Session):
33
- """Prevent catalog endpoints or redirects from sending tokens over HTTP."""
32
+ class RestrictedSession(requests.Session):
33
+ """Restrict credential-bearing requests to the configured protocol."""
34
+
35
+ def __init__(self, protocol: str) -> None:
36
+ super().__init__()
37
+ self.protocol = protocol
34
38
 
35
39
  def send(
36
40
  self, request: requests.PreparedRequest, **kwargs: Any
37
41
  ) -> requests.Response:
38
42
  """Check the final prepared URL before sending credentials."""
39
- if urlsplit(request.url).scheme != "https":
40
- raise ValueError("Multi-user OpenStack requests require HTTPS")
43
+ if urlsplit(request.url).scheme != self.protocol:
44
+ raise ValueError(
45
+ f"Multi-user OpenStack requests require {self.protocol.upper()}"
46
+ )
41
47
  kwargs["allow_redirects"] = False
42
48
  return super().send(request, **kwargs)
43
49
 
44
50
 
51
+ def service_protocol() -> str:
52
+ """Return the validated protocol used by multi-user service probes."""
53
+ return os.getenv("OS_AUTH_PROTOCOL", "http").lower() if enabled else "http"
54
+
55
+
45
56
  @dataclass
46
57
  class RequestIdentity:
47
58
  """Keep connections and sensitive values out of object representations."""
@@ -157,18 +168,22 @@ def authenticate(credential_id: str, secret: str) -> RequestIdentity:
157
168
  """Authenticate afresh; never consult environment credentials or keyrings."""
158
169
  host = os.environ["OS_AUTH_HOST"]
159
170
  port = int(os.environ.get("OS_AUTH_PORT", "5000"))
160
- if os.environ.get("OS_AUTH_PROTOCOL", "http").lower() != "https":
171
+ protocol = os.environ.get("OS_AUTH_PROTOCOL", "http").lower()
172
+ allow_insecure_http = os.getenv(
173
+ "MCP_MULTI_USER_ALLOW_INSECURE_HTTP", "false"
174
+ ).strip().lower() in ("true", "1", "yes", "on")
175
+ if protocol != "https" and not (protocol == "http" and allow_insecure_http):
161
176
  raise ValueError("Multi-user mode requires OS_AUTH_PROTOCOL=https")
162
177
  if any(char in host for char in "/@?#"):
163
178
  raise ValueError("OS_AUTH_HOST must be a hostname or IP address")
164
179
  auth = ApplicationCredential(
165
- auth_url=f"https://{host}:{port}/v3",
180
+ auth_url=f"{protocol}://{host}:{port}/v3",
166
181
  application_credential_id=credential_id,
167
182
  application_credential_secret=secret,
168
183
  reauthenticate=False,
169
184
  )
170
185
  session = Session(
171
- auth=auth, session=HTTPSOnlySession(),
186
+ auth=auth, session=RestrictedSession(protocol),
172
187
  verify=os.getenv("OS_CACERT") or True, timeout=10, redirect=0,
173
188
  )
174
189
  conn = None
@@ -185,7 +200,7 @@ def authenticate(credential_id: str, secret: str) -> RequestIdentity:
185
200
  "identity_api_version": "3",
186
201
  "block_storage_api_version": "3",
187
202
  "orchestration_api_version": "1",
188
- "identity_endpoint_override": f"https://{host}:{port}/v3",
203
+ "identity_endpoint_override": f"{protocol}://{host}:{port}/v3",
189
204
  }
190
205
  for service, variable, default, path in (
191
206
  ("compute", "OS_COMPUTE_PORT", "8774", "/v2.1"),
@@ -197,7 +212,7 @@ def authenticate(credential_id: str, secret: str) -> RequestIdentity:
197
212
  ):
198
213
  service_port = int(os.getenv(variable, default))
199
214
  config[f"{service}_endpoint_override"] = (
200
- f"https://{host}:{service_port}{path}"
215
+ f"{protocol}://{host}:{service_port}{path}"
201
216
  )
202
217
  conn = Connection(config=CloudRegion(
203
218
  config=config, session=session, auth_plugin=auth,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-openstack-ops
3
- Version: 3.6.6
3
+ Version: 3.6.7
4
4
  Summary: OpenStack operations automation MCP server
5
5
  Author-email: JungJungIn <call518@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -192,7 +192,7 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
192
192
 
193
193
  **Validation evidence:**
194
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
195
+ snapshot predates the current working-tree changes. Its live
196
196
  classifications remain historical evidence and were not rerun for this change.
197
197
  - **Live tool checks:** 105/105 registered tools exercised. At least one live
198
198
  path passed for 76 tools; 28 tools were unavailable because the test cloud
@@ -212,11 +212,14 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
212
212
  - **Follow-up targeted checks:** `/mcp/.well-known/openid-configuration`
213
213
  returned 404 without authentication. A real Nova action list explicitly
214
214
  reported that the list has no finish time; optional event-detail lookup
215
- returned an event result and derived its latest finish time.
216
- - **Local unit tests (current working tree, 2026-11-04):** 269/269 (100%); no
215
+ returned an event result and derived its latest finish time. The new
216
+ HTTP-only multi-user test override is **Live unverified**; only its fail-closed
217
+ default, explicit opt-in, endpoint generation, and startup warning were tested
218
+ locally.
219
+ - **Local unit tests (current working tree, 2026-11-05):** 274/274 (100%); no
217
220
  failures or skipped tests. These tests include MCP action-description and
218
- advanced-parameter forwarding regressions; they do not replace live service
219
- validation.
221
+ advanced-parameter forwarding regressions plus the insecure-HTTP opt-in
222
+ regressions; they do not replace live service validation.
220
223
 
221
224
  **Detailed Mapping by Category**
222
225
 
@@ -820,7 +823,8 @@ Options:
820
823
  | `FASTMCP_HOST` | HTTP host address | `127.0.0.1` | For HTTP mode only |
821
824
  | `FASTMCP_PORT` | HTTP port number | `8080` | For HTTP mode only |
822
825
  | **Authentication (Optional)** |
823
- | `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 |
826
+ | `MCP_MULTI_USER` | Enable request-scoped per-user Application Credential authentication | `false` | Streamable HTTP only; requires HTTPS OpenStack endpoints by default and can be combined with shared Bearer authentication |
827
+ | `MCP_MULTI_USER_ALLOW_INSECURE_HTTP` | Allow multi-user OpenStack API requests over HTTP | `false` | Development/testing only; requires `MCP_MULTI_USER=true` and transmits credentials and tokens in plaintext |
824
828
  | `REMOTE_AUTH_ENABLE` | Enable Bearer token authentication for streamable-http mode | `false` | Production security |
825
829
  | `REMOTE_SECRET_KEY` | Shared secret for Bearer token authentication | Required when auth enabled | Checked before per-user authentication when both modes are enabled |
826
830
  | **Docker Compose** |
@@ -1229,7 +1233,7 @@ uv run python -m mcp_openstack_ops --type streamable-http --auth-enable --secret
1229
1233
  1. **stdio mode** (Default): Local-only access, no authentication needed
1230
1234
  2. **streamable-http + REMOTE_AUTH_ENABLE=false/undefined**: Remote access without authentication ⚠️ **NOT RECOMMENDED for production**
1231
1235
  3. **streamable-http + REMOTE_AUTH_ENABLE=true**: Remote access with Bearer token authentication ✅ **RECOMMENDED for production**
1232
- 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints.
1236
+ 4. **streamable-http + MCP_MULTI_USER=true**: Each request authenticates with the caller's project-scoped Keystone Application Credential and requires HTTPS OpenStack endpoints by default. HTTP is available only for isolated development/testing with `MCP_MULTI_USER_ALLOW_INSECURE_HTTP=true`.
1233
1237
  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).
1234
1238
 
1235
1239
  > **🔒 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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "tag": "3.6.6",
2
+ "tag": "3.6.7",
3
3
  "distance": 0,
4
- "node": "gaa90edf20556e98473f45fcad56ecfb922824736",
4
+ "node": "g96a47d45996ff17ea0053c5d8611b9763e31e118",
5
5
  "dirty": false,
6
6
  "branch": "HEAD",
7
7
  "node_date": "2026-11-04"
@@ -343,15 +343,56 @@ def test_catalog_or_redirect_cannot_send_token_over_http(monkeypatch):
343
343
  headers={"X-Auth-Token": "token"}).prepare()
344
344
  send = Mock()
345
345
  monkeypatch.setattr(requests.Session, "send", send)
346
- with users.HTTPSOnlySession() as session:
346
+ with users.RestrictedSession("https") as session:
347
347
  with pytest.raises(ValueError, match="require HTTPS"):
348
348
  session.send(request)
349
349
  send.assert_not_called()
350
350
 
351
351
 
352
+ def test_insecure_http_mode_builds_http_endpoints(monkeypatch):
353
+ monkeypatch.setenv("OS_AUTH_HOST", "cloud.example")
354
+ monkeypatch.setenv("OS_AUTH_PROTOCOL", "http")
355
+ monkeypatch.setenv("MCP_MULTI_USER_ALLOW_INSECURE_HTTP", "true")
356
+ access = SimpleNamespace(
357
+ user_id="alice", project_id="project-a", auth_token="token"
358
+ )
359
+ monkeypatch.setattr(users.ApplicationCredential, "get_access", lambda *args: access)
360
+
361
+ item = users.authenticate("credential-id", "secret")
362
+ try:
363
+ assert item.connection.session.auth.auth_url.startswith("http://")
364
+ endpoint = item.connection.config.config["compute_endpoint_override"]
365
+ assert endpoint.startswith("http://")
366
+ finally:
367
+ item.connection.close()
368
+ item.connection.session.session.close()
369
+
370
+
371
+ def test_multi_user_http_requires_explicit_insecure_opt_in(monkeypatch):
372
+ monkeypatch.setenv("OS_AUTH_HOST", "cloud.example")
373
+ monkeypatch.setenv("OS_AUTH_PROTOCOL", "http")
374
+ monkeypatch.delenv("MCP_MULTI_USER_ALLOW_INSECURE_HTTP", raising=False)
375
+
376
+ with pytest.raises(ValueError, match="requires OS_AUTH_PROTOCOL=https"):
377
+ users.authenticate("credential-id", "secret")
378
+
379
+
380
+ def test_multi_user_startup_rejects_http_without_explicit_opt_in(monkeypatch):
381
+ from mcp_openstack_ops.mcp_main import main
382
+ monkeypatch.setenv("OS_AUTH_PROTOCOL", "http")
383
+ monkeypatch.setenv("OS_AUTH_HOST", "cloud.example")
384
+ monkeypatch.delenv("MCP_MULTI_USER_ALLOW_INSECURE_HTTP", raising=False)
385
+
386
+ with pytest.raises(SystemExit) as error:
387
+ main(["--multi-user", "--type", "streamable-http"])
388
+
389
+ assert error.value.code == 2
390
+
391
+
352
392
  @pytest.mark.parametrize("args", [["--multi-user"]])
353
393
  def test_invalid_startup_modes(monkeypatch, args):
354
394
  from mcp_openstack_ops.mcp_main import main
395
+ monkeypatch.setenv("FASTMCP_TYPE", "stdio")
355
396
  monkeypatch.setenv("OS_AUTH_PROTOCOL", "https")
356
397
  monkeypatch.setenv("OS_AUTH_HOST", "cloud.example")
357
398
  with pytest.raises(SystemExit) as error:
@@ -376,6 +417,21 @@ def test_multi_user_starts_stateless_and_keeps_writes_off(monkeypatch):
376
417
  assert not mcp_main._is_modify_operation_allowed()
377
418
 
378
419
 
420
+ def test_multi_user_allows_explicit_insecure_http_test_mode(monkeypatch, caplog):
421
+ from mcp_openstack_ops import mcp_main
422
+ monkeypatch.setenv("OS_AUTH_PROTOCOL", "http")
423
+ monkeypatch.setenv("OS_AUTH_HOST", "cloud.example")
424
+ monkeypatch.setenv("MCP_MULTI_USER_ALLOW_INSECURE_HTTP", "true")
425
+ run = Mock()
426
+ monkeypatch.setattr(mcp_main.mcp, "run", run)
427
+
428
+ with caplog.at_level("WARNING"):
429
+ mcp_main.main(["--multi-user", "--type", "streamable-http"])
430
+
431
+ run.assert_called_once()
432
+ assert "INSECURE TEST MODE" in caplog.text
433
+
434
+
379
435
  def test_multi_user_and_bearer_start_as_layered_authentication(monkeypatch):
380
436
  from mcp_openstack_ops import mcp_main
381
437
  monkeypatch.setenv("OS_AUTH_PROTOCOL", "https")