Massdriver

cloud.massdriver由 massdriver.cloud 發布v0.2.0更新於 Oct 24, 2026

Manage the Massdriver infrastructure platform: projects, environments, deployments, and more.

概覽

AI 產生的概覽

Massdriver MCP 伺服器讓 AI 助理管理 Massdriver 基礎設施平台:專案、環境、部署、元件、政策與組織設定

可以做什麼
列出、建立、複製、更新和刪除專案與環境,包括分支、比較、部署和下線環境,以及管理環境連結和相依性。檢視和修改執行個體、元件與資源,包括密鑰、遠端參照、連結、授權和告警。建立、規劃、提議、核准、拒絕、中止、回復和比較部署,並讀取部署日誌。管理組織設定、自訂屬性、成員、群組、服務帳號、OCI 儲存庫和政策,包括評估和解釋政策。讀取稽核日誌、Bundle、資源類型、目前檢視者與伺服器資訊。
適用情境
適合希望透過對話檢視或操作 Massdriver 基礎設施平台的情境:查看部署與日誌、比較環境、檢查政策或稽核事件,或在不切換到 Massdriver 介面的情況下修改專案、環境和資源。
執行需求
以本機程序透過 stdio 執行,可透過發行版二進位檔、Go 安裝、Docker 映像或原始碼建置安裝。需要 Massdriver API 金鑰(MASSDRIVER_API_KEY)和組織 ID(MASSDRIVER_ORGANIZATION_ID),以環境變數或 Massdriver 設定檔中的設定檔提供。MASSDRIVER_URL 僅自架執行個體需要。需要連線至 Massdriver API 的網路存取。
安裝前請注意
伺服器持有 Massdriver API 金鑰,並可執行會變更基礎設施的操作:建立、更新和刪除專案、環境、資源、群組、政策和 OCI 儲存庫,設定和移除執行個體密鑰,以及部署、核准、中止或回復部署。選用的 HTTP 傳輸未經驗證且會暴露這些變更類工具,應僅綁定到本機或置於具驗證的代理之後。服務帳號建立刻意不開放。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Massdriver MCP Server

A Model Context Protocol (MCP) server for Massdriver, providing AI assistants with tools to manage your infrastructure platform — projects, environments, deployments, policies, and more.

Installation

This server is published to the official MCP Registry as cloud.massdriver/mcp-server — MCP clients with registry support can discover and install it by that name.

To install manually, pick whichever suits your setup:

Download a release binary — grab the archive for your platform (Linux, macOS, or Windows; amd64 and arm64) from GitHub Releases and put mcp-server on your PATH.

Go install (requires Go 1.25+):

bash
go install github.com/massdriver-cloud/mcp-server@latest

Docker:

bash
docker pull massdrivercloud/mcp-server

Build from source:

bash
git clone https://github.com/massdriver-cloud/mcp-server.gitcd mcp-servermake build   # outputs ./bin/mcp-server

Configuration

You'll need a Massdriver API key and your organization ID — see the Massdriver docs for creating API credentials.

The server reads configuration from environment variables, or from a profile in ~/.config/massdriver/config.yaml:

bash
export MASSDRIVER_API_KEY="your-api-key"export MASSDRIVER_ORGANIZATION_ID="your-org-id"# Optional:export MASSDRIVER_URL="https://api.massdriver.cloud"  # set this if you run a self-hosted Massdriver instanceexport MASSDRIVER_PROFILE="default"                   # named profile in ~/.config/massdriver/config.yaml

Transports

By default the server speaks MCP over stdio (for local tool integrations like Claude Desktop). To serve the Streamable HTTP transport instead, pass -http (or set MASSDRIVER_MCP_HTTP_ADDR):

bash
./bin/mcp-server -http 127.0.0.1:8080

The HTTP endpoint is stateless and returns application/json, so a single tool call is a plain POST (no session handshake required):

bash
curl -s 127.0.0.1:8080 \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_viewer","arguments":{}}}'

The HTTP endpoint is unauthenticated and exposes infrastructure-mutating tools. Bind it to localhost or place it behind an authenticating proxy.

Docker

The stdio transport needs an interactive stdin, so pass -i:

bash
docker run --rm -i \  -e MASSDRIVER_API_KEY \  -e MASSDRIVER_ORGANIZATION_ID \  massdrivercloud/mcp-server

On a self-hosted Massdriver instance, also pass -e MASSDRIVER_URL.

Using a profile? MASSDRIVER_PROFILE reads credentials from ~/.config/massdriver/config.yaml, which doesn't exist inside the container. Either pass the credentials as environment variables as shown above, or mount your config directory and point XDG_CONFIG_HOME at it:

bash
docker run --rm -i \  -e MASSDRIVER_PROFILE \  -e XDG_CONFIG_HOME=/config \  -v ~/.config/massdriver:/config/massdriver:ro \  massdrivercloud/mcp-server

MCP Client Configuration

Claude Code

bash
claude mcp add massdriver \  --env MASSDRIVER_API_KEY=your-api-key \  --env MASSDRIVER_ORGANIZATION_ID=your-org-id \  -- /path/to/mcp-server

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "massdriver": {      "command": "/path/to/mcp-server",      "env": {        "MASSDRIVER_API_KEY": "your-api-key",        "MASSDRIVER_ORGANIZATION_ID": "your-org-id"      }    }  }}

Other Clients

The server uses stdio transport, compatible with any MCP client.

Available Tools (111)

See MCP_README.md for the full tool reference, including per-tool descriptions, input conventions, pagination, and behavioral annotations.

Projects (6)

list_projects get_project create_project clone_project update_project delete_project

Environments (13)

list_environments get_environment create_environment update_environment delete_environment set_environment_default remove_environment_default compare_environments fork_environment deploy_environment decommission_environment list_environment_links list_environment_unfulfilled_dependencies

Instances (10)

list_instances get_instance update_instance set_instance_secret remove_instance_secret set_remote_reference remove_remote_reference copy_instance orphan_instance list_alarms

Deployments (11)

list_deployments get_deployment get_deployment_logs create_deployment propose_deployment approve_deployment reject_deployment abort_deployment plan_deployment rollback_deployment compare_deployments

Components (8)

list_components get_component add_component update_component set_component_position remove_component link_components unlink_components

Bundles (1)

get_bundle

Resources (9)

list_resources get_resource create_resource update_resource delete_resource export_resource create_resource_grant delete_resource_grant list_resource_grants

Resource Types (2)

get_resource_type list_resource_type_dependents

Organization (8)

get_organization create_custom_attribute update_custom_attribute delete_custom_attribute list_organization_members list_custom_attributes get_organization_settings update_organization_settings

Viewer (1)

get_viewer

Audit Logs (3)

get_audit_log list_audit_logs list_audit_log_event_types

Groups (14)

list_groups get_group create_group update_group delete_group add_group_user remove_group_user revoke_group_invitation add_group_service_account remove_group_service_account list_group_members list_group_service_accounts list_group_invitations list_group_policies

Service Accounts (4)

list_service_accounts get_service_account update_service_account delete_service_account

Service account creation is deliberately not exposed — the MCP server can never mint new credentials.

OCI Repos (8)

list_oci_repos get_oci_repo create_oci_repo update_oci_repo delete_oci_repo create_oci_repo_grant delete_oci_repo_grant list_oci_repo_grants

Policies (11)

get_policy create_policy update_policy delete_policy list_policy_actions list_policy_entities evaluate_policy evaluate_policies_batch explain_policy get_policy_attribute_schema list_policy_attribute_values

Server (1)

get_server

URLs (1)

get_url

Contributing

Development, architecture, and release documentation lives in CONTRIBUTING.md.

License

MIT

來源:README.md,提交 973d9be

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.2.0最新Sep 23, 2026
  2. v0.1.7Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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