Skip to main content
Glama

Metaplex Genesis MCP

Model Context Protocol server for Metaplex Genesis.

Fetch accounts. Query bonding curves. Get swap quotes. Create Genesis transactions.

MCP tools for interacting with Metaplex Genesis on Solana.

Node.js TypeScript MCP License

Overview

An MCP server that exposes tools for interacting with the Metaplex Genesis program. Use with Cursor, Claude Desktop, or any MCP-compatible client.

Core Capabilities:

  • šŸ“Š Account Fetching - Get Genesis accounts by address or mint

  • šŸ’° Bucket Data - Query bonding curves, launch pools, presales, vaults

  • šŸ‘¤ User Deposits - Fetch deposit info for any recipient

  • šŸ“ˆ Trading Helpers - Current prices and swap quotes with fees

  • šŸ”§ Transaction Creation - Build Genesis initialization and swap transactions

Related MCP server: SOLANA-MCP-Server

Quick Start

Run the server directly without installation:

npx metaplex-genesis-mcp

Installation

Install globally to use as a command:

npm install -g metaplex-genesis-mcp
metaplex-genesis-mcp

From Source

pnpm install
pnpm build

Docker

docker compose up -d

Or build manually:

docker build -t metaplex-genesis-mcp .
docker run -e SOLANA_RPC_URL=https://api.mainnet-beta.solana.com metaplex-genesis-mcp

Configuration

Add to your MCP config (Cursor .cursor/mcp.json or Claude Desktop):

{
  "mcpServers": {
    "metaplex-genesis": {
      "command": "npx",
      "args": ["-y", "metaplex-genesis-mcp"],
      "env": {
        "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
      }
    }
  }
}

Local Development Configuration

If running from source:

{
  "mcpServers": {
    "metaplex-genesis": {
      "command": "node",
      "args": ["/path/to/metaplex-genesis-mcp/dist/index.js"],
      "env": {
        "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
      }
    }
  }
}

Variable

Required

Default

Description

SOLANA_RPC_URL

No

https://api.mainnet-beta.solana.com

Solana RPC endpoint

Available Tools

Account Fetching

Tool

Description

get_genesis_account

Fetch a Genesis account by address

get_genesis_account_by_mint

Fetch a Genesis account by base token mint

list_genesis_accounts

List Genesis accounts with optional filters

Bucket Data

Tool

Description

get_bonding_curve

Fetch bonding curve bucket data

get_launch_pool

Fetch launch pool bucket data

get_presale

Fetch presale bucket data

get_vault

Fetch vault bucket data

User Deposits

Tool

Description

get_launch_pool_deposit

Fetch a recipient's launch pool deposit

get_presale_deposit

Fetch a recipient's presale deposit

get_vault_deposit

Fetch a recipient's vault deposit

Trading Helpers

Tool

Description

get_current_price

Get current bonding curve price

get_swap_quote

Calculate swap amounts with fees

Transaction Creation

Tool

Description

create_genesis_account

Build a Genesis initialization transaction (base64)

swap

Build a swap transaction (base64)

Project Structure

src/
ā”œā”€ā”€ tools/           # Tool handlers (accounts, buckets, deposits, trading, transactions)
ā”œā”€ā”€ types/           # TypeScript types and Zod schemas
ā”œā”€ā”€ services/        # Metaplex SDK service layer
ā”œā”€ā”€ utils/           # Serialization and formatting helpers
ā”œā”€ā”€ server.ts        # MCP server setup
ā”œā”€ā”€ stdio.ts         # Stdio transport entry point
└── index.ts         # CLI entry point

Testing

pnpm test              # Unit tests (mocked)
pnpm test:watch        # Unit tests in watch mode
pnpm test:integration  # Integration tests (real MCP client)
pnpm test:smoke        # Shell smoke test

Development

pnpm install       # Install dependencies
pnpm build         # Build for production
pnpm test          # Run tests

License

Apache License 2.0 - see LICENSE for details.


Built by maikers - creators of realities

Available Tools

14 tools
create_genesis_accountB

Create a transaction to initialize a new Genesis account (returns base64 transaction)

Inputs: uri (required), name (required), symbol (required), baseMint (required), +4 more.

get_bonding_curveC

Fetch a bonding curve bucket for a Genesis account

Inputs: genesisAccount (required), bucketIndex.

get_current_priceC

Get the current price on a bonding curve

Inputs: bondingCurveBucket (required).

get_genesis_accountB

Fetch a Genesis account by its public key address

Inputs: address (required).

get_genesis_account_by_mintC

Fetch a Genesis account by its base token mint address

Inputs: baseMint (required), genesisIndex.

get_launch_poolC

Fetch a launch pool bucket for a Genesis account

Inputs: genesisAccount (required), bucketIndex.

get_launch_pool_depositC

Fetch a user's launch pool deposit

Inputs: recipient (required), bucketAddress (required).

get_presaleB

Fetch a presale bucket for a Genesis account

Inputs: genesisAccount (required), bucketIndex.

get_presale_depositC

Fetch a user's presale deposit

Inputs: recipient (required), bucketAddress (required).

get_swap_quoteC

Get a swap quote including fees for a bonding curve trade

Inputs: amountIn (required), direction (required), bondingCurveBucket (required).

get_vaultC

Fetch a vault bucket for a Genesis account

Inputs: genesisAccount (required), bucketIndex.

get_vault_depositC

Fetch a user's vault deposit

Inputs: recipient (required), bucketAddress (required).

list_genesis_accountsB

List Genesis accounts, optionally filtered by authority or base mint

Inputs: baseMint, authority.

swapB

Create a swap transaction (returns base64 transaction)

Inputs: amountIn (required), authority (required), direction (required), minAmountOut (required), +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 14 tools

    Disambiguation5/5

    The tools separate bucket fetches from user deposit fetches and account lookups from list/create operations, so purposes are distinct. Price, quote, and swap transaction tools are also clearly differentiated by their descriptions.

    Naming Consistency4/5

    Most tools follow a consistent get_/list_/create_ + noun snake_case pattern. The bare 'swap' tool is a minor deviation but still clear in context.

    Tool Count5/5

    With 14 tools, the set is well-scoped for a Metaplex Genesis integration covering accounts, buckets, deposits, pricing, quotes, and swaps. Each tool appears to earn its place without excessive fragmentation.

    Completeness3/5

    The read surface is strong, covering Genesis accounts, bucket types, deposits, prices, and quotes. However, write/lifecycle coverage is notably incomplete: there are getters for deposits but no obvious deposit, withdraw, claim, update, or close operations beyond account creation and swapping.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Simplified MCP server for managing Solana ICOs with multiple bonding curves, token pricing, and buy/sell functionality.
      3
      MIT No Attribution
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents and MCP clients to browse prediction markets, inspect order books, trades and positions, and to place, cancel and manage orders, close positions and redeem winnings from a locally signing wallet. It also supports read-only operation and a hosted mode for market data only.
      MIT