About MCP
MCP is an MCP server published by semgrep in the Security category: a MCP server for using Semgrep to scan code for security vulnerabilities. Conduid read 8 tools from its source: deprecation_notice, get_abstract_syntax_tree, security_check, semgrep_findings, semgrep_rule_schema, semgrep_scan and 2 more. It is published to PyPI as semgrep-mcp and runs with uvx.
The repository has 688 stars and 57 forks, is licensed MIT, and its last commit was on 28 Oct 2025. The latest release is v0.4.0 (24 Jun 2025). It is the only release Conduid has on record for this repository. It passes all 5 static checks Conduid ran on the repository. Its topics include semgrep.
Install
uvx semgrep-mcppip install semgrep-mcpgit clone https://github.com/semgrep/mcpTools (8)
deprecation_noticeDeprecation notice for the `mcp.semgrep.ai` and `uvx semgrep-mcp` MCP servers.get_abstract_syntax_treeOutput the Abstract Syntax Tree (AST) of codesecurity_checkScan code for security vulnerabilitiessemgrep_findingsFetch Semgrep findings from the Semgrep AppSec Platform APIsemgrep_rule_schemaFetches the latest semgrep rule JSON Schemasemgrep_scanScan code files for security vulnerabilities with a given config stringsemgrep_scan_with_custom_ruleScan code files using a custom Semgrep rulesupported_languagesReturn the list of languages Semgrep supportsSecurity checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 8 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/semgrep_mcp/server.py:484, src/semgrep_mcp/server.py:486, src/semgrep_mcp/server.py:488
- Starts other programs
- 4 callssrc/semgrep_mcp/semgrep.py:184, src/semgrep_mcp/semgrep.py:165, src/semgrep_mcp/utilities/utils.py:99
- Outbound network calls
- 2 callssrc/semgrep_mcp/server.py:349, src/semgrep_mcp/utilities/tracing.py:49
- Writes or deletes files
- 3 callssrc/semgrep_mcp/server.py:173, src/semgrep_mcp/server.py:176, src/semgrep_mcp/server.py:190
- Lockfile
- uv.lock
Pattern matches on the source text of 8 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.7K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README