Usage
Running the server and debugging with the MCP Inspector.
Running the server
Development mode (hot reload via tsx):
npm run start:devProduction mode (clean, build, then run the compiled output):
npm run start:prodWhen it starts, the server prints Stellar MCP server running to stderr and
then waits for MCP requests over stdio.
Debugging with the MCP Inspector
The MCP Inspector lets you call tools interactively and watch the request/response traffic:
npx @modelcontextprotocol/inspector node /path/to/stellar-mcp/dist/index.jsThen open http://localhost:5173 to explore the available tools and invoke them.
A typical flow
- Call
stellar_create_accountto generate a keypair. - Call
stellar_fund_account(Testnet only) to fund it via Friendbot. - Call
stellar_balanceto confirm the balance. - Use
stellar_payment,stellar_create_asset, or the Soroban tools from there.
See Available Tools for the full reference.