Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

scan_smart_contract

Analyze smart contract security by scanning for vulnerabilities, rug pull risks, and audit scores on Ethereum, Base, or Polygon networks.

Instructions

Perform security analysis on a smart contract.

Args: contract_address: The contract address to scan (0x...) chain: Blockchain network. Options: ethereum, base, polygon

Returns: Security analysis including vulnerabilities, rug pull risk, and audit score.

Price: $2.00

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contract_addressYes
chainNoethereum

Implementation Reference

  • The `scan_smart_contract` function serves as the MCP tool handler for scanning smart contracts. It accepts a contract address and chain as input, calls the `call_coinrailz_service` helper, and returns a JSON-formatted string of the security analysis results.
    @mcp.tool()
    async def scan_smart_contract(contract_address: str, chain: str = "ethereum") -> str:
        """
        Perform security analysis on a smart contract.
        
        Args:
            contract_address: The contract address to scan (0x...)
            chain: Blockchain network. Options: ethereum, base, polygon
        
        Returns:
            Security analysis including vulnerabilities, rug pull risk, and audit score.
        
        Price: $2.00
        """
        payload = {"contractAddress": contract_address, "chain": chain}
        result = await call_coinrailz_service("contract-scan", payload)
        return json.dumps(result, indent=2)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tdnupe3/mcp-server-coinrailz'

If you have feedback or need assistance with the MCP directory API, please join our Discord server