Logo de MCP Helius

MCP Helius

Organização
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…

Publicado pordcSpark
Repositóriomcp-server-helius
IdiomaTypeScript
Forks
12
Estrelas
14
Ferramentas disponíveis
38
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    MCP Helius disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • 38 ferramentas disponíveis

    Confira abaixo as ações que podem ser chamadas, incluindo nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    14 estrelas e 12 forks no repositório vinculado.

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

Instalação

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

Ferramentas disponíveis

  • 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

Use o MCP de MCP Helius com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar MCP Helius, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, vá até Configurações, Configurações avançadas e depois Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Ajustes.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione MCP Helius como servidor

Quando o status do conector for Pronto, clique em Editar e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar.
  3. Cole a configuração do servidor MCP de MCP Helius.
  4. Salve a lista de servidores.
  5. Atualize para confirmar se o conector ainda está pronto para uso.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar
{
  "mcpServers": {
    "mcp-server-helius": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-dockmaster/mcp-server-helius"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de MCP Helius, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de MCP Helius.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar MCP Helius para me ajudar nesta tarefa?
MCP Helius
Claro. Já li.
Veja o que encontrei usando MCP Helius.

Perguntas frequentes

Para que serve o servidor MCP MCP Helius?

MCP Helius é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP MCP Helius com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar MCP Helius com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP MCP Helius com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com MCP Helius conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP MCP Helius ao TypingMind?

MCP Helius funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP MCP Helius oferece no TypingMind?

MCP Helius disponibiliza 38 ferramentas MCP que podem ser ativadas na página Plugins do TypingMind e usadas no chat ou atribuídas a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP MCP Helius?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se MCP Helius exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇