OpenStack

io.github.oomchiller由 GitHub 帳號 oomchiller 發布v0.1.2更新於 Nov 4, 2026

以唯讀優先方式檢查 OpenStack:伺服器、鏡像、卷、網路、Keystone 目錄。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Read-only-first OpenStack inspection: servers, images, volumes, networks, Keystone catalog.

已驗證STDIO僅桌面雲端與基礎設施

概覽

OpenStack 的本機 MCP 服務;無需登入;STDIO。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OpenStack,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

openstack-mcp-server

[CI] [Release] [License]

Community project, not affiliated with OpenStack/OpenInfra Foundation.

A Model Context Protocol server that lets AI assistants inspect OpenStack clouds. It is read-only by default, bounded in what it returns, and configured entirely through OpenStack's own settings and environment variables, so it runs unchanged as a local process or a container.

mermaid
flowchart LR    AI[MCP client] <-->|stdio / Streamable HTTP| Server[openstack-mcp-server]    Server <-->|openstacksdk| Cloud[OpenStack APIs]

Features

  • 32 read tools for compute, images, block storage, networking, the Keystone catalog and service inventory, plus get_scope.
  • Write tools are not registered unless explicitly enabled by two settings.
  • Project allowlist: each allowed project gets its own project-scoped session.
  • Every list has limit, complete and next_marker; results are typed (outputSchema, structuredContent) and capped in size.
  • Errors are isError results with a category and an action, without SDK messages, URLs or tokens.
  • stdio by default; Streamable HTTP on loopback as an option.
  • Container image without credentials, running as an unprivileged user.

The read-only mode is a convenience. The security boundary is the Keystone role of the identity you configure; see SECURITY.md.

Quick start

The server is listed in the MCP Registry as io.github.oomchiller/openstack-mcp-server; registry-aware clients can install it from there. Manual setup:

Container (Docker MCP Toolkit or any MCP client)

bash
docker run --rm -i \  -e OS_AUTH_URL=https://keystone.example.com:5000/v3 \  -e OS_USERNAME=mcp-reader -e OS_PASSWORD \  -e OS_USER_DOMAIN_NAME=Default -e OS_PROJECT_ID=0123456789abcdef0123456789abcdef \  -e OS_REGION_NAME=RegionOne \  ghcr.io/oomchiller/openstack-mcp-server@sha256:<digest>

Pin the image by digest; release digests are listed on the releases page. For a private CA, pass the certificate text in OPENSTACK_MCP_CACERT_PEM.

Local process with clouds.yaml

json
{  "mcpServers": {    "openstack": {      "command": "uvx",      "args": ["--from", "git+https://github.com/oomchiller/[email protected]", "openstack-mcp-server"],      "env": { "OS_CLOUD": "mycloud" }    }  }}

clouds.yaml is found the usual way (OS_CLIENT_CONFIG_FILE, ./clouds.yaml, ~/.config/openstack/clouds.yaml, /etc/openstack/).

Configuration

Credentials come from openstacksdk: OS_CLOUD with clouds.yaml, or OS_* variables (password or application credentials). Server behaviour:

VariableDefaultMeaning
OPENSTACK_MCP_MODEreadonlyreadonly or admin.
OPENSTACK_MCP_ENABLE_WRITE_TOOLSfalseWith admin, registers write tools.
OPENSTACK_MCP_PROJECT_IDSemptyComma-separated project IDs the server may use; the first is the default.
OPENSTACK_MCP_DEFAULT_LIMIT50Items per list call when limit is omitted.
OPENSTACK_MCP_MAX_LIMIT100Largest accepted limit (up to 1000).
OPENSTACK_MCP_MAX_RESPONSE_BYTES524288Largest result; larger ones fail with response_too_large.
OPENSTACK_MCP_API_TIMEOUT10Seconds per OpenStack request; no retries.
OPENSTACK_MCP_CACERT_PEMunsetCA bundle as PEM text; takes precedence over OS_CACERT.
OPENSTACK_MCP_ALLOW_INSECUREfalseAllow verify: false or an http:// auth URL.
OPENSTACK_MCP_ENABLE_PROMPTStrueRegister the prompt.
OPENSTACK_MCP_ENABLE_RESOURCEStrueRegister openstack://scope.
OPENSTACK_MCP_TRANSPORTstdiostdio or streamable-http.
OPENSTACK_MCP_HTTP_HOST / _PORT127.0.0.1 / 8000HTTP bind; path /mcp.
OPENSTACK_MCP_HTTP_ALLOW_REMOTEfalseAllow a non-loopback HTTP bind. The HTTP transport has no authentication.
OPENSTACK_MCP_LOG_LEVELWARNINGstderr log level. SDK loggers stay at CRITICAL.

An invalid OPENSTACK_MCP_* value stops the server with exit code 2 and names the variable. Missing credentials do not: the server starts, and cloud tools return [not_configured].

Gateways that run several instances of this server and do not prefix prompt names or resource URIs (Docker MCP Gateway) should set OPENSTACK_MCP_ENABLE_PROMPTS=false and OPENSTACK_MCP_ENABLE_RESOURCES=false.

Tools

GroupTools
Scopeget_scope
Computelist_servers, get_server, list_flavors
Imagelist_images, get_image
Block storagelist_volumes, get_volume, list_volume_attachments, get_volume_attachment
Networklist_networks, get_network, list_subnets, get_subnet, list_ports, get_port, list_floating_ips, list_routers, get_router, list_router_interfaces, list_security_groups, get_security_group
Identitylist_regions, list_domains, list_projects, list_services, list_endpoints
Service inventorylist_hypervisors, list_compute_services, list_aggregates, list_network_agents, list_volume_services

Identity and service inventory usually need more than a project reader role; such calls fail with [forbidden] rather than returning empty lists.

With OPENSTACK_MCP_MODE=admin and OPENSTACK_MCP_ENABLE_WRITE_TOOLS=true, 31 experimental write tools are added (servers, volumes, images, networks, subnets, ports, floating IPs, routers, security groups). See docs/SPEC.md for the full behaviour.

Development

bash
uv sync --lockeduv run pytest --covuv run ruff check . && uv run ruff format --check .uv run mypy src tests

See CONTRIBUTING.md, ARCHITECTURE.md and DECISIONS.md.

License

Apache License 2.0; see LICENSE. Parts of the code started in openstack-kr/python-openstackmcp-server; see NOTICE.

來源:README.md,提交 160a6fc

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

2
  1. v0.1.2最新Nov 4, 2026
  2. v0.1.1Nov 3, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分