Skip to main content
Glama

pentagonal-mcp

pentagonal MCP server npm License: MIT

Pentagonal 的 MCP 服务器 —— 由 AI 驱动的智能合约构建平台。

工具

工具

描述

授权

pentagonal_lookup

代币情报 —— 价格、持有人、流动性锁定、蜜罐检测、源代码

免费(限流)

pentagonal_audit

8 智能体安全渗透测试,包含严重程度分组和漏洞概念验证 (PoC)

$5(积分或 x402)

pentagonal_generate

通过自然语言生成合约(Solidity + Anchor/Rust)

$5(积分或 x402)

pentagonal_fix

在保持功能不变的情况下修复特定漏洞

免费(限流)

pentagonal_compile

将 Solidity 编译为 ABI + 字节码 + Gas 估算

免费(限流)

pentagonal_rules

查看积累的自学习安全规则

免费

pentagonal_chains

列出所有支持的区块链

免费

支持 Ethereum、Base、Polygon、Arbitrum、Optimism、BSC、Avalanche 和 Solana。

Related MCP server: SicariusGuard

设置

Claude Desktop (stdio)

添加到 claude_desktop_config.json:

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

Claude Code / Cursor / Windsurf (HTTP)

添加到您的 MCP 配置中:

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

获取 API 密钥

  1. 登录 pentagonal.ai

  2. 点击您的头像 → 🔑 API Keys

  3. 生成密钥 —— 密钥仅显示一次,请立即复制

支付选项

  • 积分 — 每次审计或生成 $5,通过 Web 应用购买(EVM 或 Solana)

  • x402 — 智能体通过 Base 链上的 USDC 按次付费(无需账户)

  • API 密钥 — 以编程方式使用您的积分余额

  • 免费工具 — 修复、编译、查询、规则、链列表对所有人免费

链接

许可证

MIT

Available Tools

7 tools
pentagonal_auditA

Run an 8-agent security pen test on a smart contract. Each agent specializes in a different attack vector: reentrancy, flash loans, access control, gas griefing, oracle manipulation, front-running, integer overflow, and economic exploits. Findings are returned with severity ratings and line numbers. New security rules are automatically learned from each audit.

Inputs: code (required), chain, use_learned_rules.

pentagonal_chainsB

List all supported blockchains with their chain IDs, explorer URLs, and deployment hints.

Inputs: no named parameters.

pentagonal_compileA

Compile Solidity source code and return the ABI, bytecode, constructor arguments, and gas estimates. Use this after generating and auditing a contract to prepare it for deployment.

Inputs: code (required), contract_name.

pentagonal_fixB

Fix a specific vulnerability in a smart contract. Provide the contract code and the finding details — returns the complete fixed contract preserving all existing functionality.

Inputs: code (required), finding_title (required), finding_description (required).

pentagonal_generateA

Generate a production-quality smart contract from a natural language description. Supports EVM (Solidity) and Solana (Anchor/Rust or SPL Token config). The generator uses Pentagonal's self-learning security rules to produce safer code.

Inputs: prompt (required), chain, solana_type, use_learned_rules.

pentagonal_lookupA

Look up any token or smart contract by address. Returns the full intelligence report: price, market cap, ATH, 24h volume, transactions, holders, liquidity, LP lock status, pool count, security flags (honeypot, mintable, pausable, hidden owner, taxes), social links, and source code if verified. Use this before auditing to understand the full token landscape. Supports EVM and Solana tokens. Chain is auto-detected if omitted.

Inputs: address (required), chain, fields.

pentagonal_rulesB

Get the current self-learning security rules. These rules are accumulated from every audit Pentagonal performs — the more contracts audited, the smarter the system gets.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: audit runs security tests, chains lists blockchains, compile compiles code, fix fixes vulnerabilities, generate creates contracts, lookup retrieves token/contract intelligence, and rules gets security rules. The descriptions reinforce these unique roles, making tool selection unambiguous.

    Naming Consistency5/5

    All tools follow a consistent 'pentagonal_verb' naming pattern (e.g., pentagonal_audit, pentagonal_compile, pentagonal_fix). This uniform verb-based structure makes the tool set predictable and easy to navigate, with no deviations in style or convention.

    Tool Count5/5

    With 7 tools, the server is well-scoped for smart contract security and development. Each tool serves a specific, non-redundant function in the workflow (e.g., generate, audit, fix, deploy support), and the count is neither too sparse nor bloated for the domain.

    Completeness4/5

    The tool set covers the core smart contract lifecycle comprehensively: generation, compilation, auditing, fixing, and intelligence lookup. Minor gaps include no explicit deployment tool (though compile provides gas estimates) and limited post-deployment monitoring, but agents can work around these with existing tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers