# pentagonal

pentagonal — a remote MCP server that hands your coding agent smart contract tooling: an eight-agent security audit, contract generation, compilation and token checks.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1033 installs
- Author: achilles-safehavencalls
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/achilles-safehavencalls/pentagonal
- Updated: 2026-04-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/pentagonal

## What it does

Pentagonal sits behind a remote MCP endpoint and gives the agent a set of contract tools. An audit spins up eight separate agents, each covering one attack class: reentrancy, flash loans, access control, gas griefing, oracle manipulation, MEV and front-running, integer overflow, economic exploits. Results come back sorted by severity, with proof-of-concept exploits for the serious ones.

Six more tools handle the work around an audit. `pentagonal_generate` writes a contract from a plain description, either Solidity with OpenZeppelin or an Anchor/Rust program and SPL token config on Solana. `pentagonal_fix` patches a single finding per call, critical severity first. `pentagonal_compile` returns ABI, bytecode, constructor arguments and gas estimates for Foundry, Hardhat or cast. `pentagonal_lookup` pulls token data by contract address: price, market cap, trading volume, holders, liquidity, LP lock status and flags for honeypot, mintable, pausable and taxes.

Pricing is uneven. Audit and generation cost $5 per call, everything else is free. Agents settle through x402 in USDC on Base with no account, while people pay with crypto credits. On an empty balance `pentagonal_audit` and `pentagonal_generate` will not run. Chains covered: Ethereum, Polygon, Base, Arbitrum, Optimism, BSC, Avalanche and Solana, with chain IDs and explorer links from `pentagonal_chains`.

## Requirements
- Remote server: `https://pentagonal--achilles-safehavencalls.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http pentagonal https://pentagonal--achilles-safehavencalls.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add pentagonal --url https://pentagonal--achilles-safehavencalls.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pentagonal": {
            "url": "https://pentagonal--achilles-safehavencalls.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pentagonal": {
            "type": "http",
            "url": "https://pentagonal--achilles-safehavencalls.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http pentagonal https://pentagonal--achilles-safehavencalls.run.tools
```

## When to use it
- audit a contract with eight specialised agents before deploying
- spot a honeypot or hidden tax on a token from its contract address
- generate a Solidity contract with OpenZeppelin from a description
- patch one vulnerability without breaking the rest of the logic
- get ABI and bytecode with gas estimates for a Foundry deploy

## Example prompts
- Run `pentagonal_audit` on `Vault.sol` and group the findings by severity
- Check this token address with `pentagonal_lookup`: honeypot flags, taxes, liquidity
- Compile `Token.sol` with `pentagonal_compile` and give me the ABI for a Foundry deploy

## Similar
- [solidity-auditor](https://affpapa.org/en/nevibecode/skills/solidity-auditor.md) — skill · 921 installs
- [v4-security-foundations](https://affpapa.org/en/nevibecode/skills/v4-security-foundations.md) — skill · 1200 installs
- [Bug Bounty Intelligence](https://affpapa.org/en/nevibecode/mcp/bug-bounty-intelligence.md) — MCP server · ★ 11 repo stars
- [solidity-security](https://affpapa.org/en/nevibecode/skills/solidity-security.md) — skill · 15382 installs
- [secure-workflow-guide](https://affpapa.org/en/nevibecode/skills/secure-workflow-guide.md) — skill · 8000 installs
- [Solidity Smart Contract taste](https://affpapa.org/en/nevibecode/prompts/solidity-smart-contract-taste.md) — prompt · ★ 178201 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
