KaiaFun MCP server

Enables interaction with the KaiaFun memecoin platform for listing, buying, selling, and managing tokens on the Kaia blockchain.
Back to servers
Provider
KaiaFun
Release date
Apr 07, 2025
Language
TypeScript
Stats
1 star

This server implements the Model Context Protocol (MCP) for KaiaFun, allowing you to list and trade tokens on the Kaia blockchain through Claude or other LLM interfaces that support MCP. It provides a standardized way for Claude to interact with blockchain functionality directly.

Installation

Prerequisites

  • Node.js and yarn package manager
  • Claude Desktop application

Setup Steps

# Clone the repository
git clone https://github.com/weerofun/kaiafun-mcp
cd kaiafun-mcp

# Install dependencies
yarn

# Build
yarn build

Configuration

Claude Desktop Integration

You need to update your Claude Desktop configuration to include the KaiaFun MCP server:

  1. Locate your claude_desktop_config.json file
  2. Add the KaiaFun server configuration:
{
  "mcpServers": {
    "kaiafun": {
      "command": "node",
      "args": ["/path/to/dist/kaiafun-mcp-server.js"],
      "env": {
        "PRIVATE_KEY": "0x"
      }
    },
    "puppeteer": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-puppeteer"]
    }
  }
}

Important Configuration Notes:

  • Replace /path/to/dist/kaiafun-mcp-server.js with the absolute path to the built server file
  • Set PRIVATE_KEY to your wallet's private key (required for transaction signing)
  • The puppeteer configuration is recommended for adding basic web browsing capabilities

Usage

Once configured, the KaiaFun MCP server enables Claude to:

  • List new tokens on KaiaFun with predefined metadata
  • Buy and sell tokens using KAIA currency
  • Check token balances of the configured wallet
  • Interact with the Kaia blockchain

Security Warning

Note: Storing your private key in plaintext is not secure and should only be done for development or testing purposes. Use this configuration at your own risk, as the project is in development and the contributors are not responsible for any loss of funds.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later