Skip to main content

A MCP server providing OpenStack services for MCP clients

Project description

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 CONTRIBUTING file for details on how to contribute to this project.

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_openstackmcp_server-1.0.0.tar.gz (121.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_openstackmcp_server-1.0.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file python_openstackmcp_server-1.0.0.tar.gz.

File metadata

File hashes

Hashes for python_openstackmcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9691d582810f7ac34f9774dc5c816dbea29f2247fa2b0b1d007f61c0056c7fbf
MD5 5eb989e8e68bcae345f2c8f61546349e
BLAKE2b-256 5fa6789f53566aae3ee6d7accfc4b74b2474ebc887832dcd305c836aa2ea3102

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_openstackmcp_server-1.0.0.tar.gz:

Publisher: release.yml on openstack-kr/python-openstackmcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_openstackmcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_openstackmcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4dbe8dfa822778934c0f9cd6cab6de1d7b2889b0b3b9231e7a76bcc857cddcf
MD5 7ac335ea7ba89e4a0ece87da9b187bc5
BLAKE2b-256 69c87d3aa8cff5d4f88fde9da07010e38a9d5c4f19e0f1df52bafb93155eefa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_openstackmcp_server-1.0.0-py3-none-any.whl:

Publisher: release.yml on openstack-kr/python-openstackmcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page