Skip to content

Commit 12f53ed

Browse files
kapravelclaude
andcommitted
docs: update ecosystem support from language-support docs
Add concrete Supported Ecosystems section to README based on https://docs.socket.dev/docs/language-support. Excludes Socket Basics ecosystems (Swift, C/C++, Julia, Dart, Elixir/Erlang). - README: Add ecosystem table with PURL types, package managers, maturity - index.ts: Update depscore ecosystem param description with concrete list - manifest.json: Update tool and long descriptions with supported ecosystems Co-Authored-By: Claude <noreply@anthropic.com> Made-with: Cursor
1 parent 32aae45 commit 12f53ed

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Model Context Protocol (MCP) server for Socket integration, allowing AI assist
88

99
## ✨ Features
1010

11-
- 🔍 **Dependency Security Scanning** - Get comprehensive security scores for npm, PyPI, and other package ecosystems
11+
- 🔍 **Dependency Security Scanning** - Get comprehensive security scores for npm, PyPI, cargo, Maven, NuGet, RubyGems, Go Modules, and more ([supported ecosystems](https://docs.socket.dev/docs/language-support))
1212
- 🌐 **Public Hosted Service** - Use our public server at `https://mcp.socket.dev/` with no setup required
1313
- 🚀 **Multiple Deployment Options** - Run locally via stdio, HTTP, or use our service
1414
- 🤖 **AI Assistant Integration** - Works seamlessly with Claude, VS Code Copilot, Cursor, and other MCP clients
@@ -234,10 +234,28 @@ The `depscore` tool allows AI assistants to query the Socket API for dependency
234234
| Parameter | Type | Required | Default | Description |
235235
|-----------|------|----------|---------|-------------|
236236
| `packages` | Array | ✅ Yes | - | Array of package objects to analyze |
237-
| `packages[].ecosystem` | String | No | `"npm"` | Package ecosystem (`npm`, `pypi`, `cargo`, etc.) |
237+
| `packages[].ecosystem` | String | No | `"npm"` | Package ecosystem. See [Supported Ecosystems](#supported-ecosystems) below. |
238238
| `packages[].depname` | String | ✅ Yes | - | Name of the dependency/package |
239239
| `packages[].version` | String | No | `"unknown"` | Version of the dependency |
240240

241+
**Supported Ecosystems**
242+
243+
Ecosystem support is based on [Socket's language support documentation](https://docs.socket.dev/docs/language-support). The `ecosystem` parameter maps to PURL types as follows:
244+
245+
| Ecosystem | PURL type | Package managers | Maturity |
246+
|-----------|-----------|------------------|----------|
247+
| JavaScript & TypeScript | `npm` | npm, yarn, pnpm, Bun, VLT | GA |
248+
| Python | `pypi` | uv, pip, Poetry, Anaconda | GA |
249+
| Go | `golang` | Go Modules | GA |
250+
| Java | `maven` | Maven, Gradle | GA |
251+
| Ruby | `gem` | Bundler | GA |
252+
| .NET (C#, F#, VB) | `nuget` | NuGet | GA |
253+
| Scala | `maven` | sbt, Maven, Gradle | GA |
254+
| Kotlin | `maven` | Maven, Gradle | GA |
255+
| Rust | `cargo` | cargo | GA |
256+
| PHP | `composer` | Composer | Experimental |
257+
| GitHub Actions | `actions` | GitHub Actions workflows | Experimental (workflow scanning, not package-level) |
258+
241259
**Example Usage:**
242260

243261
```json

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ function createConfiguredServer (): McpServer {
392392
description: "Get the dependency score of packages with the `depscore` tool from Socket. Use 'unknown' for version if not known. Use this tool to scan dependencies for their quality and security on existing code or when code is generated. Stop generating code and ask the user how to proceed when any of the scores are low. When checking dependencies, make sure to also check the imports in the code, not just the manifest files (pyproject.toml, package.json, etc).",
393393
inputSchema: {
394394
packages: z.array(z.object({
395-
ecosystem: z.string().describe('The package ecosystem (e.g., npm, pypi, gem, golang, maven, nuget, cargo)').default('npm'),
395+
ecosystem: z.string().describe('Package ecosystem (PURL type): npm (JS/TS), pypi (Python), golang (Go), maven (Java/Scala/Kotlin), gem (Ruby), nuget (.NET), cargo (Rust), composer (PHP). See https://docs.socket.dev/docs/language-support').default('npm'),
396396
depname: z.string().describe('The name of the dependency'),
397397
version: z.string().describe("The version of the dependency, use 'unknown' if not known").default('unknown'),
398398
})).describe('Array of packages to check'),

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Socket",
44
"version": "0.0.13",
55
"description": "Socket MCP server for scanning dependencies",
6-
"long_description": "__Secure your code by default.__\nThe Socket MCP server brings powerful, real-time dependency scanning directly into Claude. Instantly audit packages from npm, PyPI, Cargo, and more—right inside your chats—with zero setup. Built on the Model Context Protocol (MCP), this extension automatically evaluates packages for:\n - Vulnerabilities and malware\n - Supply chain risks\n - Code quality and maintenance\n - License compliance\n\n With a single command, Claude will return detailed security scores (0–100) across five critical dimensions—helping you make informed decisions and avoid risky dependencies before they hit production.",
6+
"long_description": "__Secure your code by default.__\nThe Socket MCP server brings powerful, real-time dependency scanning directly into Claude. Instantly audit packages from npm, PyPI, Cargo, Maven, NuGet, RubyGems, Go Modules, and more—right inside your chats—with zero setup. Built on the Model Context Protocol (MCP), this extension automatically evaluates packages for:\n - Vulnerabilities and malware\n - Supply chain risks\n - Code quality and maintenance\n - License compliance\n\n With a single command, Claude will return detailed security scores (0–100) across five critical dimensions—helping you make informed decisions and avoid risky dependencies before they hit production.",
77
"author": {
88
"name": "Socket",
99
"email": "eng@socket.dev",
@@ -28,7 +28,7 @@
2828
"tools": [
2929
{
3030
"name": "depscore",
31-
"description": "The depscore tool allows AI assistants to query the Socket API for dependency scoring information. It provides comprehensive security and quality metrics for packages across different ecosystems."
31+
"description": "The depscore tool allows AI assistants to query the Socket API for dependency scoring information. It provides comprehensive security and quality metrics for packages across supported ecosystems: npm (JS/TS), pypi (Python), golang (Go), maven (Java/Scala/Kotlin), gem (Ruby), nuget (.NET), cargo (Rust), composer (PHP). See https://docs.socket.dev/docs/language-support"
3232
}
3333
],
3434
"user_config": {

0 commit comments

Comments
 (0)