English | Korean
MCP-OpenStack-Ops
MCP OpenStack Operations Server: A comprehensive MCP (Model Context Protocol) server providing OpenStack project management and monitoring capabilities with built-in safety controls and single-project scope.

What is MCP-OpenStack-Ops?
MCP-OpenStack-Ops lets an AI assistant such as Claude or a model in OpenWebUI
inspect and operate an OpenStack project in plain language. It is an
MCP server that turns requests like "which
instances are stopped?" into OpenStack API calls and returns the results.
- Read-only by default: tools that create, change or delete resources are
not even registered unless you enable them.
- One project at a time: each server works inside one OpenStack project and
checks resource ownership.
- Broad coverage: 128 tools (72 read-only, 56 management) for Nova,
Neutron, Cinder, Glance, Keystone, Heat, Octavia, Barbican, and Gnocchi/Aodh
telemetry.
For an AI-generated walkthrough of the code, see
.
What can you do with it?
Showcase: a Heat autoscaling stack created from natural language alone

No Heat template was written by hand: the stack was created from this
two-line natural-language request.
Use the test-rockylinux-9 VM (web server) as the source for a new base image. Create and bring up a Heat stack with a TLS-terminating load balancer and autoscaling web servers.
- Run 2 web servers under normal conditions, with a maximum of 4. Scale out by 1 when average CPU utilization stays above 60% for 5 minutes, and scale in by 1 when it stays below 40% for 5 minutes, down to a minimum of 2. Use a 900-second cooldown and set the stack's timeout_mins to 60.
Using this server's tools, the MCP client snapshotted a web server VM into a
base image, generated a self-signed certificate and stored it in Barbican, and
created a Heat stack with an Octavia load balancer that terminates HTTPS and an
autoscaling group driven by Aodh CPU alarms. Under CPU load the group grew from
two to four web servers and shrank back to two when the load ended. The
request, templates and a walkthrough of the chart are in the
Heat autoscaling tutorial.
Then ask how it is doing, in one line

A one-line request for the members' CPU over the last hour, at 1-minute
intervals, returned per-member data from Gnocchi through this server's tools;
the client drew the chart, summary and CSV. It shows the group mean above 60%
for five minutes and the third member added right after.
Ask questions and give instructions in natural language, for example:
Show me the overall cluster status
Find instances in SHUTOFF state
Show all networks and their subnets
List all volumes and their status
Show the vCPUs and memory allocated to my project and the remaining quota
Show CPU usage of web-01 over the last hour
Stop all instances with name containing 'test'
The last request changes resources, so it works only after you enable
modification tools. Telemetry requests need Ceilometer and Gnocchi in the
cloud.
More requests to try: Example queries by area
lists copy-ready requests, with the tools each one uses, for cluster status,
instances, networks, storage, images, identity, Heat, load balancers, Barbican secrets and TLS listeners, allocation and quotas, Gnocchi telemetry, Aodh alarms,
troubleshooting, security, batch actions, and multi-tool reports.
Example: cluster status in Claude Desktop

The same project in the OpenStack Dashboard (Epoxy 2025.1)

Quick Start
You need an OpenStack account (Keystone host, project, user name, password)
whose APIs are reachable from the computer that runs the server. Pick one of
the two paths below; both start read-only.
Option A: Claude Desktop with the extension bundle (fastest)
- Download
mcp-openstack-ops-<version>.mcpb from the latest
GitHub Release.
- In Claude Desktop, open Settings > Extensions > Advanced settings >
Install Extension… and select the file.
- Fill in the settings form: Keystone host, project, user name and password
are required; ports, domains and region are prefilled. Leave Allow modify
operations off.
- Ask Claude:
List the instances in my OpenStack project.
Other Claude Desktop setups (uvx, a source checkout, the Docker server
through mcp-remote, a remote connector) are in the
Claude Desktop guide.
Option B: OpenWebUI with Docker Compose
Requirements: Git, Docker with the Compose plugin, and a model provider for
OpenWebUI whose model supports tool calling.
1. Configure
git clone https://github.com/call518/MCP-OpenStack-Ops.git
cd MCP-OpenStack-Ops
cp .env.example .env
cp mcp-config.json.http mcp-config.json.http.local
chmod 600 mcp-config.json.http.local
openssl rand -hex 32 # use the output as WEBUI_SECRET_KEY
vi .env # set WEBUI_SECRET_KEY and the OS_* values for your cloud
2. Start
docker compose up -d
docker compose ps # wait until mcp-server is healthy
This starts OpenWebUI (http://localhost:3000), the MCP server
(http://localhost:8000/mcp) and MCPO (http://localhost:8080).
3. Connect a model provider
These steps apply to both the direct MCP connection and MCPO.
Open http://localhost:3000 and create the administrator account.
Under Settings → Admin → Connections, add an OpenAI connection with URL
https://api.openai.com/v1, Auth Bearer with your OpenAI API key, and
API Type set to Chat Completions, then save it. For another provider,
see the OpenWebUI guide.
The Quick Start calls tools through Chat Completions with model reasoning
turned off, using this default already present in .env.example:
DEFAULT_MODEL_PARAMS={"reasoning_effort":"none"}
This value requires API Type: Chat Completions. With Responses,
OpenWebUI 0.13.0 still sends reasoning_effort, and every request fails with
Unsupported parameter: 'reasoning_effort'. If the open-webui-data volume
already exists, set the same value under Settings → Admin → Models → Model
Defaults → Model Parameters because its saved database value takes
precedence. To keep model reasoning through Responses instead, see the
OpenWebUI guide.
4. Connect the MCP server
- Under Settings → Admin → Tools → Integrations → External Tool Servers,
add a connection of type
MCP (Streamable HTTP) with URL
http://mcp-server:8000/mcp and authentication None.
- Under Settings → Admin → System → Interface → Chat, turn on Tool
Search and Defer Built-in Tools, and set Deferral Threshold to
0
so that the full tool list fits the model's limits.
- In a new chat, enable the connection under Integrations → Tools and ask:
Use mcp-openstack-ops to list the instances in my OpenStack project.
MCPO is optional. MCPO is a proxy that exposes the MCP tools as an
OpenAPI (REST) server; OpenWebUI does not need it to use this server. The
Compose file starts it so that you can choose either connection. To run
without it, start only docker compose up -d mcp-server open-webui.
The OpenWebUI guide explains the direct and MCPO
connections, every OpenWebUI setting, OpenAI reasoning models, and
troubleshooting.
Other ways to install
To let the assistant create, change or delete resources, set
ALLOW_MODIFY_OPERATIONS=true (or turn on Allow modify operations in the
Claude Desktop form) and restart the server. OpenStack policy still decides
what the account may do.
Features
- ✅ Project-Scoped Operations: Every tool enforces the configured
OS_PROJECT_NAME, validating resource ownership so actions stay inside a single tenant.
- ✅ Safety-Gated Writes: Modify (
set_*) tooling only registers when ALLOW_MODIFY_OPERATIONS=true, keeping default deployments read-only and auditable. Every read is a get_* or search_* tool, so reads stay available in read-only mode; set_* tools refuse read actions such as list or show and name the get_* tool to use.
- ✅ Broad Tool Coverage: 128 tools across compute, networking, storage, images, identity, Heat, Octavia load balancing, Barbican secrets and telemetry. Project resources are scoped to the active project; cloud-wide administrative APIs remain subject to OpenStack policy.
- ✅ Bulk & Filtered Actions: Instance, volume, network, image, snapshot, and keypair managers accept comma-delimited targets or filter criteria to orchestrate bulk changes intentionally.
- ✅ Post-Action Feedback & Async Guidance: Management tools report per-resource results, the status read back after the action, and timing notes for asynchronous operations.
- ✅ Monitoring & Usage Insights:
get_service_status, get_resource_monitoring, get_usage_statistics, and quota tools report service probes, project allocations, separate quota limits, and API-backed compute allocation-hours. These tools do not collect live utilization or trends; read-only get_gnocchi_* tools return telemetry time series when Ceilometer and Gnocchi are deployed.
- ✅ Unified Instance Queries: The
get_instance tool consolidates name, ID, status, and free-form search paths with pagination plus summary/detailed modes.
- ✅ Server Insight & Audit Trail: Dedicated tools expose server events, hypervisor details, availability zones, quotas, and resource ownership to speed diagnostics.
- ✅ Load Balancer Management: Octavia tools cover listeners, pools, members, health monitors, flavors, quotas, and amphora operations with the same safety gates.
TERMINATED_HTTPS listeners take certificates stored in Barbican, and pools support non-terminated HTTPS (TLS passthrough) and backend re-encryption, including client authentication (mTLS).
- ✅ Barbican Secrets Without Payloads: Barbican tools manage secret metadata, containers, key-generation orders, ACLs and self-signed TLS certificates. Secret payloads are never accepted or returned, so key material cannot reach the LLM; register your own certificates outside MCP (Barbican and TLS guide).