Openstack mcp server is a Model Context Protocol (MCP) server that provides an interface for AI assistants to interact with OpenStack services. - Table of Contents - Quick Start with Claude Desktop - Requirements - Using python - Using uvx - Contributing - MCP Protocol Support: Implements the Model Context Protocol for AI assistants. - Compute Tools: Manage OpenStack compute resources (servers, fl
Add this skill
npx mdskills install openstack-kr/python-openstackmcp-serverComprehensive OpenStack MCP server with clear setup docs and broad service coverage.
1# python-openstackmcp-server23Openstack mcp server is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro) server that provides an interface for AI assistants to interact with OpenStack services.45```mermaid6flowchart LR7 AI[AI Assistant] <-->|MCP Protocol| Server[OpenStack MCP Server]8 Server <-->|OpenStack SDK| SDK[OpenStack SDK]9 SDK <-->|REST API| Cloud[OpenStack Cloud]10```1112# Table of Contents13- [Table of Contents](#table-of-contents)14- [Features](#features)15- [Quick Start with Claude Desktop](#quick-start-with-claude-desktop)16 - [Requirements](#requirements)17 - [Using python](#using-python)18 - [Using uvx](#using-uvx)19 - [Contributing](#contributing)20 - [License](#license)2122# Features23- **MCP Protocol Support**: Implements the Model Context Protocol for AI assistants.24- **Compute Tools**: Manage OpenStack compute resources (servers, flavors).25- **Image Tools**: Manage OpenStack images.26- **Identity Tools**: Handle OpenStack identity and authentication.27- **Network Tools**: Manage OpenStack networking resources.28- **Block Storage Tools**: Manage OpenStack block storage resources.2930# Quick Start with Claude Desktop3132Get started quickly with the OpenStack MCP server using Claude Desktop3334## Requirements35- Python 3.10 or higher36- OpenStack credentials configured in `clouds.yaml` file37- Claude Desktop installed38391. **Create or update your `clouds.yaml` file with your OpenStack credentials.**4041 Example `clouds.yaml`:42 ```yaml43 clouds:44 openstack:45 auth:46 auth_url: https://your-openstack-auth-url.com47 username: your-username48 password: your-password49 project_name: your-project-name50 user_domain_name: Default51 project_domain_name: Default52 region_name: your-region53 interface: public54 identity_api_version: 355 ```56572. **Create or update your Claude Desktop configuration file**:58 - **macOS**: Edit `$HOME/Library/Application Support/Claude/claude_desktop_config.json`59 - **Windows**: Edit `%APPDATA%\Claude\claude_desktop_config.json`60 - **Linux**: Edit `$HOME/.config/Claude/claude_desktop_config.json`6162### Using python6364 ```json65 {66 "mcpServers": {67 "openstack-mcp-server": {68 "command": "/path/to/your/python",69 "args": [70 "python-openstackmcp-server"71 ],72 "env" : {73 "OS_CLIENT_CONFIG_FILE": "/path/to/your/clouds.yaml"74 }75 }76 }77 }78 ```7980### Using uvx8182 ```json83 {84 "mcpServers": {85 "openstack-mcp-server": {86 "command": "uvx",87 "args": [88 "python-openstackmcp-server"89 ],90 "env" : {91 "OS_CLIENT_CONFIG_FILE": "/path/to/your/clouds.yaml"92 }93 }94 }95 }96 ```9798# Development99100## Setup101102This project supports both `uv` and `tox` for development and testing.103104### Using uv (Fast Local Development)105106```bash107# Install dependencies (including dev and test groups)108uv sync109110# Run tests111uv run --group test pytest112113# Run linting114uv run ruff check src tests115116# Format code117uv run ruff format src tests118```119120### Using tox (OpenStack Standard)121122```bash123# Install tox124pip install tox125# or126uv tool install tox127128# Run tests129tox -e py3130131# Run linting132tox -e pep8133134# Auto-format code135tox -e format136137# Generate coverage report138tox -e cover139140# Run arbitrary commands in virtualenv141tox -e venv -- <command>142143# Test on specific Python version144tox -e py310 # or py311, py312, py313145146# List all available environments147tox list148```149150## Testing151152The project includes comprehensive test coverage (85%+). Tests are located in the `tests/` directory.153154```bash155# Run all tests156tox -e py3157158# Run with coverage159tox -e cover160161# Run with debugger162tox -e debug163164# Run specific test file165tox -e py3 -- tests/tools/test_compute_tools.py166```167168# Contributing169Contributions are welcome! Please see the [CONTRIBUTING](CONTRIBUTING.rst) file for details on how to contribute to this project.170171# License172This project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.
Full transparency — inspect the skill content before installing.