
打开tack mcp 服务器
概览
Openstack mcp服务器是一款模式上下文协议(MCP)服务器,为AI助手提供与OpenStack服务互动的接口. - 为AI助手执行示范背景协议。 - 管理 OpenStack 计算资源(服务器、口味)。 - 管理 OpenStack 图像。 - 处理 OpenStack 身份和认证。 - 管理 OpenStack 网络资源。 - 管理 OpenStack 块存储资源 。 使用 Claude 桌面快速启动 OpenStack MCP 服务器 Python 3.10 以上 - OpenStack 证书配置为云. Yaml 文件 - Claude 桌面已安装 2. : - 编辑 $HOME/Library/应用程序支持/Claude/desktop config.json - 编辑%APDATA\\Claude desktop config.json - 编辑 $HOME/.config/Claude desktop config.json 这个项目为开发和测试提供u和tox两种支持。 该项目包括全面测试覆盖面(85%+)。 测试位于测试/目录.
概述(AI 翻译)
Openstack mcp服务器是一款模式上下文协议(MCP)服务器,为AI助手提供与OpenStack服务互动的接口.
目录
- 目录
- 特征
- 用克洛德桌面快速启动
- 所需经费
- 使用蟒蛇
- 使用uvx(英语:
- 贡献
- 执照
特质
- ** MCP协议支助**:为AI助手执行示范背景协议。
- 计算工具:管理OpenStack计算资源(服务器、口味)。
- 图像工具:管理OpenStack图像。
- 身份工具:处理OpenStack身份和认证。
- 网络工具:管理OpenStack网络资源。
- ** Block 存储工具**:管理 OpenStack 块存储资源.
快速启动 Claude 桌面
使用 Claude 桌面快速启动 OpenStack MCP 服务器
□ 要求
- Python 3.10 或 更高级
- 在 [[T0] 文件内配置的 OpenStack 证书
- 安装了克洛德桌面
- ** 以您的 OpenStack 证书创建或更新您的 [[T1] 文件。 **
示例 [[T2]:
- 创建或更新您的 Claude 桌面配置文件:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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.yamlfile - Claude Desktop installed
-
Create or update your
clouds.yamlfile 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 -
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
- macOS: Edit
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"
}
}
}
}
Development
Setup
This project supports both uv and tox for development and testing.
Using uv (Fast Local Development)
安装
uvx python-openstackmcp-server配置
{
"mcpServers": {
"openstack-mcp-server": {
"command": "/path/to/your/python",
"args": [
"python-openstackmcp-server"
],
"env" : {
"OS_CLIENT_CONFIG_FILE": "/path/to/your/clouds.yaml"
}
}
}
}