OP

oras-project/oras-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

6 stars 6 forks 품질 59 트렌드 14Apache-2.0

ORAS MCP Server

개요

Configure the ORAS MCP Server to run inside VS Code agent mode for registry-aware chats. The server is implemented with the oras-go library and does not depend on the oras CLI. It is easier to use docker to run the ORAS MCP Server. Add the following code to .vscode/mcp.json: Linux users can share docker login credentials by mounting the config file: Adjust the path if you keep credentials under ${env:DOCKER_CONFIG}. The container understands only inline auths entries; helper-based configs (credsStore, credHelpers) won't work. On macOS/Windows, install the released binary instead. 1. Visit the GitHub releases page and download the archive that matches your operating system and CPU architecture (oras-mcp_ .tar.gz for Linux or macOS, oras-mcp_ windows .zip for Windows). 2. Extract the archive; the folder contains a single executable named oras-mcp (or oras-mcp.exe on Windows) and a copy of the project license. 3.

README

원문 README의 일부입니다. 원문 보기.

ORAS MCP Server

Usage

Configure the ORAS MCP Server to run inside VS Code agent mode for registry-aware chats.

The server is implemented with the oras-go library and does not depend on the oras CLI.

Setup with Docker

It is easier to use docker to run the ORAS MCP Server.

Setup for VS Code

Add the following code to .vscode/mcp.json:

{
    "servers": {
        "oras-mcp-server": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "--rm",
                "-i",
                "ghcr.io/oras-project/oras-mcp:main",
                "serve"
            ]
        }
    }
}
Mount Docker credentials (Linux only)

Linux users can share docker login credentials by mounting the config file:

{
    "servers": {
        "oras-mcp-server": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "--rm",
                "-i",
                "-v",
                "${env:HOME}/.docker/config.json:/root/.docker/config.json:ro",
                "ghcr.io/oras-project/oras-mcp:main",
                "serve"
            ]
        }
    }
}

Adjust the path if you keep credentials under ${env:DOCKER_CONFIG}. The container understands only inline auths entries; helper-based configs (credsStore, credHelpers) won’t work. On macOS/Windows, install the released binary instead.

Setup from Released Binaries

  1. Visit the GitHub releases page and download the archive that matches your operating system and CPU architecture (oras-mcp___.tar.gz for Linux or macOS, oras-mcp__windows_.zip for Windows).
  2. Extract the archive; the folder contains a single executable named oras-mcp (or oras-mcp.exe on Windows) and a copy of the project license.
  3. Move the binary to a directory on your PATH (for example, /usr/local/bin on Linux/macOS or %LOCALAPPDATA%\Programs\oras-mcp on Windows) or reference it directly from its extracted location.
  4. Run oras-mcp serve --help (or oras-mcp.exe serve --help) to confirm the binary works on your system.
GitHub에서 전체 README 보기

설치

docker run --rm -i ghcr.io/oras-project/oras-mcp:main serve
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →