Pentagonal Mcp

io.github.Achilles1089Published by GitHub account Achilles1089v1.0.1Updated Oct 24, 2026

AI smart contract forge — 8-agent security audits, generation, and compilation across 8 chains

Overview

AI-generated overview

Local MCP server for Pentagonal, an AI smart contract forge that lets an assistant look up tokens, audit, generate, fix and compile contracts across eight block

What you can do
Look up token intelligence: price, holders, LP lock, honeypot status and source code, and list supported blockchains and accumulated security rules. Run an eight-agent security audit with severity grouping and proof-of-concept exploits. Generate Solidity or Anchor/Rust contracts from natural language. Fix a specific vulnerability while preserving functionality, and compile Solidity to ABI, bytecode and gas estimates.
When to use it
Useful when working on smart contracts and you want an assistant to check a token before interacting with it, audit or repair existing contract code, draft new Solidity or Rust contracts, or compile and inspect gas estimates without leaving the chat.
Requirements
Runs locally as an npm package over stdio, so Node.js and npx are needed. An optional PENTAGONAL_API_KEY enables credit-based paid tools; free tools work without it. Paid tools can also be settled per use with x402 USDC on Base. Network access to Pentagonal is required.
Before you install
Audit and generate cost $5 each, paid by credit or x402 USDC on Base, so real money can be spent. The API key is a secret and is shown only once at creation. The README's Claude Desktop example uses the variable name PENTAGONAL_KEY while the manifest declares PENTAGONAL_API_KEY, so check which one the package reads. Contract code and token queries are sent to Pentagonal's servers.

Installation

In SourceWeft

  1. Open Pentagonal Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

pentagonal-mcp

[pentagonal MCP server] [npm] [License: MIT]

MCP server for Pentagonal — the AI-powered smart contract forge.

Tools

ToolDescriptionAuth
pentagonal_lookupToken intelligence — price, holders, LP lock, honeypot, source codeFree (rate limited)
pentagonal_audit8-agent security pen test with severity grouping and PoC exploits$5 (credit or x402)
pentagonal_generateGenerate contracts from natural language (Solidity + Anchor/Rust)$5 (credit or x402)
pentagonal_fixFix a specific vulnerability while preserving functionalityFree (rate limited)
pentagonal_compileCompile Solidity to ABI + bytecode + gas estimatesFree (rate limited)
pentagonal_rulesView accumulated self-learning security rulesFree
pentagonal_chainsList all supported blockchainsFree

Supports Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, and Solana.

Setup

Claude Desktop (stdio)

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "pentagonal": {      "command": "npx",      "args": ["-y", "pentagonal-mcp"],      "env": {        "PENTAGONAL_KEY": "your-api-key"      }    }  }}

Claude Code / Cursor / Windsurf (HTTP)

Add to your MCP config:

json
{  "mcpServers": {    "pentagonal": {      "type": "http",      "url": "https://www.pentagonal.ai/api/mcp",      "headers": {        "x-pentagonal-api-key": "your-api-key"      }    }  }}

Get an API Key

  1. Sign in at pentagonal.ai
  2. Click your avatar → 🔑 API Keys
  3. Generate a key — it's shown once, copy it immediately

Payment Options

  • Credits — $5 per audit or generate, buy via the web app (EVM or Solana)
  • x402 — agents pay per-use with USDC on Base (no account needed)
  • API key — use your credit balance programmatically
  • Free tools — fix, compile, lookup, rules, chains are free for everyone

Links

License

MIT

Source: pentagonal-mcp/README.md at commit 55d41b9

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts