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.
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 balancegiwa_get_token_balance— ERC-20 balancegiwa_get_transaction— Transaction detailsgiwa_get_block/giwa_get_latest_block— Block infogiwa_read_contract/giwa_write_contract— Contract interactiongiwa_estimate_gas— Gas estimationgiwa_transfer_eth/giwa_transfer_erc20— Token transfersgiwa_multicall— Batched contract readsgiwa_get_logs— Event logs
GIWA Flashblocks (Unique)
giwa_flashblocks_call— ~200ms preconfirmed readsgiwa_flashblocks_get_balance— Pending balancegiwa_flashblocks_get_logs— Pending logsgiwa_flashblocks_simulate— Pre-flight simulationgiwa_flashblocks_estimate_gas— Pending gas estimate
Dojang Attestations
giwa_dojang_get_attestation— Fetch attestation by UIDgiwa_dojang_is_valid— Check validitygiwa_dojang_attest— Create attestationgiwa_dojang_revoke— Revoke attestationgiwa_dojang_list_schemas— Known schemas
UP ID (ENS-based naming)
giwa_upid_resolve— Name → addressgiwa_upid_reverse— Address → namegiwa_upid_get_text— Text recordsgiwa_upid_get_contenthash— Content hash
DeFi / Oracles
giwa_get_token_info— Token metadatagiwa_get_weth_balance— WETH balancegiwa_get_allowance— ERC-20 allowancegiwa_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 noncegiwa_aa_get_deposit— EntryPoint depositgiwa_aa_estimate_userop_gas— UserOp gas estimategiwa_aa_build_userop— Build UserOperationgiwa_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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.