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.
- mcp_openstack_ops-3.6.5/.env.example +102 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.gitignore +1 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/PKG-INFO +168 -139
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/README.md +167 -138
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docker-compose.yml +5 -7
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docs/multi-user-guide.md +121 -10
- mcp_openstack_ops-3.6.5/mcp-config.json.http +8 -0
- mcp_openstack_ops-3.6.5/mcp-config.json.multi-user +13 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/mcp_main.py +6 -5
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_heat_stack_details.py +5 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_image_members.py +5 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_flavor.py +9 -4
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_instance.py +45 -5
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_keypair.py +5 -2
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_network_ports.py +1 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_project.py +16 -16
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_subnets.py +1 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/user_connection.py +20 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/PKG-INFO +168 -139
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/SOURCES.txt +1 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/scm_file_list.json +1 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/scm_version.json +2 -2
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_expanded_validation_fixes.py +87 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_tool_registration.py +18 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_user_connection.py +98 -5
- mcp_openstack_ops-3.6.3/.env.example +0 -74
- mcp_openstack_ops-3.6.3/CONTEXT.md +0 -175
- mcp_openstack_ops-3.6.3/mcp-config.json.http +0 -11
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.env.test +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/FUNDING.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/copilot-instructions.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/dependabot.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/workflows/pypi-publish.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.github/workflows/tests.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.gitleaks.toml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.pre-commit-config.yaml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/.python-version +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/AGENTS.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/Dockerfile.MCP-Server +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/Dockerfile.MCPO-Proxy +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/LICENSE +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/MANIFEST.in +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/build-mcp-server-docker-image.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/build-mcpo-server-docker-image.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/diagnose_openstack.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docs/issues/issue-73-test-report-20261104-054928.ko.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/docs/issues/issue-73-test-report-20261104-054928.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/MCP-Workflow-of-Quickstart-Tutorial.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/screenshot-claude-desktop.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/screenshot-example-cluster-status.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/img/screenshot-openstack-dashboard.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/main.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/mcp-config.json.multi-project +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/mcp-config.json.stdio +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/pyproject.toml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/check_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/mcp-server-docker-cmd.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/publish_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/run-mcp-inspector-local.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/scripts/run-mcp-inspector-pypi.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/setup.cfg +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/__main__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/connection.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/functions.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/prompt_template.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/alarms.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/compute.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/core.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/identity.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/image.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/amphorae.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/core.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/health_monitors.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/l7_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/listeners.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/management.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/load_balancer/pools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/monitoring.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/network.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/orchestration.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/services/storage.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_availability_zones.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_domains.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_floating_ip_pools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_floating_ips.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_heat_stacks.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_hypervisor_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_identity_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_image_detail_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instance.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instance_by_name.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instance_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_instances_by_status.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_keypair_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_amphorae.py +0 -0
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_flavors.py +0 -0
- {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
- {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
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_listeners.py +0 -0
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_pools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_providers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_load_balancer_quotas.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_network_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_network_qos_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_project_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_quota.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_resource_monitoring.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_role_assignments.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_routers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_security_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_server_events.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_server_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_server_volumes.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_service_status.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_usage_statistics.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_user_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_backups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_qos.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_snapshots.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_transfers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/get_volume_types.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/search_instances.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_alarms.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_compute_agents.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_domains.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_floating_ip.py +0 -0
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_heat_stack.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_identity_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image_members.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image_metadata.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_image_visibility.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_amphora.py +0 -0
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_flavor.py +0 -0
- {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
- {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
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_listener.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_pool.py +0 -0
- {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
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_load_balancer_quota.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_metrics.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_network_agents.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_network_qos_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_networks.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_quota.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_roles.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_routers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_security_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_backup.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_dump.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_fixed_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_group.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_migration.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_network.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_properties.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_security_group.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_server_volume.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_service_logs.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_services.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_snapshot.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_users.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_backups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_qos.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops/tools/set_volume_types.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/dependency_links.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/entry_points.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/requires.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/src/mcp_openstack_ops.egg-info/top_level.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/test_compatibility.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/test_project_isolation.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_connection.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_instance_image.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_live_regressions.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_operational_tools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_phase1_stabilization.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_publish_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.5}/tests/test_release.py +0 -0
- {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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-openstack-ops
|
|
3
|
-
Version: 3.6.
|
|
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
|
|
96
|
-
docker
|
|
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
|
|
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:**
|
|
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` | ✅ |
|
|
225
|
-
| `openstack server delete` | `set_instance` (action="delete") | ✅ |
|
|
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") | ✅ |
|
|
228
|
-
| `openstack server shelve/unshelve` | `set_instance` | ✅ |
|
|
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") | ✅ |
|
|
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") | ✅ |
|
|
236
|
-
| `openstack server rescue/unrescue` | `set_instance` | ✅ |
|
|
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
|
-
|
|
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
|
-
|
|
521
|
+
```text
|
|
522
|
+
Browser → OpenWebUI → MCPO (OpenAPI) → MCP-OpenStack-Ops → OpenStack
|
|
523
|
+
```
|
|
518
524
|
|
|
519
|
-
|
|
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
|
-
|
|
522
|
-
|
|
523
|
-
|
|
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
|
-
|
|
526
|
-
uv sync
|
|
537
|
+
### 1. Clone and configure
|
|
527
538
|
|
|
528
|
-
|
|
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
|
-
|
|
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
|
-
|
|
549
|
+
In `.env`:
|
|
534
550
|
|
|
535
|
-
|
|
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
|
-
```
|
|
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
|
-
|
|
564
|
-
|
|
565
|
-
|
|
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
|
-
|
|
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
|
-
|
|
569
|
+
### 2. Start the stack
|
|
571
570
|
|
|
572
571
|
```bash
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
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
|
-
|
|
579
|
-
|
|
580
|
-
|
|
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
|
-
|
|
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
|
-
|
|
586
|
-
|
|
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
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
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
|
-
|
|
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
|
-
|
|
600
|
-
|
|
619
|
+
docker compose logs mcp-server mcpo-proxy open-webui
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
### 5. Enable modifications only when needed
|
|
601
623
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
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
|
-
|
|
608
|
-
|
|
609
|
-
-
|
|
610
|
-
-
|
|
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
|
-
|
|
636
|
+
Stop the stack without deleting the OpenWebUI data volume with:
|
|
613
637
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
- Open WebUI: `localhost:3000` (Web interface)
|
|
638
|
+
```bash
|
|
639
|
+
docker compose down
|
|
640
|
+
```
|
|
618
641
|
|
|
619
|
-
|
|
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
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
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 `
|
|
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:
|
|
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:
|
|
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 |
|
|
733
|
-
| `OS_PASSWORD` | OpenStack password | Required |
|
|
734
|
-
| `OS_PROJECT_NAME` | OpenStack project name | Required |
|
|
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` |
|
|
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
|
-
**📁
|
|
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
|
-
#
|
|
912
|
-
cp mcp-config.json.multi-project
|
|
913
|
-
|
|
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`
|
|
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
|
-
- ✅ **
|
|
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
|
|
1390
|
-
docker
|
|
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"
|