pentagonal — Claude Code MCP server: what it does, how to install
pentagonal — a remote MCP server that hands your coding agent smart contract tooling: an eight-agent security audit, contract generation, compilation and token checks.
no license 1,033 installs updated 2026-04-12
claude mcp add --transport http pentagonal https://pentagonal--achilles-safehavencalls.run.toolsWhat pentagonal 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.
What it helps with
- 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 for the agent
- Run
pentagonal_auditonVault.soland group the findings by severity - Check this token address with
pentagonal_lookup: honeypot flags, taxes, liquidity - Compile
Token.solwithpentagonal_compileand give me the ABI for a Foundry deploy
How to install pentagonal
Platform CLI: remote server
claude mcp add --transport http pentagonal https://pentagonal--achilles-safehavencalls.run.toolsPlatform CLI: remote server
codex mcp add pentagonal --url https://pentagonal--achilles-safehavencalls.run.toolsConfig file
{
"mcpServers": {
"pentagonal": {
"url": "https://pentagonal--achilles-safehavencalls.run.tools"
}
}
}Config file
{
"servers": {
"pentagonal": {
"type": "http",
"url": "https://pentagonal--achilles-safehavencalls.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http pentagonal https://pentagonal--achilles-safehavencalls.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about pentagonal
How to install pentagonal in Claude Code?
One command does it: claude mcp add --transport http pentagonal https://pentagonal--achilles-safehavencalls.run.tools. The server is added over the HTTP transport and its tools become available to the agent.
What does pentagonal do?
It gives an agent smart contract tooling: an eight-agent security audit, contract generation from a description, vulnerability fixes, compilation to ABI and bytecode, token intelligence and a list of supported chains.
What do the paid tools cost?
pentagonal_audit and pentagonal_generate charge $5 per call. pentagonal_fix, pentagonal_compile, pentagonal_lookup, pentagonal_rules and pentagonal_chains are free. Agents pay in USDC on Base through x402; human users pay with crypto credits.