python-openstackmcp-server

openstack-kr/python-openstackmcp-server

3.4

If you are the rightful owner of python-openstackmcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The OpenStack MCP (Model Context Protocol) server is a component designed to facilitate the deployment and management of OpenStack environments using model-driven architecture.

python-openstackmcp-server

Openstack mcp server is a Model Context Protocol (MCP) server that provides an interface for AI assistants to interact with OpenStack services.

flowchart LR
    AI[AI Assistant] <-->|MCP Protocol| Server[OpenStack MCP Server]
    Server <-->|OpenStack SDK| SDK[OpenStack SDK]
    SDK <-->|REST API| Cloud[OpenStack Cloud]

Table of Contents

Features

  • MCP Protocol Support: Implements the Model Context Protocol for AI assistants.
  • Compute Tools: Manage OpenStack compute resources (servers, flavors).
  • Image Tools: Manage OpenStack images.
  • Identity Tools: Handle OpenStack identity and authentication.
  • Network Tools: Manage OpenStack networking resources.
  • Block Storage Tools: Manage OpenStack block storage resources.

Quick Start with Claude Desktop

Get started quickly with the OpenStack MCP server using Claude Desktop

Requirements

  • Python 3.10 or higher
  • OpenStack credentials configured in clouds.yaml file
  • Claude Desktop installed
  1. Create or update your clouds.yaml file with your OpenStack credentials.

    Example clouds.yaml:

    clouds:
      openstack:
        auth:
          auth_url: https://your-openstack-auth-url.com
          username: your-username
          password: your-password
          project_name: your-project-name
          user_domain_name: Default
          project_domain_name: Default
        region_name: your-region
        interface: public
        identity_api_version: 3
    
  2. Create or update your Claude Desktop configuration file:

    • macOS: Edit $HOME/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: Edit %APPDATA%\Claude\claude_desktop_config.json
    • Linux: Edit $HOME/.config/Claude/claude_desktop_config.json

Using python

{
  "mcpServers": {
    "openstack-mcp-server": {
      "command": "/path/to/your/python",
      "args": [
        "python-openstackmcp-server"
      ],
      "env" : {
        "OS_CLIENT_CONFIG_FILE": "/path/to/your/clouds.yaml"
      }
    }
  }
}

Using uvx

{
  "mcpServers": {
    "openstack-mcp-server": {
      "command": "uvx",
      "args": [
        "python-openstackmcp-server"
      ],
      "env" : {
        "OS_CLIENT_CONFIG_FILE": "/path/to/your/clouds.yaml"
      }
    }
  }
}

Contributing

Contributions are welcome! Please see the file for details on how to contribute to this project.

License

This project is licensed under the Apache License 2.0. See the file for details.