Build MCP Server: NEAR Contract Auditor for Claude
Description
## Overview
Create an MCP server that helps Claude analyze NEAR smart contracts for common vulnerabilities and issues.
## Why This Matters
Security is critical for smart contracts. Claude can help identify issues before deployment.
## Technical Requirements
### Audit Capabilities
```typescript
// 1. analyze_contract - Full security scan
// 2. check_access_control - Permission issues
// 3. find_overflow_risks - Arithmetic problems
// 4. detect_reentrancy - Though NEAR prevents classic reentrancy
// 5. storage_analysis - Storage attack vectors
// 6. generate_report - Formatted audit report
```
### Checks Performed
- Access control patterns
- Integer overflow/underflow
- Callback handling
- Storage deposit attacks
- Upgrade safety
## Deliverables
1. **Contract audit MCP server**
2. **10+ vulnerability checks**
3. **Report generation**
4. **Remediation suggestions**
## Budget: 12 NEAR