home / mcp / kaiafun mcp server

KaiaFun MCP Server

Provides an MCP server for listing and trading KaiaFun tokens and interacting with the Kaia blockchain.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "weero-finance-kaiafun-mcp": {
      "command": "node",
      "args": [
        "/path/to/dist/kaiafun-mcp-server.js"
      ],
      "env": {
        "PRIVATE_KEY": "0x"
      }
    }
  }
}

KaiaFun MCP provides a server that lets you list and trade KaiaFun tokens and interact with the Kaia blockchain through a standardized MCP interface. It enables applications and LLMs to access token data and perform on-chain actions within a consistent context.

How to use

You integrate the KaiaFun MCP server with your MCP client to enable token listing, trading, and Kaia blockchain interactions. Start by ensuring your MCP client is configured to connect to the KaiaFun MCP server. The server exposes a standard set of capabilities that you can invoke to manage tokens, check balances, and perform trades through the KaiaFun protocol.

How to install

Prerequisites: you need Node.js and a JavaScript package manager installed on your system. You will also use a build step to generate the server code.

1) Clone the project and navigate into the directory.

2) Install dependencies.

3) Build the MCP server.

4) Run the built MCP server using the generated entry point.

Additional sections

Configuration and runtime details are provided to enable secure operation and integration with your MCP client. You can configure two MCP server entries: one for running the KaiaFun MCP server locally and another for a Puppeteer-backed browsing capability.

Available tools

listTokens

List available KaiaFun tokens with predefined metadata and basic details.

tradeTokens

Trade tokens on the KaiaFun protocol, including buy and sell actions.

checkBalance

Check token balances for configured wallets on the Kaia blockchain.