Request OpenStack Cloud Resources via API
OpenStack MCP Server requests compute, storage, networking, and image resources from OpenStack cloud platforms via MCP.
1.0.0Add to Favorites
Why it matters
This asset provides an MCP-compliant API for requesting and managing OpenStack cloud resources, including compute, storage, and networking. It enables seamless integration with LLMs for automated cloud resource provisioning.
Outcomes
What it gets done
Request compute, storage, and networking resources from OpenStack.
Retrieve real-time status of OpenStack cluster resources.
Filter OpenStack resources by various criteria.
Integrate with LLMs for automated cloud management.
Source
Get it from source
Spark does not host a copy of it.
Open sourceReports
Agent outcome reports
No reports yet
Capabilities
Tools your agent gets
Retrieve OpenStack VM instances with filtering and verbosity level control
Overview
OpenStack MCP Server
OpenStack MCP Server exposes an MCP interface for requesting compute, storage, networking, and image resources from an OpenStack cloud, including a get_instances tool for VM queries. Use it when an AI assistant needs to query OpenStack cluster resources in real time, given a running OpenStack environment and admin credentials.
What it does
OpenStack MCP Server is an MCP-based resource request service that provides API interfaces for requesting compute resources, storage, networking, images, and other resources from OpenStack cloud platforms. It runs as a high-performance asynchronous HTTP service built on Starlette and Uvicorn, with SSE streaming output for real-time feedback as requests are processed.
When to use - and when NOT to
Use it when you want an AI assistant to query the current status of resources in an OpenStack cluster in real time, for example checking VM instances with a specific name filter and detailed verbosity, instead of using the OpenStack CLI or dashboard directly. It requires a running OpenStack environment along with admin credentials, an auth URL, username, and password, supplied as command-line parameters when starting the server, so it's a fit for teams already operating OpenStack infrastructure rather than a general cloud-resource browser.
Capabilities
get_instances retrieves OpenStack VM instances, with filtering and a verbosity level control supporting basic, detailed, and comprehensive information display. Beyond instance retrieval, the server is built for multi-dimensional resource requests spanning compute capacity, storage, networking, and images, with flexible filtering by name, ID, and other conditions, over a standard MCP interface for seamless integration with large language models.
How to install
Install via pip:
pip install openstack-mcp-server
Or from source:
git clone https://github.com/wangshqly0407/openstack-mcp-server.git
cd openstack-mcp-server
uv venv
source .venv/bin/activate
uv sync
uv run ./src/mcp_openstack_http/server.py --port 8000 --log-level INFO --auth-url 'http://<OpenStack-API-Endpoint>:5000/v3' --username '<OpenStack-Admin-User>' --password '<OpenStack-Admin-Password>'
Requires Python 3.10+ and an existing OpenStack environment. The service runs on port 8000 by default, with the MCP interface available at http://localhost:8000/openstack, and supports command-line parameters for the port, logging level, auth URL, username, and password.
Who it's for
Teams running OpenStack cloud infrastructure who want an AI assistant to query compute, storage, networking, and image resources directly through a standard MCP interface.
Source README
An MCP-based OpenStack resource request service that provides API interfaces for requesting compute resources, storage, networking, images, and other resources from OpenStack cloud platforms.
Installation
pip
pip install openstack-mcp-server
From Source Code
git clone https://github.com/wangshqly0407/openstack-mcp-server.git
cd openstack-mcp-server
uv venv
source .venv/bin/activate
uv sync
uv run ./src/mcp_openstack_http/server.py --port 8000 --log-level INFO --auth-url 'http://<OpenStack-API-Endpoint>:5000/v3' --username '<OpenStack-Admin-User>' --password '<OpenStack-Admin-Password>'
Available Tools
| Tool | Description |
|---|---|
get_instances |
Retrieve OpenStack VM instances with filtering and verbosity level control |
Features
- Real-time resource requests: obtain current status of OpenStack cluster resources via API
- Multi-dimensional information: support for requesting various resources, including compute capacity, storage, networking, and images
- Flexible filtering: filter resources by name, ID, and other conditions
- Verbosity level control: support for basic, detailed, and comprehensive information display levels
- Standard MCP interface: full compatibility with MCP protocol, seamless integration with large language models
- High-performance asynchronous HTTP service based on Starlette and Uvicorn
- SSE streaming output for real-time feedback
Usage Examples
Get OpenStack VM instances with filter 'web-server' and detailed information
Notes
Requires Python 3.10+ and an OpenStack environment. The service runs on port 8000 by default with the MCP interface available at http://localhost:8000/openstack. Supports command-line parameters for configuring the port, logging level, auth URL, username, and password.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.