Pinner MCP

Pinner MCP

Pins 3rd party dependencies to immutable digests, including Docker base images and GitHub Actions.

12
Stars
4
Forks
0
Releases

Overview

Pinner MCP is an MCP server designed to pin 3rd party dependencies to immutable digests to prevent supply chain attacks. It supports Docker base images and GitHub Actions. The server runs in a container and exposes stdio transport, enabling integration with development tools via standard input/output. In VS Code, configure the pinner-mcp stdio server in .vscode/mcp.json and interact with prompts such as "Pin GitHub Actions to their commit hash" or "Pin container base images to digests", with an option to "Update pinned versions" to refresh pins. Cursor users can similarly configure .cursor/mcp.json and enable the MCP server in settings, using prompts to pin specific commits or update versions. Tool updates are published to the latest tag on the GitHub Container Registry, and users must manually pull the latest image to refresh locally. For development, you can build a local image with "docker build -t pinner-mcp:local ." and run it in the same workflow as described in the usage section. The project emphasizes using prompts to manage pins and updates for Docker bases and GitHub Actions across environments.

Details

Owner
safedep
Language
Go
License
Apache License 2.0
Updated
2025-12-07

Features

Pin dependencies to immutable digests

Pins 3rd party dependencies to immutable digests to prevent tampering and ensure reproducible builds.

Supports Docker base images

Pins Docker base images to their immutable digests as a security measure.

Supports GitHub Actions

Pins GitHub Actions to their commit hashes/digests for reproducible CI workflows.

Containerized MCP server with stdio transport

Runs as a container MCP server accessible via stdio transport for integration with tooling.

VS Code integration

Configurable via .vscode/mcp.json to work with GitHub Copilot prompts.

Cursor integration

Configurable via .cursor/mcp.json and can be enabled in settings for Cursor workflows.

Prompts for pinning and updating

Prompts like "Pin GitHub Actions to their commit hash" and "Update pinned versions" facilitate interaction.

GHCR latest updates with manual refresh

Updates are published to the latest tag on GHCR; users must manually pull the latest image to refresh locally.

Audience

DevelopersPin GitHub Actions and Docker base images to immutable digests using Copilot prompts in VS Code.
DevOpsEnsure CI/CD pipelines pin dependencies to digests to prevent supply-chain attacks.
Security engineersEnforce and audit immutability of dependencies in containerized environments across projects.

Tags

MCPpinningimmutable digestsDocker base imagesGitHub Actionssupply-chain-securityVS CodeCursorGitHub Copilot