Fortify Sca
БесплатноНе проверенEmbeddable MCP server for Fortify SCA dependency policy checks, designed for standalone use and Debricked CLI integration.
Описание
Embeddable MCP server for Fortify SCA dependency policy checks, designed for standalone use and Debricked CLI integration.
README
MCP server for Fortify SCA dependency policy compliance checks.
This project is implemented in Go using the official MCP Go SDK:
github.com/modelcontextprotocol/go-sdk
Transport
This build is stdio only.
MCP_TRANSPORTmust bestdiowhen set.- The server runs over stdin/stdout using MCP newline-delimited JSON messages.
Authentication
FORTIFY_SCA_ACCESS_TOKEN is the long-lived token. The server never sends it to the API endpoint
directly. Instead it posts the token to POST {FORTIFY_SCA_BASE_URL}/api/login_refresh to obtain a
short-lived bearer token, which is cached in memory and sent as Authorization: Bearer <token>.
The cached bearer is refreshed:
- proactively, 60 seconds before the
expclaim in the returned JWT (or after 50 minutes if the token is opaque), and - reactively, once, when the API responds
401.
Configuration
Required:
FORTIFY_SCA_ACCESS_TOKEN
Optional:
FORTIFY_SCA_BASE_URL(default:https://debricked.com)FORTIFY_SCA_API_VERSION(default:1.0)MCP_TRANSPORT(default:stdio)
Build
go build -o fortify-sca-mcp .
Use From Another Go Module
The public integration package is github.com/debricked/fortify-sca-mcp/v26/pkg/server.
Packages under internal/ are implementation details and cannot be imported by a different
module. The pkg directory is a public-package convention; exported identifiers such as
server.Serve are the actual integration API.
For a host application such as the future Debricked CLI, run the MCP server with host-supplied configuration and streams:
import (
"context"
"io"
"github.com/debricked/fortify-sca-mcp/v26/pkg/server"
)
func runFortifySCAMCP(ctx context.Context, accessToken string, input io.Reader, output io.Writer) error {
return server.Serve(ctx, server.Options{
AccessToken: accessToken,
BaseURL: "https://debricked.com",
APIVersion: "1.0",
}, input, output)
}
The host owns authentication, context cancellation, and stream lifecycle. The CLI does not need to import or use the MCP SDK directly. The package does not read the host's environment or process stdio.
The standalone executable loads FORTIFY_SCA_ACCESS_TOKEN, FORTIFY_SCA_BASE_URL, and
FORTIFY_SCA_API_VERSION in main.go, handles process signals there, and calls the same
server.Serve function over stdin/stdout.
Run
./fortify-sca-mcp
Test
go test ./...
Release
Releases are source-only Go module releases. Push a semantic-version tag such as v26.4.0 to
run the release workflow. It runs the test and build checks, then creates a GitHub Release with
automatically generated notes. GitHub provides the tagged source as .tar.gz and .zip archives.
The module path declares major version 26 (.../v26), so tags must be v26.x.y per Go's semantic
import versioning rules.
The module version comes from the Git tag:
go get github.com/debricked/fortify-sca-mcp/[email protected]
This project does not upload binary or checksum assets for the module release. The MCP metadata version and Fortify SCA API version are independent of the Go module tag.
Tool Contract
Tool name:
check_dependency_policy_compliance
Required tool inputs:
purl: package URL including version (for example,pkg:npm/[email protected])repo_url: git remote URL (SSH or HTTPS)repo_name: repository slug with owner/org (for example,my-org/my-repo)
Example payload:
{
"purl": "pkg:npm/[email protected]",
"repo_url": "https://github.com/my-org/my-repo",
"repo_name": "my-org/my-repo"
}
Failure mode:
- returns recommendation
POLICY_CHECK_UNAVAILABLEwith an actionablereasonwhen input validation fails, Fortify SCA API auth/plan checks fail, network timeout occurs, or other API/runtime errors occur.
Установка Fortify Sca
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/debricked/fortify-sca-mcpFAQ
Fortify Sca MCP бесплатный?
Да, Fortify Sca MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Fortify Sca?
Нет, Fortify Sca работает без API-ключей и переменных окружения.
Fortify Sca — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Fortify Sca в Claude Desktop, Claude Code или Cursor?
Открой Fortify Sca на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Fortify Sca with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
