mcp-openstack-ops 3.6.3__tar.gz → 3.6.4__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.3 → mcp_openstack_ops-3.6.4}/PKG-INFO +16 -10
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/README.md +15 -9
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_heat_stack_details.py +5 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_image_members.py +5 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_flavor.py +9 -4
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_instance.py +45 -5
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_keypair.py +5 -2
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_network_ports.py +1 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_project.py +16 -16
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_subnets.py +1 -1
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/PKG-INFO +16 -10
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/scm_version.json +2 -2
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_expanded_validation_fixes.py +87 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_tool_registration.py +18 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.env.example +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.env.test +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.github/FUNDING.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.github/copilot-instructions.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.github/dependabot.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.github/workflows/pypi-publish.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.github/workflows/tests.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.gitignore +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.gitleaks.toml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.pre-commit-config.yaml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/.python-version +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/AGENTS.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/CONTEXT.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/Dockerfile.MCP-Server +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/Dockerfile.MCPO-Proxy +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/LICENSE +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/MANIFEST.in +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/build-mcp-server-docker-image.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/build-mcpo-server-docker-image.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/diagnose_openstack.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/docker-compose.yml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/docs/issues/issue-73-test-report-20261104-054928.ko.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/docs/issues/issue-73-test-report-20261104-054928.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/docs/multi-user-guide.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/img/MCP-Workflow-of-Quickstart-Tutorial.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/img/screenshot-claude-desktop.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/img/screenshot-example-cluster-status.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/img/screenshot-openstack-dashboard.png +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/main.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/mcp-config.json.http +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/mcp-config.json.multi-project +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/mcp-config.json.stdio +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/pyproject.toml +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/scripts/check_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/scripts/mcp-server-docker-cmd.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/scripts/publish_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/scripts/run-mcp-inspector-local.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/scripts/run-mcp-inspector-pypi.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/setup.cfg +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/__main__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/connection.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/functions.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/mcp_main.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/prompt_template.md +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/alarms.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/compute.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/core.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/identity.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/image.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/amphorae.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/core.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/health_monitors.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/l7_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/listeners.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/management.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/load_balancer/pools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/monitoring.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/network.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/orchestration.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/services/storage.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/__init__.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_availability_zones.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_domains.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_floating_ip_pools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_floating_ips.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_heat_stacks.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_hypervisor_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_identity_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_image_detail_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_instance.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_instance_by_name.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_instance_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_instances_by_status.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_keypair_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_amphorae.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_availability_zones.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_flavors.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_health_monitors.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_l7_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_l7_rules.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_listeners.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_pool_members.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_pools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_providers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_load_balancer_quotas.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_network_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_network_qos_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_project_details.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_quota.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_resource_monitoring.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_role_assignments.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_routers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_security_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_server_events.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_server_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_server_volumes.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_service_status.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_usage_statistics.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_user_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_backups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_list.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_qos.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_snapshots.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_transfers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_volume_types.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/search_instances.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_alarms.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_compute_agents.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_domains.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_floating_ip_port_forwarding.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_heat_stack.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_identity_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_image.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_image_members.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_image_metadata.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_image_visibility.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_amphora.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_availability_zone.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_flavor.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_health_monitor.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_l7_policy.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_l7_rule.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_listener.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_pool.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_pool_member.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_load_balancer_quota.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_metrics.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_network_agents.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_network_qos_policies.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_networks.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_quota.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_roles.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_routers.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_security_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_backup.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_dump.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_fixed_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_group.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_migration.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_network.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_properties.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_security_group.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_server_volume.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_service_logs.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_services.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_snapshot.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_users.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_volume.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_volume_backups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_volume_groups.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_volume_qos.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_volume_types.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/user_connection.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/SOURCES.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/dependency_links.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/entry_points.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/requires.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/scm_file_list.json +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops.egg-info/top_level.txt +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/test_compatibility.sh +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/test_project_isolation.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_connection.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_instance_image.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_live_regressions.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_operational_tools.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_phase1_stabilization.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_publish_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_release.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/tests/test_user_connection.py +0 -0
- {mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-openstack-ops
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.4
|
|
4
4
|
Summary: OpenStack operations automation MCP server
|
|
5
5
|
Author-email: JungJungIn <call518@gmail.com>
|
|
6
6
|
Requires-Python: >=3.12
|
|
@@ -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):** 263/263 (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 |
|
|
@@ -172,7 +172,10 @@ Service availability, permissions, and asynchronous completion affect results.
|
|
|
172
172
|
See [API prerequisites and result semantics](#api-prerequisites-and-result-semantics)
|
|
173
173
|
and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
174
174
|
|
|
175
|
-
**Validation
|
|
175
|
+
**Validation evidence:**
|
|
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
|
|
178
|
+
classifications remain historical evidence and were not rerun for this change.
|
|
176
179
|
- **Live tool checks:** 105/105 registered tools exercised. At least one live
|
|
177
180
|
path passed for 76 tools; 28 tools were unavailable because the test cloud
|
|
178
181
|
lacks Octavia, Aodh, Neutron QoS, or floating-IP port-forwarding APIs; one
|
|
@@ -192,7 +195,10 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
192
195
|
returned 404 without authentication. A real Nova action list explicitly
|
|
193
196
|
reported that the list has no finish time; optional event-detail lookup
|
|
194
197
|
returned an event result and derived its latest finish time.
|
|
195
|
-
- **Local unit tests:**
|
|
198
|
+
- **Local unit tests (current working tree, 2026-11-04):** 263/263 (100%); no
|
|
199
|
+
failures or skipped tests. These tests include MCP action-description and
|
|
200
|
+
advanced-parameter forwarding regressions; they do not replace live service
|
|
201
|
+
validation.
|
|
196
202
|
|
|
197
203
|
**Detailed Mapping by Category**
|
|
198
204
|
|
|
@@ -203,19 +209,19 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
203
209
|
| `openstack server list` | `get_instance` | ✅ | Separate reader projects each returned exactly ten owned VMs; bounded lab validation only |
|
|
204
210
|
| `openstack server show` | `get_instance` | ✅ | Own fixture queries completed; foreign private ID returned no details; no 16-owned-ID batch claim |
|
|
205
211
|
| `openstack server create` | `set_instance` (action="create") | ✅ | **ENHANCED** - Bulk creation support |
|
|
206
|
-
| `openstack server start/stop/reboot` | `set_instance` | ✅ |
|
|
207
|
-
| `openstack server delete` | `set_instance` (action="delete") | ✅ |
|
|
212
|
+
| `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 |
|
|
213
|
+
| `openstack server delete` | `set_instance` (action="delete") | ✅ | Tool schema exposes delete and optional force deletion; bulk deletion with `name_contains` filtering |
|
|
208
214
|
| `openstack server backup create` | `set_server_backup` | ✅ | Nova backup action with rotation; asynchronous, no custom metadata |
|
|
209
|
-
| `openstack server image create` | `set_instance` (action="snapshot") | ✅ |
|
|
210
|
-
| `openstack server shelve/unshelve` | `set_instance` | ✅ |
|
|
215
|
+
| `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 |
|
|
216
|
+
| `openstack server shelve/unshelve` | `set_instance` | ✅ | Actions are exposed in the tool schema; instance shelving was not live-retested in this change |
|
|
211
217
|
| `openstack server lock/unlock` | `set_instance` | ✅ | Instance locking |
|
|
212
218
|
| `openstack server pause/unpause` | `set_instance` | ✅ | Instance pausing |
|
|
213
219
|
| `openstack server suspend/resume` | `set_instance` | ✅ | Instance suspension |
|
|
214
|
-
| `openstack server resize` | `set_instance` (action="resize") | ✅ |
|
|
220
|
+
| `openstack server resize` | `set_instance` (action="resize") | ✅ | Uses the existing `flavor` parameter as the target flavor; action exposure is locally tested |
|
|
215
221
|
| `openstack server resize confirm` | `set_instance` (action="confirm_resize") | ✅ | Resize confirmation |
|
|
216
222
|
| `openstack server resize revert` | `set_instance` (action="revert_resize") | ✅ | Resize revert |
|
|
217
|
-
| `openstack server rebuild` | `set_instance` (action="rebuild") | ✅ |
|
|
218
|
-
| `openstack server rescue/unrescue` | `set_instance` | ✅ |
|
|
223
|
+
| `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 |
|
|
224
|
+
| `openstack server rescue/unrescue` | `set_instance` | ✅ | Tool schema exposes both actions and optional `rescue_image_id`; not live-retested in this change |
|
|
219
225
|
| `openstack server migrate` | `set_server_migration` (action="migrate") | ✅ | Live migration |
|
|
220
226
|
| `openstack server evacuate` | `set_server_migration` (action="evacuate") | ✅ | Server evacuation |
|
|
221
227
|
| `openstack server migration list` | `set_server_migration` (action="list") | ✅ | Migration listing |
|
|
@@ -7,6 +7,10 @@ from ..mcp_main import mcp
|
|
|
7
7
|
|
|
8
8
|
@mcp.tool()
|
|
9
9
|
async def get_heat_stack_details(stack_name: str, section: str = 'resources') -> str:
|
|
10
|
-
"""Query
|
|
10
|
+
"""Query resources, events, template, or outputs for a Heat stack.
|
|
11
|
+
|
|
12
|
+
Args:
|
|
13
|
+
stack_name: Stack name or ID.
|
|
14
|
+
section: Detail section to return: resources, events, template, or outputs.
|
|
11
15
|
"""
|
|
12
16
|
return json.dumps(_query(stack_name=stack_name, section=section), indent=2)
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/get_image_members.py
RENAMED
|
@@ -7,5 +7,9 @@ from ..mcp_main import mcp
|
|
|
7
7
|
|
|
8
8
|
@mcp.tool()
|
|
9
9
|
async def get_image_members(image_name: str) -> str:
|
|
10
|
-
"""List member projects for an image
|
|
10
|
+
"""List member projects for an image.
|
|
11
|
+
|
|
12
|
+
Args:
|
|
13
|
+
image_name: Image name or ID.
|
|
14
|
+
"""
|
|
11
15
|
return json.dumps(_query(action="list", image_name=image_name), indent=2)
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_flavor.py
RENAMED
|
@@ -22,11 +22,12 @@ async def set_flavor(
|
|
|
22
22
|
properties: Optional[str] = None
|
|
23
23
|
) -> str:
|
|
24
24
|
"""
|
|
25
|
-
Manage OpenStack flavors (create, delete, set
|
|
25
|
+
Manage OpenStack flavors (create, delete, list, set extra specs).
|
|
26
26
|
|
|
27
27
|
Args:
|
|
28
28
|
flavor_name: Name of the flavor
|
|
29
|
-
action: Action to perform (create, delete,
|
|
29
|
+
action: Action to perform (create, delete, list, set_extra_specs).
|
|
30
|
+
The set alias is accepted for backward compatibility.
|
|
30
31
|
vcpus: Number of virtual CPUs (for create)
|
|
31
32
|
ram: Amount of RAM in MB (for create)
|
|
32
33
|
disk: Disk size in GB (for create)
|
|
@@ -34,7 +35,7 @@ async def set_flavor(
|
|
|
34
35
|
swap: Swap size in MB (for create)
|
|
35
36
|
rxtx_factor: RX/TX factor (for create)
|
|
36
37
|
is_public: Whether flavor is public (for create)
|
|
37
|
-
properties: JSON string
|
|
38
|
+
properties: JSON string encoding extra specs (for create/set_extra_specs)
|
|
38
39
|
|
|
39
40
|
Returns:
|
|
40
41
|
JSON string with flavor operation result
|
|
@@ -42,6 +43,10 @@ async def set_flavor(
|
|
|
42
43
|
try:
|
|
43
44
|
logger.info(f"Managing flavor: {flavor_name}, action: {action}")
|
|
44
45
|
|
|
46
|
+
action = action.strip().lower()
|
|
47
|
+
if action == 'set':
|
|
48
|
+
action = 'set_extra_specs'
|
|
49
|
+
|
|
45
50
|
flavor_params = {}
|
|
46
51
|
|
|
47
52
|
if vcpus is not None:
|
|
@@ -61,7 +66,7 @@ async def set_flavor(
|
|
|
61
66
|
|
|
62
67
|
if properties:
|
|
63
68
|
import json as json_module
|
|
64
|
-
flavor_params['
|
|
69
|
+
flavor_params['extra_specs'] = json_module.loads(properties)
|
|
65
70
|
|
|
66
71
|
flavor_result = _set_flavor(flavor_name=flavor_name, action=action, **flavor_params)
|
|
67
72
|
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_instance.py
RENAMED
|
@@ -29,10 +29,18 @@ async def set_instance(
|
|
|
29
29
|
networks: Optional[str] = None,
|
|
30
30
|
security_groups: Optional[str] = None,
|
|
31
31
|
key_name: Optional[str] = None,
|
|
32
|
-
availability_zone: Optional[str] = None
|
|
32
|
+
availability_zone: Optional[str] = None,
|
|
33
|
+
force: bool = False,
|
|
34
|
+
reboot_type: str = "SOFT",
|
|
35
|
+
snapshot_name: Optional[str] = None,
|
|
36
|
+
metadata: str = "{}",
|
|
37
|
+
console_type: str = "novnc",
|
|
38
|
+
rescue_image_id: Optional[str] = None,
|
|
39
|
+
new_name: Optional[str] = None,
|
|
40
|
+
preserve_ephemeral: bool = False,
|
|
33
41
|
) -> str:
|
|
34
42
|
"""
|
|
35
|
-
|
|
43
|
+
Manage OpenStack instance lifecycle operations.
|
|
36
44
|
Supports both direct target specification and automatic filtering-based target identification.
|
|
37
45
|
|
|
38
46
|
Functions:
|
|
@@ -42,6 +50,8 @@ async def set_instance(
|
|
|
42
50
|
- Restart/reboot instances (soft reboot)
|
|
43
51
|
- Pause active instances (suspend to memory)
|
|
44
52
|
- Unpause/resume paused instances
|
|
53
|
+
- Suspend/resume, delete, resize, snapshot, console, shelve/unshelve,
|
|
54
|
+
lock/unlock, rescue/unrescue, and rebuild instances
|
|
45
55
|
- Bulk operations: Apply action to multiple instances at once
|
|
46
56
|
- Filter-based targeting: Automatically find targets using filtering conditions
|
|
47
57
|
|
|
@@ -59,7 +69,10 @@ async def set_instance(
|
|
|
59
69
|
- Multiple: "instance1,instance2,instance3" or "instance1, instance2, instance3"
|
|
60
70
|
- List format: '["instance1", "instance2", "instance3"]'
|
|
61
71
|
- Leave empty to use filtering parameters
|
|
62
|
-
action: Management action (create, start, stop, restart, reboot, pause,
|
|
72
|
+
action: Management action (create, start, stop, restart, reboot, pause,
|
|
73
|
+
unpause, suspend, resume, delete, resize, confirm_resize,
|
|
74
|
+
revert_resize, snapshot, console, shelve, unshelve, lock,
|
|
75
|
+
unlock, rescue, unrescue, rebuild)
|
|
63
76
|
|
|
64
77
|
# Filtering parameters (alternative to instance_names)
|
|
65
78
|
name_contains: Filter instances whose names contain this string (e.g., "ttt", "dev", "test")
|
|
@@ -74,6 +87,14 @@ async def set_instance(
|
|
|
74
87
|
security_groups: Security group name(s) for create action (e.g., 'default', 'web-sg')
|
|
75
88
|
key_name: SSH keypair name for create action (optional)
|
|
76
89
|
availability_zone: Availability zone for create action (optional)
|
|
90
|
+
force: Force deletion when action is delete
|
|
91
|
+
reboot_type: Reboot type, SOFT or HARD, for reboot/restart
|
|
92
|
+
snapshot_name: Image name for snapshot action
|
|
93
|
+
metadata: JSON object for create, snapshot, or rebuild metadata
|
|
94
|
+
console_type: Console protocol for console action (default: novnc)
|
|
95
|
+
rescue_image_id: Optional image ID for rescue action
|
|
96
|
+
new_name: Optional server name for rebuild action
|
|
97
|
+
preserve_ephemeral: Preserve ephemeral storage during rebuild
|
|
77
98
|
|
|
78
99
|
Returns:
|
|
79
100
|
Clear success message with instance details OR clear error message if operation fails.
|
|
@@ -92,7 +113,7 @@ async def set_instance(
|
|
|
92
113
|
"""
|
|
93
114
|
try:
|
|
94
115
|
if not action or not action.strip():
|
|
95
|
-
return "Error: Action is required
|
|
116
|
+
return "Error: Action is required; see the tool description for supported actions"
|
|
96
117
|
|
|
97
118
|
action = action.strip().lower()
|
|
98
119
|
|
|
@@ -170,7 +191,6 @@ async def set_instance(
|
|
|
170
191
|
# Handle JSON list format: ["name1", "name2"]
|
|
171
192
|
if names_str.startswith('[') and names_str.endswith(']'):
|
|
172
193
|
try:
|
|
173
|
-
import json
|
|
174
194
|
name_list = json.loads(names_str)
|
|
175
195
|
if not isinstance(name_list, list):
|
|
176
196
|
return "Error: Invalid JSON list format for instance names"
|
|
@@ -199,6 +219,26 @@ async def set_instance(
|
|
|
199
219
|
kwargs['key_name'] = key_name
|
|
200
220
|
if availability_zone:
|
|
201
221
|
kwargs['availability_zone'] = availability_zone
|
|
222
|
+
kwargs['force'] = force
|
|
223
|
+
if action in {'reboot', 'restart'}:
|
|
224
|
+
kwargs['type'] = reboot_type
|
|
225
|
+
if snapshot_name:
|
|
226
|
+
kwargs['snapshot_name'] = snapshot_name
|
|
227
|
+
if metadata.strip():
|
|
228
|
+
try:
|
|
229
|
+
parsed_metadata = json.loads(metadata)
|
|
230
|
+
except json.JSONDecodeError:
|
|
231
|
+
return "Error: metadata must be a valid JSON object"
|
|
232
|
+
if not isinstance(parsed_metadata, dict):
|
|
233
|
+
return "Error: metadata must be a JSON object"
|
|
234
|
+
kwargs['metadata'] = parsed_metadata
|
|
235
|
+
if action == 'console':
|
|
236
|
+
kwargs['type'] = console_type
|
|
237
|
+
if rescue_image_id:
|
|
238
|
+
kwargs['rescue_image_id'] = rescue_image_id
|
|
239
|
+
if new_name:
|
|
240
|
+
kwargs['new_name'] = new_name
|
|
241
|
+
kwargs['preserve_ephemeral'] = preserve_ephemeral
|
|
202
242
|
|
|
203
243
|
# Handle single instance (backward compatibility)
|
|
204
244
|
if len(name_list) == 1:
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_keypair.py
RENAMED
|
@@ -44,7 +44,8 @@ async def set_keypair(
|
|
|
44
44
|
2. Filter-based: Use name_contains to auto-identify targets
|
|
45
45
|
|
|
46
46
|
Args:
|
|
47
|
-
action: Action to perform - create, delete, import
|
|
47
|
+
action: Action to perform - create, delete, import, show. Import is an
|
|
48
|
+
alias for create with public_key supplied.
|
|
48
49
|
keypair_names: Name(s) of keypairs to manage. Support formats:
|
|
49
50
|
- Single: "keypair1"
|
|
50
51
|
- Multiple: "keypair1,keypair2,keypair3"
|
|
@@ -70,9 +71,11 @@ async def set_keypair(
|
|
|
70
71
|
"""
|
|
71
72
|
try:
|
|
72
73
|
if not action or not action.strip():
|
|
73
|
-
return "Error: Action is required (create, delete, import)"
|
|
74
|
+
return "Error: Action is required (create, delete, import, show)"
|
|
74
75
|
|
|
75
76
|
action = action.strip().lower()
|
|
77
|
+
if action == 'import':
|
|
78
|
+
action = 'create'
|
|
76
79
|
|
|
77
80
|
# Determine targeting method
|
|
78
81
|
has_direct_targets = keypair_names and keypair_names.strip()
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_network_ports.py
RENAMED
|
@@ -20,7 +20,7 @@ async def set_network_ports(
|
|
|
20
20
|
Manage OpenStack network ports for VM and network connectivity
|
|
21
21
|
|
|
22
22
|
Args:
|
|
23
|
-
action: Action to perform - list, create, delete
|
|
23
|
+
action: Action to perform - list, show, create, delete
|
|
24
24
|
port_name: Name or ID of the port
|
|
25
25
|
network_id: Network ID for port creation (required for create)
|
|
26
26
|
description: Description for the port
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_project.py
RENAMED
|
@@ -19,22 +19,26 @@ async def set_project(
|
|
|
19
19
|
tags: str = ""
|
|
20
20
|
) -> str:
|
|
21
21
|
"""
|
|
22
|
-
Manage OpenStack projects (create, delete,
|
|
22
|
+
Manage OpenStack projects (create, delete, update, show, list).
|
|
23
23
|
|
|
24
24
|
Args:
|
|
25
25
|
project_name: Name of the project (required)
|
|
26
|
-
action: Action to perform (create, delete,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
action: Action to perform (create, delete, update, show, list).
|
|
27
|
+
The set alias is accepted for backward compatibility.
|
|
28
|
+
description: Project description (optional, for create/update)
|
|
29
|
+
enable: Enable project (optional, for update action)
|
|
30
|
+
disable: Disable project (optional, for update action)
|
|
30
31
|
domain: Domain name or ID (optional, for create)
|
|
31
|
-
parent:
|
|
32
|
-
tags:
|
|
32
|
+
parent: Reserved compatibility parameter; parent changes are not implemented
|
|
33
|
+
tags: Reserved compatibility parameter; project tags are not implemented
|
|
33
34
|
|
|
34
35
|
Returns:
|
|
35
36
|
JSON string containing the result of the project management operation
|
|
36
37
|
"""
|
|
37
38
|
try:
|
|
39
|
+
action = action.strip().lower()
|
|
40
|
+
if action == 'set':
|
|
41
|
+
action = 'update'
|
|
38
42
|
logger.info(f"Managing project - Action: {action}, Project: {project_name}")
|
|
39
43
|
|
|
40
44
|
# Build project parameters
|
|
@@ -42,16 +46,12 @@ async def set_project(
|
|
|
42
46
|
if description:
|
|
43
47
|
project_params['description'] = description
|
|
44
48
|
if enable is not None:
|
|
45
|
-
project_params['
|
|
46
|
-
if disable
|
|
47
|
-
project_params['
|
|
49
|
+
project_params['enabled'] = enable
|
|
50
|
+
if disable:
|
|
51
|
+
project_params['enabled'] = False
|
|
48
52
|
if domain:
|
|
49
|
-
project_params['
|
|
50
|
-
|
|
51
|
-
project_params['parent'] = parent
|
|
52
|
-
if tags:
|
|
53
|
-
project_params['tags'] = [tag.strip() for tag in tags.split(',')]
|
|
54
|
-
|
|
53
|
+
project_params['domain_id'] = domain
|
|
54
|
+
|
|
55
55
|
project_result = _set_project(project_name=project_name, action=action, **project_params)
|
|
56
56
|
|
|
57
57
|
# Use centralized result handling
|
{mcp_openstack_ops-3.6.3 → mcp_openstack_ops-3.6.4}/src/mcp_openstack_ops/tools/set_subnets.py
RENAMED
|
@@ -23,7 +23,7 @@ async def set_subnets(
|
|
|
23
23
|
Manage OpenStack network subnets for IP address allocation
|
|
24
24
|
|
|
25
25
|
Args:
|
|
26
|
-
action: Action to perform - list, create, delete
|
|
26
|
+
action: Action to perform - list, show, create, delete
|
|
27
27
|
subnet_name: Name or ID of the subnet
|
|
28
28
|
network_id: Network ID for subnet creation (required for create)
|
|
29
29
|
cidr: CIDR notation for subnet (required for create, e.g., '192.168.1.0/24')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-openstack-ops
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.4
|
|
4
4
|
Summary: OpenStack operations automation MCP server
|
|
5
5
|
Author-email: JungJungIn <call518@gmail.com>
|
|
6
6
|
Requires-Python: >=3.12
|
|
@@ -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):** 263/263 (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 |
|
|
@@ -10,6 +10,93 @@ from mcp_openstack_ops import connection
|
|
|
10
10
|
from mcp_openstack_ops.services import compute, monitoring, storage
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
def _tool_handler(module, name):
|
|
14
|
+
tool = getattr(module, name)
|
|
15
|
+
return getattr(tool, 'fn', tool)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
@pytest.mark.parametrize(
|
|
19
|
+
'tool,actions',
|
|
20
|
+
[
|
|
21
|
+
('set_instance', {'delete', 'resize', 'snapshot', 'rebuild'}),
|
|
22
|
+
('set_flavor', {'list', 'set_extra_specs'}),
|
|
23
|
+
('set_project', {'update', 'show', 'list'}),
|
|
24
|
+
('set_keypair', {'import', 'show'}),
|
|
25
|
+
('set_network_ports', {'show'}),
|
|
26
|
+
('set_subnets', {'show'}),
|
|
27
|
+
],
|
|
28
|
+
)
|
|
29
|
+
def test_tool_descriptions_expose_supported_actions(tool, actions):
|
|
30
|
+
module = importlib.import_module(f'mcp_openstack_ops.tools.{tool}')
|
|
31
|
+
description = (_tool_handler(module, tool).__doc__ or '').lower()
|
|
32
|
+
assert all(action in description for action in actions)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@pytest.mark.asyncio
|
|
36
|
+
async def test_instance_tool_forwards_advanced_action_parameters(monkeypatch):
|
|
37
|
+
module = importlib.import_module('mcp_openstack_ops.tools.set_instance')
|
|
38
|
+
service = Mock(return_value={'success': True})
|
|
39
|
+
monkeypatch.setattr(module, '_set_instance', service)
|
|
40
|
+
monkeypatch.setattr(module, '_get_instance_by_name', Mock(return_value=None))
|
|
41
|
+
monkeypatch.setattr('time.sleep', lambda _: None)
|
|
42
|
+
|
|
43
|
+
await _tool_handler(module, 'set_instance')(
|
|
44
|
+
instance_names='vm', action='snapshot', force=True,
|
|
45
|
+
snapshot_name='backup', metadata='{"purpose": "test"}',
|
|
46
|
+
preserve_ephemeral=True,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
assert service.call_args.args == ('vm', 'snapshot')
|
|
50
|
+
assert service.call_args.kwargs['force'] is True
|
|
51
|
+
assert service.call_args.kwargs['snapshot_name'] == 'backup'
|
|
52
|
+
assert service.call_args.kwargs['metadata'] == {'purpose': 'test'}
|
|
53
|
+
assert service.call_args.kwargs['preserve_ephemeral'] is True
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
@pytest.mark.asyncio
|
|
57
|
+
async def test_flavor_set_alias_uses_backend_action_and_parameter(monkeypatch):
|
|
58
|
+
module = importlib.import_module('mcp_openstack_ops.tools.set_flavor')
|
|
59
|
+
service = Mock(return_value={'success': True})
|
|
60
|
+
monkeypatch.setattr(module, '_set_flavor', service)
|
|
61
|
+
|
|
62
|
+
await _tool_handler(module, 'set_flavor')(
|
|
63
|
+
flavor_name='small', action='set', properties='{"hw:cpu_policy": "shared"}',
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
assert service.call_args.kwargs['action'] == 'set_extra_specs'
|
|
67
|
+
assert service.call_args.kwargs['extra_specs'] == {'hw:cpu_policy': 'shared'}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
@pytest.mark.asyncio
|
|
71
|
+
async def test_project_set_alias_forwards_backend_parameter_names(monkeypatch):
|
|
72
|
+
module = importlib.import_module('mcp_openstack_ops.tools.set_project')
|
|
73
|
+
service = Mock(return_value={'success': True})
|
|
74
|
+
monkeypatch.setattr(module, '_set_project', service)
|
|
75
|
+
|
|
76
|
+
await _tool_handler(module, 'set_project')(
|
|
77
|
+
project_name='project', action='set', enable=True, domain='default',
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
assert service.call_args.kwargs['action'] == 'update'
|
|
81
|
+
assert service.call_args.kwargs['enabled'] is True
|
|
82
|
+
assert service.call_args.kwargs['domain_id'] == 'default'
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
@pytest.mark.asyncio
|
|
86
|
+
async def test_keypair_import_alias_calls_create(monkeypatch):
|
|
87
|
+
module = importlib.import_module('mcp_openstack_ops.tools.set_keypair')
|
|
88
|
+
service = Mock(return_value={'success': True})
|
|
89
|
+
monkeypatch.setattr(module, '_set_keypair', service)
|
|
90
|
+
monkeypatch.setattr(module, '_get_resource_status_by_name', Mock(return_value='Unknown'))
|
|
91
|
+
monkeypatch.setattr('time.sleep', lambda _: None)
|
|
92
|
+
|
|
93
|
+
await _tool_handler(module, 'set_keypair')(
|
|
94
|
+
action='import', keypair_names='key', public_key='ssh-ed25519 placeholder',
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
assert service.call_args.args[:2] == ('key', 'create')
|
|
98
|
+
|
|
99
|
+
|
|
13
100
|
@pytest.fixture
|
|
14
101
|
def volume_connection(monkeypatch):
|
|
15
102
|
server = SimpleNamespace(id='server-id', name='vm', project_id='project')
|
|
@@ -22,6 +22,13 @@ from mcp_openstack_ops.mcp_main import mcp
|
|
|
22
22
|
|
|
23
23
|
async def verify():
|
|
24
24
|
tools = {tool.name: tool for tool in await mcp.list_tools()}
|
|
25
|
+
read_tools = [tool for tool in tools.values()
|
|
26
|
+
if tool.name.startswith(('get_', 'search_'))]
|
|
27
|
+
assert len(read_tools) == 50
|
|
28
|
+
for tool in read_tools:
|
|
29
|
+
assert tool.description.strip(), tool.name
|
|
30
|
+
for parameter, schema in tool.parameters.get('properties', {}).items():
|
|
31
|
+
assert schema.get('description', '').strip(), f'{tool.name}.{parameter}'
|
|
25
32
|
reads = {
|
|
26
33
|
'get_volume_transfers', 'get_volume_backups', 'get_volume_groups',
|
|
27
34
|
'get_volume_qos', 'get_domains', 'get_identity_groups',
|
|
@@ -40,6 +47,17 @@ async def verify():
|
|
|
40
47
|
if enabled:
|
|
41
48
|
assert 'metric' in tools['set_alarms'].parameters['properties']
|
|
42
49
|
assert 'volume_types' in tools['set_volume_groups'].parameters['properties']
|
|
50
|
+
expected_actions = {
|
|
51
|
+
'set_instance': {'delete', 'resize', 'snapshot', 'rebuild'},
|
|
52
|
+
'set_flavor': {'set_extra_specs'},
|
|
53
|
+
'set_project': {'update', 'show', 'list'},
|
|
54
|
+
'set_keypair': {'import', 'show'},
|
|
55
|
+
'set_network_ports': {'show'},
|
|
56
|
+
'set_subnets': {'show'},
|
|
57
|
+
}
|
|
58
|
+
for name, actions in expected_actions.items():
|
|
59
|
+
description = tools[name].parameters['properties']['action']['description']
|
|
60
|
+
assert all(action in description for action in actions), name
|
|
43
61
|
os.environ['ALLOW_MODIFY_OPERATIONS'] = 'false'
|
|
44
62
|
cases = [
|
|
45
63
|
('set_alarms', {'action': 'create', 'alarm_name': 'a'}),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|