Skip to content

PlayAINetwork/abstract-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abstract Chain MCP Server

A Model Context Protocol (MCP) server that enables AI agents to interact with the Abstract Chain blockchain.

Installation

Configure your .mcp.json file in your home directory:

{
  "mcpServers": {
    "abstract-mcp": {
      "command": "node",
      "args": ["path/to/your/index.js"]
    }
  }
}

Available Tools

The Abstract Chain MCP server provides the following tools:

1. getWalletBalance

Retrieves native token and ERC20 token balances for a specified wallet address.

Parameters:

  • address (string, required): Wallet address to check balances for
  • tokenAddresses (array of strings, optional): List of token addresses to check balances for
  • includeZeroBalances (boolean, optional, default: false): Whether to include tokens with zero balance

Example prompt:

Check the wallet balance for address 0x1234...5678 on Abstract Chain

Response: image

2. getTokenSupply

Retrieves the total supply information for an ERC20 token on Abstract Chain.

Parameters:

  • tokenAddress (string, required): ERC20 token contract address

Example prompt:

What is the total supply of the token at address 0xabcd...1234 on Abstract Chain?

Response: Screenshot 2025-05-01 152604

3. getTokenInfo

Gets detailed information about an ERC20 token on Abstract Chain.

Parameters:

  • tokenAddress (string, required): ERC20 token contract address on Abstract Chain

Example prompt:

Show me information about the token at address 0xabcd...1234 on Abstract Chain

Response: Screenshot 2025-05-01 152436

4. getTransactionData

Retrieves transaction information and receipt data for a specific transaction hash.

Parameters:

  • txHash (string, required): Transaction hash to check

Example prompt:

Get the transaction details for hash 0x123...456 on Abstract Chain

Response: Screenshot 2025-05-01 152129

5. getBlockInfo

Retrieves information about a specific block on Abstract Chain.

Parameters:

  • blockHash (string, required): Block hash

Example prompt:

Show me information about block with hash 0x123...456 on Abstract Chain

Response: Screenshot 2025-05-01 151955

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published