mcp-contract-security
mcp-contract-security
用于智能合约安全扫描的 MCP 服务器。
实现了所需的工具:
scan_contractcompare_security_modelsaudit_checklist
支持的语言:
solidityrusttypescript
检查内容
scan_contract 目前可检测以下启发式模式:
重入攻击
整数溢出/下溢风险
访问控制问题
抢跑交易暴露
预言机操纵风险
输出包括:
带有严重级别/类型/行号的漏洞列表
security_scorenear_equivalent_score针对 NEAR 的安全说明和建议
Related MCP server: meok-mcp-injection-scan-mcp
安装
npm install -g mcp-contract-security已发布的包:
MCP Registry:https://registry.modelcontextprotocol.io/v0/servers/io.github.mastrophot%2Fcontract-security-scanner/versions/0.1.1
MCP 配置(Claude Desktop)
{
"mcpServers": {
"contract-security": {
"command": "mcp-contract-security"
}
}
}工具用法
scan_contract
输入:
{
"code": "contract source code here",
"language": "solidity"
}compare_security_models
输入(可选):
{
"language": "solidity"
}audit_checklist
输入(可选):
{
"language": "rust"
}本地开发
npm install
npm run check交付资产
其他发布资产已准备在 deliverables/ 目录中:
deliverables/mcp-registry-submission.mddeliverables/security-subreddit-posts.mddeliverables/blog-why-near-contracts-safer.mdserver.json(MCP Registry 元数据,已通过 schema 验证)
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceSecurity scanner for MCP servers. Detects prompt injection, command injection, auth bypass, and excessive permissions across tools, resources, and prompts.482MIT
- AlicenseAqualityCmaintenanceScans MCP servers for prompt-injection, tool-poisoning, and SSRF vulnerabilities using 30+ canonical rules across 5 severity tiers, with optional signed safety reports for procurement.5MIT
- FlicenseNot gradedqualityBmaintenanceAn MCP server that statically audits Solidity smart contracts for common vulnerabilities like reentrancy and access control, enabling developers to identify and fix security issues via natural language.
- FlicenseNot gradedqualityDmaintenanceEnables scanning Solidity smart contracts for 13 vulnerability classes using pattern-based analysis; provides full audit, quick scan, gas analysis, and detector catalog through MCP tools.
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mastrophot/near-mcp-contract-security'
If you have feedback or need assistance with the MCP directory API, please join our Discord server