Logo di MCP Helius

MCP Helius

Organizzazione
dcSpark

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Solana blockchain data via the Helius API. The server enables Claude to perform operations like…

AutoredcSpark
Repositorymcp-server-helius
LinguaTypeScript
Fork
12
Stelle
14
Strumenti disponibili
38
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    MCP Helius mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 38 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    14 stelle e 12 fork nel repository collegato.

MCP Helius

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Solana blockchain data via the Helius API. The server enables Claude to perform operations like checking wallet balances, getting blockchain information, and interacting with tokens and NFTs on the Solana blockchain.

Overview

The MCP server exposes the following tools to Claude:

Basic Blockchain Operations

  • helius_get_balance: Get the balance of a Solana wallet address
  • helius_get_block_height: Get the current block height of the Solana blockchain
  • helius_get_slot: Get the current slot of the Solana blockchain
  • helius_get_latest_blockhash: Get the latest blockhash from the Solana blockchain
  • helius_get_transaction: Get a transaction by its signature
  • helius_get_account_info: Get account information for a Solana address
  • helius_get_signatures_for_address: Get transaction signatures for a Solana address
  • helius_get_multiple_accounts: Get information about multiple Solana accounts
  • helius_get_program_accounts: Get all accounts owned by a program

Token Operations

  • helius_get_token_accounts_by_owner: Get token accounts owned by a Solana address
  • helius_get_token_supply: Get the supply of a token
  • helius_get_token_account_balance: Get the balance of a token account
  • helius_get_token_accounts: Get token accounts by mint or owner

NFT and Digital Assets

  • helius_get_asset: Get details of a digital asset by its ID
  • helius_get_rwa_asset: Get details of a real-world asset by its ID
  • helius_get_asset_batch: Get details of multiple assets by their IDs
  • helius_get_asset_proof: Get proof for a digital asset
  • helius_get_assets_by_group: Get assets by group key and value
  • helius_get_assets_by_owner: Get assets owned by a specific address
  • helius_get_assets_by_creator: Get assets created by a specific address
  • helius_get_assets_by_authority: Get assets by authority address
  • helius_search_assets: Search for assets using various filters (ownerAddress, creatorAddress, compressed, etc.)
  • helius_get_signatures_for_asset: Get signatures associated with an asset
  • helius_get_nft_editions: Get NFT editions for a master edition

Blockchain System Information

  • helius_get_minimum_balance_for_rent_exemption: Get the minimum balance required for rent exemption
  • helius_get_inflation_reward: Get inflation rewards for a list of addresses
  • helius_get_epoch_info: Get information about the current epoch
  • helius_get_epoch_schedule: Get the epoch schedule
  • helius_get_leader_schedule: Get the leader schedule for an epoch
  • helius_get_recent_performance_samples: Get recent performance samples
  • helius_get_version: Get the version of the Solana node

Transaction and Fee Methods

  • helius_get_priority_fee_estimate: Get priority fee estimate for a transaction
  • helius_poll_transaction_confirmation: Poll for transaction confirmation status
  • helius_send_jito_bundle: Send a bundle of transactions to Jito
  • helius_get_bundle_statuses: Get statuses of Jito bundles
  • helius_get_fee_for_message: Get the fee for a serialized message
  • helius_execute_jupiter_swap: Execute a token swap using Jupiter

Prerequisites

Installation

  1. Clone this repository:

    bash
    git clone https://github.com/dcSpark/mcp-server-helius.git
    cd mcp-server-helius
  2. Install dependencies:

    bash
    npm ci
  3. Build the project:

    bash
    npm run build

Configuration

Configure Claude Desktop

To configure Claude Desktop to use this MCP server:

  1. Open Claude Desktop

  2. Navigate to the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Add the MCP server configuration:

json
{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-server-helius"
      ],
      "env": {
        "HELIUS_API_KEY": "your-helius-api-key"
      }
    }
  }
}

Running Locally

bash
HELIUS_API_KEY=your-helius-api-key node build/index.js

You can also run directly using npx:

bash
HELIUS_API_KEY=your-helius-api-key npx @dcspark/mcp-server-helius

Usage

Once configured, restart Claude Desktop. Claude will now have access to the Solana blockchain tools. You can ask Claude to:

  1. Check a wallet balance:

    What's the balance of the Solana wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8?
  2. Get the current block height:

    What's the current block height on Solana?
  3. Get information about NFTs:

    What NFTs does the wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8 own?

Claude will use the MCP server to fetch this information directly from the Solana blockchain via Helius.

Development

Adding New Tools

To add new tools to the MCP server:

  1. Define the tool in src/tools.ts
  2. Create a handler function in the appropriate handler file
  3. Add the handler to the handlers object in src/tools.ts

Building

bash
npm run build

License

MIT

Installazione

TypingMind
{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-server-helius"
      ],
      "env": {
        "HELIUS_API_KEY": "<HELIUS_API_KEY>"
      }
    }
  }
}

Strumenti disponibili

  • helius_get_balance

    Get the balance of a Solana address

  • helius_get_block_height

    Get the block height of the Solana blockchain

  • helius_get_token_accounts_by_owner

    Get token accounts owned by a Solana address

  • helius_get_token_supply

    Get the supply of a token

  • helius_get_token_largest_accounts

    Get the largest token accounts for a specific token mint

  • helius_get_latest_blockhash

    Get the latest blockhash from the Solana blockchain

  • helius_get_token_account_balance

    Get the balance of a token account

  • helius_get_slot

    Get the current slot of the Solana blockchain

  • helius_get_transaction

    Get a transaction by its signature

  • helius_get_account_info

    Get account information for a Solana address

  • helius_get_program_accounts

    Get all accounts owned by a program

  • helius_get_signatures_for_address

    Get transaction signatures for a Solana address

  • helius_get_minimum_balance_for_rent_exemption

    Get the minimum balance required for rent exemption

  • helius_get_multiple_accounts

    Get information about multiple Solana accounts

  • helius_get_inflation_reward

    Get inflation rewards for a list of addresses

  • helius_get_epoch_info

    Get information about the current epoch

  • helius_get_epoch_schedule

    Get the epoch schedule

  • helius_get_leader_schedule

    Get the leader schedule for an epoch

  • helius_get_recent_performance_samples

    Get recent performance samples

  • helius_get_version

    Get the version of the Solana node

  • helius_get_asset

    Get details of a digital asset by its ID

  • helius_get_rwa_asset

    Get details of a real-world asset by its ID

  • helius_get_asset_batch

    Get details of multiple assets by their IDs

  • helius_get_asset_proof

    Get proof for a digital asset

  • helius_get_assets_by_group

    Get assets by group key and value

  • helius_get_assets_by_owner

    Get assets owned by a specific address

  • helius_get_assets_by_creator

    Get assets created by a specific address

  • helius_get_assets_by_authority

    Get assets by authority address

  • helius_search_assets

    Search for assets using various filters

  • helius_get_signatures_for_asset

    Get signatures associated with an asset

  • helius_get_nft_editions

    Get NFT editions for a master edition

  • helius_get_token_accounts

    Get token accounts by mint or owner

  • helius_get_priority_fee_estimate

    Get priority fee estimate for a transaction

  • helius_poll_transaction_confirmation

    Poll for transaction confirmation status

  • helius_send_jito_bundle

    Send a bundle of transactions to Jito

  • helius_get_bundle_statuses

    Get statuses of Jito bundles

  • helius_get_fee_for_message

    Get the fee for a serialized message

  • helius_execute_jupiter_swap

    Execute a token swap using Jupiter

Usa MCP MCP Helius con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso MCP Helius, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi MCP Helius come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di MCP Helius.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-server-helius"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di MCP Helius, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di MCP Helius.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare MCP Helius per aiutarmi con questa attività?
MCP Helius
Certo. Ho letto.
Ecco cosa ho trovato con MCP Helius.

Domande frequenti

A cosa serve il server MCP MCP Helius?

MCP Helius è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare MCP Helius MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare MCP Helius con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP MCP Helius con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando MCP Helius, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego MCP Helius MCP a TypingMind?

MCP Helius funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre MCP Helius MCP in TypingMind?

MCP Helius mette a disposizione 38 strumenti MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare MCP Helius MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se MCP Helius richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇