SD

sonatype/dependency-management-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

73 stars 34 forks 质量 64 趋势 14

sonatype/dependency-management-mcp-server 是从 https://github.com/sonatype/dependency-management-mcp-server. 导入的 MCP 服务器候选

概览

sonatype/dependency-management-mcp-server 是从 https://github.com/sonatype/dependency-management-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

一款模型上下文协议(MCP)服务器,将AI助手与Sonatype的依赖管理和安全智能平台连接起来。为您的AI编码助手提供关于开源安全漏洞、许可合规及依赖健康的实时洞察。

概述

Sonatype MCP 服务器使 AI 助手能够直接在您的开发流程中访问 Sonatype 全面的依赖智能。通过与模型上下文协议(Model Context Protocol)集成,您的 AI 助手可以帮助您在不离开 IDE 的情况下,做出明智的依赖决策、识别安全风险并保持合规。

主要特色

  • 组件版本选择 - 首次选择最佳版本,不包含支线任务
  • 安全漏洞扫描 - 识别项目依赖中的已知漏洞
  • 许可证合规检查 - 确保您的依赖关系符合贵组织的许可证政策
  • 依赖健康分析 - 获取依赖质量、维持状态及风险因素的洞察
  • 实时安全警报 - 随时了解影响你依赖关系的最新安全威胁

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Sonatype MCP Server

A Model Context Protocol (MCP) server that connects AI assistants to Sonatype’s dependency management and security intelligence platform. Empower your AI coding assistant with real-time insights into open source security vulnerabilities, license compliance, and dependency health.

Overview

The Sonatype MCP Server enables AI assistants to access Sonatype’s comprehensive dependency intelligence directly within your development workflow. By integrating with the Model Context Protocol, your AI assistant can help you make informed decisions about dependencies, identify security risks, and maintain compliance — all without leaving your IDE.

Key Features

  • Component Version Selection - Select the best version the first time, without the side quest
  • Security Vulnerability Scanning - Identify known vulnerabilities in your project dependencies
  • License Compliance Checking - Ensure your dependencies meet your organization’s license policies
  • Dependency Health Analysis - Get insights into dependency quality, maintenance status, and risk factors
  • Real-time Security Advisories - Stay informed about the latest security threats affecting your dependencies
  • Remediation Guidance - Receive actionable recommendations to fix vulnerabilities and compliance issues

Prerequisites

  • For IDEs or tools that only support stdio MCP servers (like IntelliJ), install mcp-remote:
    npm install -g mcp-remote
    

Setup

The Sonatype MCP Server runs as a remote MCP server. Choose the setup instructions for your IDE or AI assistant:

Gemini Code Assist

Replace `` with your personal API token generated at https://guide.sonatype.com/settings/tokens

{
  "mcpServers": {
    "discoveredServer": {
      "httpUrl": "https://mcp.guide.sonatype.com/mcp",
      "headers": {
        "Authorization": "Bearer "
      }
    }
  }
}

Claude Code

Add the server using the Claude CLI:

Replace `` with your personal API token generated at https://guide.sonatype.com/settings/tokens

claude mcp add --transport http --scope user sonatype-mcp https://mcp.guide.sonatype.com/mcp --header "Authorization: Bearer "

VS Code Copilot

Add the following configuration to your global VS Code mcp.json or create a .vscode/mcp.json file in your workspace:

Replace `` with your personal API token generated at https://guide.sonatype.com/settings/tokens

{
  "servers": {
		"sonatype-mcp": {
			"url": "https://mcp.guide.sonatype.com/mcp",
			"type": "http",
			"headers": {
				"Authorization": "Bearer "
			}
		}
	}
}

Windsurf

Create or edit ~/.codeium/windsurf/mcp_config.json:

Replace `` with your personal API token generated at https://guide.sonatype.com/settings/tokens

{
  "mcpServers": {
    "sonatype-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
在 GitHub 查看完整 README

安装

npx mcp-remote https://mcp.guide.sonatype.com/mcp --header Authorization: Bearer <your-token>
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "discoveredServer": { "httpUrl": "https://mcp.guide.sonatype.com/mcp", "headers": { "Authorization": "Bearer <your-token>" } } } }