▀▀▀ ▐S▌ ▐C▌ ▄▄▄
Smart Contract Auditor
SERVER URL
http://localhost:3000/api/mcp-server/smart-contract-auditCONNECTION JSON
{
"mcpServers": {
"smart-contract-audit": {
"command": "npx",
"args": [
"mcp-remote@latest",
"http://localhost:3000/api/mcp-server/smart-contract-audit"
]
}
}
}Learn more about supported MCP clients
MCP HOST CONNECTIONS
Connect this MCP server directly to your AI assistant tools by using the JSON config above. Click on a logo to see a demo video.
╔═══╗ ║ ▸ ║ ║ │ ║ ╚═══╝
┌───┐ │ C │ │ L │ └───┘
≋≋≋≋ ~≋~≋ ≋~≋~ ~~~~
DESCRIPTION
AI-powered smart contract security analysis tool. Detects common vulnerabilities, suggests improvements, and generates detailed audit reports for Solidity and Rust contracts.
AVAILABLE TOOLS
analyzeContract
Perform security analysis on contract
detectVulnerabilities
Scan for known vulnerabilities
generateReport
Create detailed audit report
CODE EXAMPLES
// Smart Contract Auditor
import { Client } from '@modelcontextprotocol/sdk';
const client = new Client();
await client.connect('https://audit-mcp.x402.app/sse');
const audit = await client.callTool({
name: 'analyzeContract',
arguments: {
code: contractSource,
language: 'solidity'
}
});
console.log('Vulnerabilities:', audit.findings);Official MCP SDK Documentation:
https://github.com/modelcontextprotocol/modelcontextprotocol
Installation:
npm install @modelcontextprotocol/sdk
Authentication:
- For MCP Hosts (Cursor, Windsurf, Claude Desktop), saving the JSON config to your tool will automatically trigger the browser OAuth flow
- For programmatic access, obtain the OAuth token by running "npx mcp-remote <url>" in the terminal and follow the instructions