
gemaraproj/gemara-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
젬라 MCP 계정 관리
개요
Gemara MCP Server - Gemara artifact 관리를위한 모델 Context 프로토콜 서버. MCP 클라이언트와 함께이 서버를 사용하려면 MCP 구성 파일에 추가하십시오. 다음 구성을 추가하십시오 (이진에 경로를 조정하십시오) : 서버는 --mode flag (default: artifact)로 선택된 두 가지 모드 중 하나에서 작동합니다. artifacts는 GitHub Action OIDC를 통해 생성된 SLSA 빌드 검증을 포함합니다. 이진 아카이브는 SPDX SBOMs를 포함, 각각의 자신의 attestation.
개요(AI 번역)
Gemara MCP Server - Gemara artifact 관리를위한 모델 Context 프로토콜 서버.
건물
바이너리를 구축:
설치
MCP 클라이언트 구성
MCP 클라이언트와 함께이 서버를 사용하려면 MCP 구성 파일에 추가하십시오.
다음 구성을 추가하십시오 (이진에 경로를 조정하십시오) :
Docker 사용
Docker에서 실행하는 경우, 사용:
서버 모드
서버는 --mode flag (default: artifact)로 선택된 두 가지 모드 중 하나에서 동작합니다.
| 모드 | 목적 |
|---|---|
advisory |
기존의 해석 및 검증 |
| [T3] | 【T3】 |
사용 가능한 도구, 자원 및 Prompts
도구
| 도구 | 설명 |
|---|---|
validate_gemara_artifact |
Gemara CUE 스키마 정의에 대한 YAML 콘텐츠 검증 |
migrate_gemara_artifact |
CUE 전이를 이용한 V1 스키마에 대한 젬라 아트팩트를 소개합니다 |
자원
| 자원 URI | 묘사 |
|---|---|
gemara://about |
Gemara의 LLM 최적화 개요: 7층 모델, Artifact 유형, 스키마 및 SDK. 웹 사이트에서 임베디드 오프라인으로 삭제 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
gemara-mcp
Gemara MCP Server - A Model Context Protocol server for Gemara artifact management.
Building
Build the binary:
make build
Installation
MCP Client Configuration
To use this server with an MCP client, add it to your MCP configuration file.
Add the following configuration (adjust the path to your binary):
{
"mcpServers": {
"gemara-mcp": {
"command": "/absolute/path/to/gemara-mcp/bin/gemara-mcp",
"args": ["serve"]
}
}
}
Using Docker
If running from Docker, use:
{
"mcpServers": {
"gemara-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"ghcr.io/gemaraproj/gemara-mcp:latest",
"serve"
]
}
}
}
Server Modes
The server operates in one of two modes, selected with the --mode flag (default: artifact).
| Mode | Purpose |
|---|---|
advisory |
Read-only analysis and validation of existing artifacts |
artifact |
All advisory capabilities plus guided artifact creation wizards |
gemara-mcp serve --mode advisory
gemara-mcp serve --mode artifact
Available Tools, Resources, and Prompts
Tools
| Tool | Description |
|---|---|
validate_gemara_artifact |
Validate YAML content against Gemara CUE schema definitions |
migrate_gemara_artifact |
Migrate a Gemara artifact to v1 schema using CUE transformations |
Resources
| Resource URI | Description |
|---|---|
gemara://about |
LLM-optimized overview of Gemara: the seven-layer model, artifact types, schemas, and SDKs. Fetched from the website with an embedded offline fallback |
gemara://lexicon |
Term definitions for the Gemara security model |
gemara://schema/definitions |
CUE schema definitions for all Gemara artifact types (latest version) |
gemara://schema/definitions{?version} |
CUE schema definitions for a specific Gemara module version |
Prompts (artifact mode only)
| Prompt | Description |
|---|---|
threat_assessment |
Interactive wizard for creating a Gemara-compatible Threat Catalog |
control_catalog |
Interactive wizard for creating a Gemara-compatible Control Catalog |
migration |
Interactive wizard that guides you through migrating Gemara artifacts from v0 to v1 schema |
Verifying Artifacts
Released artifacts include SLSA build provenance attestations generated via GitHub Actions OIDC. Binary archives also include SPDX SBOMs, each with its own attestation.
Container images
gh attestation verify oci://ghcr.io/gemaraproj/gemara-mcp: \
--repo gemaraproj/gemara-mcp
Binary archives
gh attestation verify gemara-mcp_Linux_x86_64.tar.gz \
--repo gemaraproj/gemara-mcp
Building Docker Image
docker build --build-arg VERSION=$(git describe --tags --always) --build-arg BUILD=$(git rev-parse --short HEAD) -t gemara-mcp .
설치
docker run --rm -i ghcr.io/gemaraproj/gemara-mcp:latest serve설정
{
"mcpServers": {
"gemara-mcp": {
"command": "/absolute/path/to/gemara-mcp/bin/gemara-mcp",
"args": ["serve"]
}
}
}