Back to Home
Jnix2007 icon

baseql-mcp

Verified Safe

by Jnix2007

Overview

An MCP server providing AI agents with comprehensive tools and context for querying Base chain data via the Coinbase Developer Platform SQL API, including contract lookups, ENS resolution, and real-time CEX pricing.

Installation

Run Command
npx baseql-mcp

Environment Variables

  • CDP_API_KEY_ID
  • CDP_API_KEY_SECRET
  • CDP_WALLET_SECRET
  • PORT
  • ENABLE_PAYMENTS
  • QUERY_PRICE

Security Notes

The code uses environment variables for API keys and secrets, a good practice for sensitive information. It interacts with legitimate, known public APIs from Coinbase and Flashbots. There is no use of `eval` or code obfuscation. The primary security consideration is that an AI agent, if poorly prompted or unconstrained, could construct and execute highly inefficient or broad SQL queries against the CDP SQL API. However, the MCP server itself provides extensive metadata, best practices, and query limits to guide agents towards safe and efficient query construction, thus mitigating this inherent risk of direct SQL execution via an agent.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-29

Tags

Base chainBlockchain dataSQL APIAI agent toolsCoinbase CDP