sourcify-mcp
Verified Safeby STetsing
Overview
This server acts as a Model Context Protocol (MCP) wrapper for the Sourcify API, enabling AI assistants to perform smart contract verification, lookup, and similarity searches.
Installation
node dist/index.jsEnvironment Variables
- PORT
- HOST
- SOURCIFY_BASE_URL
- API_TIMEOUT
- ALLOWED_HOSTS
Security Notes
The server correctly uses environment variables for sensitive configurations like API URLs and timeouts, avoiding hardcoded secrets. Input validation for tool parameters is implemented using Zod, enhancing robustness against malformed requests. Comprehensive error handling wraps Sourcify API errors for clearer communication. However, the HTTP mode explicitly enables `CORS` for all origins (`*`), and while an `ALLOWED_HOSTS` environment variable is defined, it is not currently used to restrict this, which could be a concern in some deployment scenarios if the server is exposed publicly beyond a trusted MCP client network. For its intended use as a local or controlled AI agent tool, the risk is mitigated.
Similar Servers
evm-mcp-server
Enables AI agents to interact with 60+ EVM-compatible blockchains, perform transactions, query data, and interact with smart contracts via a unified Model Context Protocol (MCP) interface.
mcp-server
Provides a Model Context Protocol (MCP) server for AI agents to search and retrieve curated documentation for the Strands Agents framework, facilitating AI coding assistance.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.