Skip to content

Commit e9213bc

Browse files
committed
Add Semgrep MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent 14015a9 commit e9213bc

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

servers/dev.semgrep-mcp-uvx.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "dev.semgrep-mcp-uvx",
4+
"name": "Semgrep (uvx)",
5+
"alias": "semgrep",
6+
"description": "Run Semgrep static analysis through MCP. Scan code for security vulnerabilities with 5,000+ built-in rules, write and run custom rules, inspect ASTs, and fetch findings from the Semgrep AppSec Platform.",
7+
"logo": "https://avatars.githubusercontent.com/u/29760937?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"security",
11+
"developer-tools"
12+
],
13+
"tags": [
14+
"semgrep",
15+
"security",
16+
"static-analysis",
17+
"sast",
18+
"code-scanning",
19+
"vulnerabilities",
20+
"appsec"
21+
],
22+
"transport": {
23+
"type": "stdio",
24+
"command": "uvx",
25+
"args": [
26+
"semgrep-mcp"
27+
],
28+
"env": {
29+
"SEMGREP_APP_TOKEN": "${input:SEMGREP_APP_TOKEN}"
30+
},
31+
"metadata": {
32+
"inputs": [
33+
{
34+
"id": "SEMGREP_APP_TOKEN",
35+
"label": "Semgrep App Token",
36+
"description": "Optional. Connects the server to the Semgrep AppSec Platform to enable cloud features such as fetching findings (semgrep_findings). Leave empty to run local scans only.",
37+
"type": "text",
38+
"required": false,
39+
"secret": true,
40+
"placeholder": "********************************",
41+
"obtain": {
42+
"url": "https://semgrep.dev/orgs/-/settings/tokens",
43+
"instructions": "1. Sign in at https://semgrep.dev\n2. Go to Settings > Tokens\n3. Create a new token (API scope)\n4. Copy it and paste here",
44+
"button_label": "Create Token"
45+
}
46+
}
47+
]
48+
}
49+
},
50+
"auth": {
51+
"type": "optional_api_key",
52+
"instructions": "No token is required for local scanning. Provide an optional SEMGREP_APP_TOKEN to enable Semgrep AppSec Platform features. Create one at https://semgrep.dev/orgs/-/settings/tokens"
53+
},
54+
"contributor": {
55+
"name": "Semgrep",
56+
"github": "semgrep",
57+
"url": "https://semgrep.dev"
58+
},
59+
"links": {
60+
"repository": "https://github.com/semgrep/mcp",
61+
"homepage": "https://semgrep.dev",
62+
"documentation": "https://github.com/semgrep/mcp#readme"
63+
},
64+
"platforms": [
65+
"all"
66+
],
67+
"capabilities": {
68+
"tools": true,
69+
"resources": true,
70+
"prompts": true,
71+
"read_only_mode": false
72+
},
73+
"changelog_url": "https://github.com/semgrep/mcp/blob/main/CHANGELOG.md"
74+
}

0 commit comments

Comments
 (0)