GIWA MCP Server

GIWA MCP Server

Enables AI agents to interact with the GIWA blockchain, including balance queries, contract interactions, Flashblocks preconfirmations, Dojang attestations, and UP ID resolution.

Category
访问服务器

README

GIWA MCP Server

MCP (Model Context Protocol) server for the GIWA blockchain — an OP Stack Layer 2 by Upbit/Dunamu.

Enables AI agents and LLMs to interact with GIWA chain: query balances, read/write contracts, use Flashblocks (200ms preconfirmation), manage Dojang attestations, resolve UP ID names, and more.

Features

Core EVM Tools

  • giwa_get_balance — ETH balance
  • giwa_get_token_balance — ERC-20 balance
  • giwa_get_transaction — Transaction details
  • giwa_get_block / giwa_get_latest_block — Block info
  • giwa_read_contract / giwa_write_contract — Contract interaction
  • giwa_estimate_gas — Gas estimation
  • giwa_transfer_eth / giwa_transfer_erc20 — Token transfers
  • giwa_multicall — Batched contract reads
  • giwa_get_logs — Event logs

GIWA Flashblocks (Unique)

  • giwa_flashblocks_call — ~200ms preconfirmed reads
  • giwa_flashblocks_get_balance — Pending balance
  • giwa_flashblocks_get_logs — Pending logs
  • giwa_flashblocks_simulate — Pre-flight simulation
  • giwa_flashblocks_estimate_gas — Pending gas estimate

Dojang Attestations

  • giwa_dojang_get_attestation — Fetch attestation by UID
  • giwa_dojang_is_valid — Check validity
  • giwa_dojang_attest — Create attestation
  • giwa_dojang_revoke — Revoke attestation
  • giwa_dojang_list_schemas — Known schemas

UP ID (ENS-based naming)

  • giwa_upid_resolve — Name → address
  • giwa_upid_reverse — Address → name
  • giwa_upid_get_text — Text records
  • giwa_upid_get_contenthash — Content hash

DeFi / Oracles

  • giwa_get_token_info — Token metadata
  • giwa_get_weth_balance — WETH balance
  • giwa_get_allowance — ERC-20 allowance
  • giwa_get_price_redstone — RedStone price feeds (300+ assets)
  • giwa_get_price_pyth — Pyth Network prices (on-chain)
  • giwa_list_known_contracts — Pre-deployed contracts

Account Abstraction (ERC-4337)

  • giwa_aa_get_nonce — Smart account nonce
  • giwa_aa_get_deposit — EntryPoint deposit
  • giwa_aa_estimate_userop_gas — UserOp gas estimate
  • giwa_aa_build_userop — Build UserOperation
  • giwa_aa_list_entrypoints — Supported entry points

Installation

npm install giwa-mcp-server

Or run directly with npx:

npx giwa-mcp-server

Configuration

Create a .env file:

GIWA_RPC_URL=https://sepolia-rpc.giwa.io
PRIVATE_KEY=0x...          # Optional: for write operations
BLOCKSCOUT_API_URL=https://sepolia-explorer.giwa.io/api

Usage with Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "giwa": {
      "command": "npx",
      "args": ["giwa-mcp-server"],
      "env": {
        "GIWA_RPC_URL": "https://sepolia-rpc.giwa.io"
      }
    }
  }
}

With private key for write operations:

{
  "mcpServers": {
    "giwa": {
      "command": "npx",
      "args": ["giwa-mcp-server"],
      "env": {
        "GIWA_RPC_URL": "https://sepolia-rpc.giwa.io",
        "PRIVATE_KEY": "0xYOUR_PRIVATE_KEY"
      }
    }
  }
}

Usage with Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "giwa": {
      "command": "npx",
      "args": ["giwa-mcp-server"]
    }
  }
}

Development

git clone https://github.com/Alicepoltora/giwa-mcp-server.git
cd giwa-mcp-server
npm install
npm run dev

Build:

npm run build
npm start

Network Info

Property Value
Network GIWA Sepolia (testnet)
Chain ID 91342
RPC https://sepolia-rpc.giwa.io
Flashblocks RPC https://sepolia-rpc-flashblocks.giwa.io
Explorer https://sepolia-explorer.giwa.io
Bridge https://sepolia-bridge.giwa.io
Block Time 1 second
Preconfirmation ~200ms (Flashblocks)

Why GIWA MCP?

  • First MCP server for GIWA — no alternatives exist
  • Flashblocks integration — unique 200ms preconfirmation feature
  • Dojang attestations — on-chain KYC/verification via UPbit
  • UP ID support — GIWA's native naming system
  • ERC-4337 ready — Account Abstraction support
  • 30+ tools — comprehensive blockchain interaction

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选