An MCP Server for Stellar/Soroban. A Model Context Protocol (MCP) server that lets AI coding assistants (Cursor, Claude, Windsurf) natively interact with the Stellar network and Soroban contracts.
概览
A community-built that gives AI coding assistants native, real-time access to the Stellar network and Soroban smart contracts. is a community-built Model Context Protocol server that bridges AI coding assistants — Cursor, Claude Desktop, Windsurf, and any other MCP-compatible client — directly to the Stellar network and Soroban smart contract platform. Instead of pasting raw JSON into prompts or copying balances from a block explorer, you can ask your AI assistant: "What is the XLM balance of GBBD...?" "Simulate submitting this Soroban transaction and tell me what it returns." "Fetch the ABI spec for contract CA3D... and write me a TypeScript client for it." pulsar handles all the low-level RPC calls, XDR encoding/decoding, and Soroban CLI invocations on your behalf, returning clean, structured data that the AI can immediately reason about. The Stellar Developer Foundation is building — a headless AI assistant that can answer Stellar questions and help builders across platforms.
README
以下为原文 README 节选,完整内容请查看原文。
pulsar
A community-built Model Context Protocol (MCP) server that gives AI coding assistants native, real-time access to the Stellar network and Soroban smart contracts.
Table of Contents
- Overview
- Why pulsar Exists
- Features
- Architecture
- Prerequisites
- Installation
- Configuration
- Connecting to AI Assistants
- Tools Reference
- get_account_balance
- get_account_balances
- search_assets
- fetch_contract_spec
- simulate_transaction
- get_contract_storage
- decode_ledger_entry
- submit_transaction
- build_transaction
- soroban_math
- compute_vesting_schedule
- deploy_contract
- sign_with_ledger
- inspect_xdr
- export_ai_schemas
- get_price_feed
- calculate_dutch_auction_price
- calculate_english_auction_state
- safe_math_compute
- track_ledger_consensus_time
- get_network_params
- optimize_contract_bytecode
- get_protocol_version
- amm
- get_token_transfer_fee
- Example Prompts & Workflows
- Soroban CLI Integration
- Development Guide
安装
npx -y pulsar配置
{
"mcpServers": {
"pulsar": {
"command": "npx",
"args": ["-y", "pulsar"],
"env": {
"STELLAR_NETWORK": "testnet",
"LOG_LEVEL": "warn"
}
}
}
}