Back to Home
trailofbits icon

slither-mcp

Verified Safe

by trailofbits

Overview

Provides static analysis for Solidity smart contracts using Slither via the Model Context Protocol (MCP), making contract metadata, inheritance, function calls, and security vulnerabilities accessible to LLMs and other tools.

Installation

Run Command
uv run slither-mcp

Security Notes

The server's core functionality relies on executing external tools (Forge, Slither) on user-provided Solidity project paths. While this is inherent to its purpose, it introduces a reliance on the integrity of the project path and the binaries being executed. Input validation is performed for tool parameters, and there are no direct code injection vulnerabilities like 'eval' or arbitrary command execution through tool requests. Opt-out metrics are implemented with explicit privacy filtering, and opt-in enhanced error reporting is clearly documented to transmit sensitive data. The primary risk lies in a user supplying a malicious Solidity project that could exploit local environment vulnerabilities, rather than a flaw in the server's request handling.

Similar Servers

Stats

Interest Score35
Security Score8
Cost ClassMedium
Avg Tokens10000
Stars11
Forks2
Last Update2025-11-19

Tags

SolidityStatic AnalysisSmart ContractsSecuritySlitherMCP