colygon
MCP Servercolygonpublic

agglayer mcp server

用于与 Agglayer 跨链结算层交互的模型上下文协议 (MCP) 服务器。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

用于与 Agglayer 跨链结算层交互的模型上下文协议 (MCP) 服务器。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Agglayer MCP Server

This is a Model Context Protocol (MCP) server for interacting with the Agglayer cross-chain settlement layer. Agglayer is a cross-chain settlement layer that connects the liquidity and users of any blockchain for fast, low-cost interoperability and growth.

Features

This MCP server provides tools for:

  • Getting information about supported blockchain networks
  • Checking token balances across chains
  • Performing cross-chain transfers
  • Getting liquidity information

Installation

# Clone the repository
git clone <repository-url>
cd agglayer-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Configuration

The server can be configured using environment variables:

  • AGGLAYER_API_KEY: Your Agglayer API key (defaults to 'demo_key' for development)

Usage

Starting the Server

npm start

MCP Integration

To use this server with Claude or other MCP-compatible systems, add it to your MCP settings configuration file:

{
  "mcpServers": {
    "agglayer": {
      "command": "node",
      "args": ["/path/to/agglayer-mcp-server/build/index.js"],
      "env": {
        "AGGLAYER_API_KEY": "your-api-key"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Available Tools

get_chain_info

Get information about supported blockchain networks.

{
  "chain": "ethereum" // Optional, returns all chains if not specified
}

get_token_balance

Get token balance for an address on a specific chain.

{
  "chain": "ethereum",
  "address": "0x...",
  "token": "USDC" // Optional, returns all token balances if not specified
}

cross_chain_transfer

Perform a cross-chain token transfer.

{
  "sourceChain": "ethereum",
  "destinationChain": "polygon",
  "token": "USDC",
  "amount": "100.0",
  "fromAddress": "0x...",
  "toAddress": "0x..."
}

get_liquidity_info

Get liquidity information across chains.

{
  "chain": "ethereum", // Optional, returns all chains if not specified
  "token": "USDC" // Optional, returns all tokens if not specified
}

Available Resources

  • agglayer://chains: List of all supported blockchain networks
  • agglayer://tokens: List of all supported tokens
  • agglayer://chains/{chainId}: Information about a specific blockchain network
  • agglayer://tokens/{tokenSymbol}: Information about a specific token

Development

# Run in development mode with auto-reloading
npm run dev

License

ISC

Quick Start

1

Clone the repository

git clone https://github.com/colygon/agglayer-mcp-server
2

Install dependencies

cd agglayer-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownercolygon
Repoagglayer-mcp-server
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation