agentshield-mcp
# AgentShield MCP Server
Trust infrastructure for the AI Agent economy on Base. DEX Spread Oracle, escrow, insurance, knowledge base.
## Tools
| Tool | Description | Pricing |
|------|-------------|---------|
| `dex_spread_oracle` | Live prices from Uniswap V3 on Base. 5 pairs. | $0.01 USDC (x402) |
| `utility_score` | On-chain utility score for trading decisions. | Free |
| `query_knowledge` | Query on-chain knowledge base. 14 verified DeFi entries. | $0.001 USDC (x402) |
## Endpoints
- **x402 Oracle**: `https://europe-west1-arbitrage-agent-prod.cloudfunctions.net/dex-spread-oracle`
- **Agent Card (A2A)**: `https://europe-west1-arbitrage-agent-prod.cloudfunctions.net/agent-card`
- **MCP Server**: `https://europe-west1-arbitrage-agent-prod.cloudfunctions.net/mcp-server`
## Usage
```bash
# List available tools
curl -X POST https://europe-west1-arbitrage-agent-prod.cloudfunctions.net/mcp-server \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
# Get server info
curl -X POST https://europe-west1-arbitrage-agent-prod.cloudfunctions.net/mcp-server \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"server/info","id":1}'
# Get DEX prices (requires x402 payment)
curl https://europe-west1-arbitrage-agent-prod.cloudfunctions.net/dex-spread-oracle
```
## On-Chain Contracts (Base Mainnet)
| Contract | Address |
|----------|---------|
| AgentShield | `0x4f2c88C60709a2FA987e84E8305Ab1a0CA293b7A` |
| AgentServicesV2 | `0x94eC79352088aFb8B5336d30D07042AAC0c48A88` |
| AgentVault | `0xeaE922306EFbD86eAA37aDAd8c66af511F139803` |
## Identity
- **ERC-8004**: Agent #38580 — [Profile](https://8004agents.ai/agent/38580)
- **x402**: Compatible with Coinbase/Stripe facilitator
- **A2A**: Google Agent2Agent Protocol compatible
## License
MIT
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with minimal overlap: compute_agent_score focuses on agent utility scoring, get_dex_price and get_pool_liquidity handle different aspects of Uniswap pools (price vs liquidity), list_trading_pairs provides discovery, lookup_agent_identity retrieves identity metadata, and search_defi_knowledge offers educational content. The descriptions explicitly differentiate their functions and cross-reference each other appropriately.
All tools follow a consistent verb_noun naming pattern (e.g., compute_agent_score, get_dex_price, list_trading_pairs) using snake_case throughout. The verbs are descriptive and aligned with their actions (compute, get, list, lookup, search), making the set predictable and easy to understand.
With 6 tools, the count is well-scoped for the server's purpose of providing DeFi and agent-related utilities on Base mainnet. Each tool serves a specific, non-redundant function, covering agent scoring, Uniswap data access, identity lookup, and knowledge search, which feels complete without being overwhelming.
The tool set covers key areas for DeFi and agent interactions on Base, including data retrieval (prices, liquidity, identities), discovery (trading pairs), scoring (agent utility), and education (knowledge base). Minor gaps exist, such as no direct tools for executing transactions or managing agent registrations, but the provided tools support core workflows effectively.