MCP.so
登录

SCANOSS MCP Server

@matiasdaloia

关于 SCANOSS MCP Server

暂无概览

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

matiasdaloia

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "scanoss-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "scanoss_mcp_server.py"
      ]
    }
  }
}

工具

1

`code`: The code snippet to scan (required)

概览

What is SCANOSS MCP Server?

The SCANOSS MCP Server integrates SCANOSS’s open source scanning capabilities with the Model Context Protocol, allowing language models to scan code snippets for undeclared open source content, check license compliance for combinations of open source licenses, and get actionable insights on open source components in code.

How to use SCANOSS MCP Server?

Install via uv locally (uv venv, uv pip install -e .) or use the Docker image (docker pull mcp/scanoss-mcp-server). Configure your MCP client (e.g., Claude Desktop) with the appropriate command and environment variables (SCANOSS_API_KEY, SCANOSS_API_URL). Run the server and invoke tools such as scan_code_snippet.

Key features of SCANOSS MCP Server

  • Detect open source components in code snippets, files, and snippets
  • Analyze license combinations for compatibility and compliance
  • Receive well‑formatted actionable scan insights
  • Works with free (osskb.org) or enterprise SCANOSS instances

Use cases of SCANOSS MCP Server

  • Scan code generated by an AI assistant for undeclared open source content
  • Check license compliance before including third‑party code in a project
  • Get real‑time compliance feedback during code review or development

FAQ from SCANOSS MCP Server

What are the runtime requirements?

Python 3.12+ and the uv package manager are required. Dependencies include the SCANOSS Python SDK and MCP Python SDK.

Is an API key required?

No. If no API key is provided, the server uses the free osskb.org service. An optional key enables enterprise SCANOSS instances.

How can I run the server with Docker?

Pull the image with docker pull mcp/scanoss-mcp-server, then run it with docker run -i --rm -e SCANOSS_API_KEY=your_key -e SCANOSS_API_URL=your_url mcp/scanoss-mcp-server.

What tools does the server expose?

The only tool documented is scan_code_snippet, which scans a code snippet for open source components and requires the parameters code and file_name.

Can I use the server with Claude Desktop?

Yes. Add a configuration entry to claude_desktop_config.json specifying the command (uv or docker) and the required environment variables.

评论

其他 分类下的更多 MCP 服务器