Add MCP server publishing workflow #115
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #114
Context
Dev Rel is working on more migration and AI assistant tooling and have some interdependencies with DFC.
The DFC MCP server currently requires users to:
go runor manual compilationThis creates friction for users who want to integrate dfc with AI assistants like Claude Code, Claude Desktop, Cursor, etc.
Proposed Solution
Publish the MCP server as a signed Chainguard container image to GitHub Container Registry (
ghcr.io/chainguard-dev/dfc-mcp:latest).Possible longer term solution: Update the DFC Chainguard container image.
User Benefits
Implementation Details
What's Included
GitHub Actions Workflow (
.github/workflows/publish-mcp-server.yaml)mcp-server/Dockerfileghcr.io/chainguard-dev/dfc-mcpSecurity Features
Documentation
Configuration Examples
Claude Desktop:
{ "mcpServers": { "dfc": { "command": "docker", "args": ["run", "--rm", "-i", "ghcr.io/chainguard-dev/dfc-mcp:latest"] } } }Claude Code Plugin:
{ "mcpServers": { "dfc": { "command": "docker", "args": ["run", "--rm", "-i", "ghcr.io/chainguard-dev/dfc-mcp:latest"] } } }Verification
Users can verify the container's authenticity:
Verify signature
View SBOM
View provenance
Scan for vulnerabilities
Files
.github/workflows/publish-mcp-server.yaml (new)
mcp-server/README.md (updated, container instructions)
Open Questions