Dagger MCP Server
An MCP (Model Context Protocol) server that exposes Dagger CI/CD capabilities as tools for AI assistants.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
An MCP (Model Context Protocol) server that exposes Dagger CI/CD capabilities as tools for AI assistants.
MCP server exposing Dagger CI/CD capabilities as tools for AI assistants
| Tool |
|---|
| Description |
|---|
dagger_version | Get the installed Dagger version |
dagger_call | Run a Dagger function from a module |
dagger_functions | List all functions in a Dagger module |
dagger_build | Build a container image using Dagger |
dagger_query | Execute a Dagger GraphQL query |
dagger_shell | Run dagger shell with a command |
dagger_init | Initialize a new Dagger module |
dagger_go | Run Dagger with a Go module |
git clone https://github.com/user/dagger-mcp-server.git
cd dagger-mcp-server
cargo install --path .
Add to ~/.config/opencode/opencode.json:
{
"mcpServers": {
"dagger": {
"type": "local",
"command": ["dagger-mcp-server"],
"enabled": true
}
}
}
Add to Claude Desktop config:
{
"mcpServers": {
"dagger": {
"command": "dagger-mcp-server"
}
}
}
Add to Cursor MCP settings:
{
"mcpServers": {
"dagger": {
"command": "dagger-mcp-server"
}
}
}
Once configured, your AI assistant can:
# Check Dagger version
"What version of Dagger is installed?"
# List functions in a module
"Show me the available functions in ./my-dagger-module"
# Run a Dagger function
"Run the 'build' function in the ./ci module"
# Build and push an image
"Build using the 'container' function and push to ghcr.io/myorg/myapp:v1"
# Build
cargo build
# Run locally (stdio mode)
cargo run
# Test with Dagger
dagger version
cargo run
MIT
MCP server exposing Dagger CI/CD capabilities as tools for AI assistants
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Dagger 透過 stdio 在本機執行。
上次檢查時間:2026-10-27。 MCP server exposing Dagger CI/CD capabilities as tools for AI assistants