stellarpilot

stellarpilot

MCP server that translates natural language requests into Stellar blockchain CLI commands.

Category
Visit Server

README

Stellar Pilot — MCP Server for Stellar

NPM Version

Stellar Pilot bridges natural language and the Stellar blockchain. It's an MCP server that translates what you want to do into the exact CLI commands needed to do it.

Stop fighting with Stellar CLI syntax. The Stellar CLI has:

  • 10+ main commands (contract, keys, tx, network...)
  • 70+ subcommands with unique syntax
  • Hundreds of flags and parameters to remember

Stellar Pilot lets you skip all that. Just say what you need:

  • "create a new account" instead of stellar keys generate --network testnet --fund
  • "deploy my contract" instead of stellar contract deploy --wasm path --source account --network...
  • "send 100 XLM to Bob" instead of stellar tx new payment --destination G... --amount...

It translates natural language to proper CLI commands through MCP (Model Context Protocol), working seamlessly in AI assistants and IDEs.

šŸš€ Features

  • 73+ CLI Tools: Complete integration with the official Stellar CLI
  • Smart Contract Operations: Deploy, invoke, build, and optimize Soroban contracts
  • Transaction Management: Send payments, create accounts, manage trustlines, DEX trading
  • Identity & Key Management: Generate keys, manage accounts, fund testnet accounts
  • Network Configuration: Switch between testnet, mainnet, futurenet, and local networks
  • Type-Safe Interface: Full TypeScript support with schema validation

šŸ“‹ Prerequisites

  • Node.js 18+ - Check with node --version

  • Stellar CLI - Check with stellar --version

    If not installed, see: https://github.com/stellar/stellar-cli

šŸ“¦ Installation

npm install -g stellarpilot

āš™ļø Configuration

Add to your MCP settings:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "stellarpilot": {
      "command": "stellar-pilot"
    }
  }
}

Successful Configuration: Once properly configured, you'll see StellarPilot with 73 tools enabled in your MCP Tools panel:

MCP Tools Panel

šŸŽÆ Basic Usage Examples

Once configured, you can use natural language to interact with Stellar:

Account Management

"Generate a new account called alice"
"Fund alice's account on testnet"
"Show me alice's public key"
"Switch to using alice as default"

Example: Creating a New Account

Creating a Stellar Account

StellarPilot automatically:

  • Generates a new keypair with secure seed phrase
  • Funds the account on testnet
  • Stores credentials securely in local configuration
  • Lists all your accounts with their details

Payments

"Send 100 XLM from alice to GDEXAMPLE..."
"Create a trustline for USDC:GCKFBEIYTKP..."
"Send 50 USDC from alice to bob"

Smart Contracts

"Deploy my contract from ./contract.wasm"
"Call the hello function on contract C123..."
"Build the contract in ./my-project"

Network Operations

"Switch to testnet"
"Check network health"
"Add a custom network called mynet"

šŸ› ļø Available Tools

StellarPilot provides 73+ tools organized into these categories:

  • Contract Operations (15 tools): Deploy, invoke, build, optimize contracts
  • Transaction Management (16 tools): Payments, trustlines, DEX operations
  • Key Management (8 tools): Generate, add, fund, manage identities
  • Network Configuration (7 tools): Add networks, check health, switch networks
  • Ledger Operations (2 tools): Get ledger info, fetch latest ledger
  • Events (1 tool): Watch contract events
  • XDR Operations (7 tools): Encode, decode, sign, verify XDR
  • Cache Management (4 tools): Clean, list, manage transaction cache
  • Development Tools (13+ tools): Doctor, completion, version, plugins, etc.

šŸ”§ Development

Project Structure

stellarpilot/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts              # Main MCP server
│   ā”œā”€ā”€ modules/
│   │   └── cli/              # Stellar CLI integration
│   │       ā”œā”€ā”€ tools/        # Tool definitions
│   │       ā”œā”€ā”€ handlers/     # Command handlers
│   │       └── types/        # TypeScript types
│   └── types/                # Shared types
ā”œā”€ā”€ build/                    # Compiled output
ā”œā”€ā”€ package.json
└── tsconfig.json

Building from Source

# Install dependencies
npm install

# Development mode (watch for changes)
npm run dev

# Production build
npm run build

# Start the server
npm start

🚨 Troubleshooting

Common Issues

  1. "stellar command not found"

    • Install Stellar CLI: https://developers.stellar.org/docs/tools/developer-tools
    • Verify with stellar --version
  2. "stellar-pilot command not found"

    • For global install: npm install -g stellarpilot
    • For local build: Use absolute path in MCP config
  3. "Permission denied"

    • Check file permissions: chmod +x build/index.js
    • For global install: May need sudo npm install -g stellarpilot
  4. "Tools not loading in Claude"

    • Restart your IDE or IDE plugin after config changes
    • Be sure you are using the correct config syntax
    • Verify file paths are absolute

🌟 Roadmap

  • [X] Phase 1: CLI Integration (Complete)
  • [ ] Phase 2: Enhanced Error Handling & Validation
  • [ ] Phase 3: Horizon API Integration
  • [ ] Phase 4: Direct SDK Integration
  • [ ] Phase 5: Documentation RAG System

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured