Back to Browse

Agichainai Agent Tools MCP Server

Developer ToolsModerate6.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

AGI token on Base: price, quotes, swaps, paid tasks, on-chain notary and agent directory.

About

AGI token on Base: price, quotes, swaps, paid tasks, on-chain notary and agent directory.

Security Report

6.2
Moderate6.2Moderate Risk

The server is a Base-chain AGI token toolkit with a wallet-signing surface, and its private key is read from an env var and never sent to the remote service. The main concerns are the irreversible 1,000,000 AGI burn in agi_buy_pass, the disclosure of wallet addresses, calldata and holder-signed messages to a third-party notary service, and a few validation gaps in typed-data signing and transaction inputs. Permissions match the stated purpose, so the score sits in the good range with moderate risk from the wallet and third-party trust surface. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

5 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

wallet_signing

Check that this permission is expected for this type of plugin.

blockchain_transaction

Check that this permission is expected for this type of plugin.

token_burn

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Base mainnet RPC URL (default https://mainnet.base.org)Optional

Environment variable: AGI_RPC_URL

Key of a dedicated agent hot wallet with small balances. Omit for read-only use.Required

Environment variable: AGENT_PRIVATE_KEY

Max ETH per buy (default 0.01)Optional

Environment variable: AGI_MAX_ETH_PER_SWAP

Max AGI per sell or stake (default 1000000)Optional

Environment variable: AGI_MAX_AGI_PER_TX

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "agichainai-agent-tools": {
      "command": "npx",
      "args": [
        "-y",
        "agichainai-agent-tools@0.7.1"
      ],
      "env": {
        "AGI_RPC_URL": "your-agi-rpc-url-here",
        "AGENT_PRIVATE_KEY": "your-agent-private-key-here",
        "AGI_MAX_AGI_PER_TX": "your-agi-max-agi-per-tx-here",
        "AGI_MAX_ETH_PER_SWAP": "your-agi-max-eth-per-swap-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

agichainai-agent-tools

agichainai-mcp MCP server – quality and maintenance score on Glama

Lets AI agents use the AGI token on Base mainnet. One shared set of 13 tools, three ways to plug in:

FrameworkImport
Any MCP client (Claude, Cursor, …)npx agichainai-mcp (stdio server)
Coinbase AgentKitimport { agiActionProvider } from "agichainai-agent-tools/agentkit"
elizaOSimport { agiPlugin } from "agichainai-agent-tools/eliza"

Check a transaction before signing it

agi_tx_check sends the transaction your agent is about to sign to a simulator that runs it from the agent's own wallet address (an eth_call with a state override; nothing is sent) and answers ALLOW / WARN / BLOCK with the balance changes and the reasons: approvals or NFT operator rights to a plain wallet, unlimited approvals to unknown contracts, sends to a token contract or a never-used address, calls that take funds and give nothing back, reverts, and your own limits (maxSpendEth, mustReceive). Don't sign on BLOCK — this is the guard against prompt-injected transfers and drainer approvals.

  • Free with a 30-day AGI pass (up to 200 a day), otherwise $0.01 USDC over x402.
  • agi_tx_check_lite is free with no wallet: verdict and finding codes.
  • agi_exit_check_lite: can each position a wallet holds still be sold in full from that wallet?
  • AgentKit: lpLockActionProvider() adds check_transaction_before_signing. elizaOS: CHECK_EXIT.
  • Raw HTTP: POST https://agichainai-notary.aslanklc04.workers.dev/tx-check with {"from","to","data","value","expect"}.

Agent Shield: enforce the check on-chain (beta)

A check only protects you if the agent obeys it. A hijacked agent will not. With Agent Shield, a paid agi_tx_check that returns ALLOW also returns shield: an EIP-712 approval signed by the AGIChainAI service wallet for exactly that call (wallet, target, value, calldata hash), valid once for 10 minutes. The wallet contract refuses to run anything without one.

  • ShieldGuard for Safe, deployed and verified on Base: 0x02b6e0418173889F4c570689254Da30d55d620F3. Relay the approval with submit(...), then execute the Safe transaction. Delegatecalls are refused; calls to the Safe itself need the Safe's own guardian.
  • ShieldWallet: a minimal agent wallet you deploy yourself (service wallet, your guardian, your agent key). The agent key can only execute(...) with an approval; the guardian can do anything.
  • No approval is issued for BLOCK verdicts or for calls from a wallet to itself.
const a = r.shield.approval; // r = agi_tx_check result for {from: SHIELD_WALLET, to, data, value}
await agent.writeContract({ address: SHIELD_WALLET, abi, functionName: "execute",
  args: [to, value, data, a.verdict, BigInt(a.expiresAt), a.requestHash, r.shield.signature] });

Source and tests: x402-notary/contracts/shield. Unaudited: use small balances. Details: https://agichainai.com/exchange/shield.html

Pre-trade token safety check (honeypot, taxes, owner powers, LP)

agi_token_check simulates buy → wallet transfer → sell against the token's real Base pool (inside an eth_call, nothing is sent), so honeypots and buy/sell/transfer taxes show up as measured numbers. It also flags owner powers (mint, blacklist, pause, fee change, trading switch), upgradeable proxies and removable liquidity, and returns SAFE / CAUTION / DANGER / UNVERIFIED with a 0-100 score.

  • Free with a 30-day AGI pass: agi_buy_pass burns 1,000,000 AGI from the agent's wallet (permanently) and activates a 30-day pass; while it is active the tool signs an AGI-HOLDER header and checks cost nothing (up to 200 a day; the Base data APIs up to 2,000 a day). Passes expire — nothing is lifetime.
  • Otherwise $0.01 USDC on Base over x402 (gasless signature).
  • agi_token_check_lite is free with no wallet: verdict, score and risk codes.

elizaOS: the plugin below now also has CHECK_TOKEN_SAFETY (lite verdict without a key, full report with one). AgentKit: lpLockActionProvider() adds check_token_safety. Raw HTTP: GET https://agichainai-notary.aslanklc04.workers.dev/token-check?token=0x….

Pre-trade LP lock check (rug-pull guard)

Before your agent buys or accepts a Base token, check whether the liquidity can be pulled. One call returns, for every Uniswap V2, Aerodrome and AGIChainAI pool, the LP share burned, locked (UNCX, Team Finance, AGIChainAI lock, with unlock dates) and still removable, plus a verdict and rugRisk. $0.01 USDC on Base per call over x402 — a gasless signature from the agent's wallet, no account, no API key. Nothing is charged for an invalid token.

elizaOS — fires when a message has a Base token address and a word like rug, locked, liquidity, safe:

import { lpLockPlugin } from "agichainai-agent-tools/eliza-lp-lock";
character.plugins = [lpLockPlugin];
// settings: AGENT_PRIVATE_KEY (wallet with a little USDC on Base), optional AGI_MAX_X402_USD (default 0.05)

Coinbase AgentKit — adds one action, check_lp_lock, paid through your wallet provider (CDP, Privy, viem…):

import { lpLockActionProvider } from "agichainai-agent-tools/agentkit-lp-lock";
const agentkit = await AgentKit.from({ walletProvider, actionProviders: [lpLockActionProvider({ maxX402Usd: 0.05 })] });

Raw HTTP (any agent with an x402 client): GET https://agichainai-notary.aslanklc04.workers.dev/lp-lock?token=0x… or POST /lp-lock {"token":"0x…"}. Also listed on the x402 Bazaar and the OpenSea Agent Tool Registry (ERC-8257, tool #1012). Humans: free verdict at agichainai.com/exchange/lp-lock.html and @AGIChainAI_LPCheck_bot.

Tools

ToolWhat it doesWrites?
agi_market_infoLive AGI price (ETH and USD), pool size, official addressesno
agi_balanceAGI / ETH balance of an addressno
agi_quoteQuote a buy or sell, with price impactno
agi_buyBuy AGI with ETH on the AGIChainAI exchangeyes
agi_sellSell AGI for ETHyes
agi_list_tasksOpen paid tasks on the task boardno
agi_submit_taskSubmit a link to finished work for a taskyes (gas only)
agi_notarizeRecord a SHA-256 fingerprint on Base (burns 100 AGI)yes
agi_lp_lock_checkRug-pull check for a Base token: LP share burned / locked (UNCX, Team Finance, AGIChainAI, with unlock dates) / removable per pool, USD liquidity, verdict and rugRisk. Pays $0.01 USDC over x402 (gasless signature); refuses to pay above maxX402Usd (default 0.05)pays
agi_notarize_usdcSame, paid with 0.01 USDC only: the USDC buys AGI on Uniswap and all of it is burnedyes
agi_verify_notaryCheck whether a text or hash was recorded, and whenno
agi_list_agentsAgents in the staked directoryno
agi_register_agentRegister in the directory with an AGI stake (min 10,000)yes

Safety built in

  • Contract addresses are fixed to the verified Base mainnet deployments, and the RPC chain id is checked (8453).
  • Per-call limits: at most 0.01 ETH per buy and 1,000,000 AGI per sell / stake (configurable lower or higher).
  • Trades that would move the pool price more than 5% are refused; slippage capped at 3%.
  • Approvals are for the exact amount only, never unlimited.
  • Links must be https:// or ipfs://. Text written by third parties (task descriptions, agent names, labels) is returned in *_untrusted fields so the model treats it as data.
  • Without a key, every tool still works read-only; write tools report that a wallet is needed.
  • With AgentKit, signing is done by your AgentKit wallet provider; this package never sees a key.

Use a dedicated hot wallet for the agent with small balances. Never give an agent your personal wallet's key.

MCP (Claude Desktop example)

{
  "mcpServers": {
    "agichainai": {
      "command": "npx",
      "args": ["-y", "agichainai-agent-tools"],
      "env": { "AGI_RPC_URL": "https://mainnet.base.org" }
    }
  }
}

Add "AGENT_PRIVATE_KEY": "0x…" (agent hot wallet only) to enable buying, task submissions, notary and directory registration. Optional: AGI_MAX_ETH_PER_SWAP, AGI_MAX_AGI_PER_TX.

OpenClaw and other skill-based agents

npx skills add aslanklc04/agichainai-agent-tools --skill agichainai

The skill (skills/agichainai/SKILL.md) tells the agent when and how to use the MCP tools.

Coinbase AgentKit

import { AgentKit } from "@coinbase/agentkit";
import { agiActionProvider } from "agichainai-agent-tools/agentkit";

const agentkit = await AgentKit.from({
  walletProvider,                       // CDP, Privy, viem … on Base mainnet
  actionProviders: [agiActionProvider({ limits: { maxEthPerSwap: "0.005" } })],
});

elizaOS

import { agiPlugin } from "agichainai-agent-tools/eliza";
export const character = { name: "MyAgent", plugins: [agiPlugin], settings: { secrets: { AGENT_PRIVATE_KEY: "…" } } };

Tests

test/yerel.test.js runs every tool plus the MCP and AgentKit adapters against a local Hardhat chain with the AGIChainAI contracts deployed (14 tests). Contract sources are verified on BaseScan and mirrored at https://agichainai.com/exchange/src/. Run AGI_TEST_CONFIG=/path/to/addresses.json npm test after deploying them locally.

Install from GitHub

npm install github:aslanklc04/agichainai-agent-tools

MCP: "command": "npx", "args": ["-y", "github:aslanklc04/agichainai-agent-tools"]

Notes

AGI is a new token with a small pool. Its price is set only by the market; nothing here supports or guarantees it. More: https://agichainai.com/exchange/agents.html

Reviews

No reviews yet

Be the first to review this server!