Pentagonal logo

Pentagonal

by Pentagonal-ai

Generate, audit, repair, compile, and inspect smart contracts and tokens across eight blockchain networks.

Install Pentagonal

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pentagonal-ai-pentagonal": {
      "command": "npx",
      "args": [
        "-y",
        "pentagonal-mcp"
      ],
      "env": {
        "PENTAGONAL_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 7 tools correctly (1mo ago).

Overview

Pentagonal-ai/pentagonal MCP server gives agents tools for smart contract generation, security auditing, vulnerability repair, Solidity compilation, and token intelligence. It supports Solidity and Anchor/Rust workflows across Ethereum, Solana, Polygon, Base, Arbitrum, Optimism, BSC, and Avalanche. Use it when an agent needs contract-focused security analysis, token risk data, or deployable compilation outputs. Free tools are rate limited, while audits and contract generation use credits or x402 USDC payments.

Use cases

  • Generate Solidity or Anchor/Rust contracts from requirements
  • Audit contracts for vulnerabilities with severity-ranked findings
  • Inspect tokens for honeypots, holders, prices, and liquidity locks
  • Fix selected contract vulnerabilities while preserving functionality
  • Compile Solidity into ABI, bytecode, and gas estimates

Key features

  • Eight-agent smart contract security audits
  • Solidity and Anchor/Rust contract generation
  • Token intelligence and honeypot detection
  • Targeted vulnerability fixes
  • Solidity ABI, bytecode, and gas output
  • Multi-chain support across eight networks

Tools7

What Pentagonal lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

22/23 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · pentagonal-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads136Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed7Callable tools this server registers over MCP.
Directory activity9 viewsConfig copies, upvotes, and views on AllMCPs.

How Pentagonal works

What Pentagonal-ai/pentagonal MCP server does

Pentagonal-ai/pentagonal MCP server connects an MCP-compatible client to a smart contract development and security workflow. Agents can create contracts from natural-language requirements, inspect existing tokens, run an adversarial security review, apply targeted fixes, and compile Solidity into ABI, bytecode, and gas estimates.

The project covers eight named chains: Ethereum, Solana, Polygon, Base, Arbitrum, Optimism, BSC, and Avalanche. Contract generation supports Solidity and Anchor/Rust. Token lookups can return market information, holder data, liquidity-pool lock details, honeypot findings, and available source code.

How it works

The server exposes separate MCP tools for each part of the workflow. An agent can use the chain-listing tool to identify supported networks, request token intelligence for an address, generate a contract, or submit a contract for an eight-agent security pen test.

The rules tool exposes accumulated security rules from the system's self-learning rules engine. A later fix request can target a specific vulnerability while aiming to preserve the contract's functionality. Compilation is limited to Solidity and returns ABI, bytecode, and gas estimates.

Setup and configuration

For a local stdio connection, install the MCP package with npx -y pentagonal-mcp. The Claude Desktop configuration uses the PENTAGONAL_KEY environment variable for authentication. The project also documents an HTTP connection for Claude Code, Cursor, and Windsurf at https://www.pentagonal.ai/api/mcp; that configuration sends the API key in the x-pentagonal-api-key header.

Pentagonal-ai/pentagonal MCP server supports two payment paths for paid operations. Users can spend credits purchased through the web application, or agents can pay per request with USDC through x402 on Base. API keys can be used programmatically with a credit balance.

Tools and capabilities

  • pentagonal_lookup: Retrieves token price, holder information, liquidity-pool lock status, honeypot analysis, and source code.
  • pentagonal_audit: Runs an eight-agent security pen test and organizes findings by severity, including proof-of-concept exploits.
  • pentagonal_generate: Produces Solidity or Anchor/Rust contracts from natural-language descriptions.
  • pentagonal_fix: Addresses a selected vulnerability while preserving intended functionality.
  • pentagonal_compile: Compiles Solidity and returns ABI, bytecode, and gas estimates.
  • pentagonal_rules: Displays accumulated security rules.
  • pentagonal_chains: Lists the supported blockchains.

Lookup, fix, compile, and chain-listing operations are free but may be rate limited; the rules tool is free. Audits and generation cost $5 when paid with credits or x402.

Limitations and notes

Compilation support is explicitly described for Solidity, while Anchor/Rust is listed for generation rather than compilation. Free operations have rate limits, and paid audit or generation requests require either credits or x402 payment. Token intelligence and security results should therefore be treated as inputs to an engineering review rather than evidence that a contract is safe.

Pentagonal-ai/pentagonal MCP server is released under the MIT license.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pentagonal

Run `npx -y pentagonal-mcp` for a local stdio server. Configure `PENTAGONAL_KEY` when using the documented Claude Desktop setup.

Yes. The README provides a Claude Desktop configuration using the `npx -y pentagonal-mcp` command and `PENTAGONAL_KEY`.

Yes. The documented HTTP configuration lists Cursor and Windsurf as clients and uses `https://www.pentagonal.ai/api/mcp` with an `x-pentagonal-api-key` header.

Lookup, fix, compile, rules, and chain-listing tools are free, with rate limits applying to some of them.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPentagonal AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pentagonal-ai-pentagonal?style=directory)](https://allmcps.com/mcp/pentagonal-ai-pentagonal)
HTML Embed
<a href="https://allmcps.com/mcp/pentagonal-ai-pentagonal"><img src="https://allmcps.com/api/badge/pentagonal-ai-pentagonal?style=directory" alt="Pentagonal on AllMCPs" /></a>