Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"slither-mcp": {
"args": [
"is"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that provides static analysis capabilities for Solidity smart contracts using Slither.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'is' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked is against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security / developer-tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP server for accessing Figma plugin console logs and screenshots via Cloudflare Workers or local mode
MCP Security Weekly
Get CVE alerts and security updates for Slither Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that provides static analysis capabilities for Solidity smart contracts using Slither.
This MCP server wraps Slither static analysis functionality, making it accessible through the Model Context Protocol. It can analyze Solidity projects (Foundry, Hardhat, etc.) and generate comprehensive metadata about contracts, functions, inheritance hierarchies, and more.
You can also use Slither MCP as an easy-to-use Slither API for other use cases.
{$PROJECT_PATH}/artifacts/project_facts.json for faster subsequent loadsWhile this is a v1.0 release, we anticipate API changes as we receive more feedback.
This project uses UV for package management:
# Install dependencies
uv sync
# Or install in development mode
uv pip install -e .
Start the Slither MCP server:
uv run slither-mcp
All tools accept a path parameter that specifies which Solidity project to analyze. Projects are automatically cached in <path>/artifacts/project_facts.json for faster subsequent queries.
claude mcp add --transport stdio --scope user slither -- uvx --from git+https://github.com/trailofbits/slither-mcp slither-mcp
Make sure uvx is on your Cursor path using sudo ln -s ~/.local/bin/uvx /usr/local/bin/uvx
In your ~/.cursor/mcp.json:
{
"mcpServers": {
"slither-mcp": {
"command": "uvx --from git+https://github.com/trailofbits/slither-mcp slither-mcp",
}
}
}
Slither MCP includes opt-out metrics to help improve reliability by letting us know how often LLMs use each tool and their successful call rate. Metrics are enabled by default but can be permanently disabled.
We do not collect: tool call parameters, contract details, function names, or any project-specific information.
To permanently opt out:
uv run slither-mcp --disable-metrics
For complete details, see METRICS.md.
The server exposes tools for querying contract and function information. All tools accept a path parameter that specifies the Solidity project directory to analyze.
list_contracts - List contracts with filtersRequires: path (project directory)
Filter contracts by type (concrete, abstract, interface, library) or path pattern.
get_contract - Get detailed contract informationRetrieve full contract metadata including functions, inheritance, and flags.
get_contract_source - Get contract source codeReturns the complete source code of the Solidity file containing the specified contract.
get_function_source - Get fun