Feedback

Solana Model Context Protocol (MCP) Demo

@solana-foundation Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
solana-foundation
Submitted by
Community
Quality
35
Stars
43

About Solana Model Context Protocol (MCP) Demo Server

Solana Model Context Protocol (MCP) Demo

Solana Model Context Protocol (MCP) Demo is a MCP server in the Other category listed in the AddMCP.net directory, published by solana-foundation. Supported transport: stdio. Runtime: node. License: MIT. The repository has 43 GitHub stars. Source code is hosted on github.com. Related topics: mcp, mcp-server, solana.

Setup

{
    "mcpServers": {
        "solana-dev-mcp": {
            "command": "npx",
            "args": [
                "@modelcontextprotocol/inspector",
                "ts-node",
                "index.ts"
            ]
        }
    }
}

Solana Model Context Protocol (MCP) Demo config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "solana-dev-mcp": {
            "command": "npx",
            "args": [
                "@modelcontextprotocol/inspector",
                "ts-node",
                "index.ts"
            ]
        }
    }
}

Solana Model Context Protocol (MCP) Demo tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Solana Model Context Protocol (MCP) Demo?

It is a simple demonstration of a Model Context Protocol (MCP) server for Solana development. It provides basic RPC methods (getBalance, getAccountInfo, getTransaction) and helpful prompts, serving as a foundation for developers to explore or extend MCP integration with Solana.

How to use Solana Model Context Protocol (MCP) Demo?

Clone the repository, install dependencies with pnpm, then generate a configuration file using pnpm generate-config or pnpm build && pnpm generate-config:js. Use the printed JSON to configure MCP clients like Claude, Windsurf, or Cursor. For inspection, run npx @modelcontextprotocol/inspector ts-node index.ts.

Key features of Solana Model Context Protocol (MCP) Demo

  • Provides basic Solana RPC methods (getBalance, getAccountInfo, getTransaction)
  • Includes helpful prompts for Solana development
  • Designed as a demo foundation for extensions
  • Works with Claude, Windsurf, and Cursor via MCP
  • Written in TypeScript for Node.js environments

Use cases of Solana Model Context Protocol (MCP) Demo

  • Inspecting Solana account balances and information via AI
  • Fetching and interpreting Solana transaction details
  • Exploring Solana development through AI‑powered prompts
  • Building custom tools such as a priority fee estimator or anchor error explainer
  • Automating program deployment and upgrade workflows

Frequently asked questions

1 What does this MCP server provide?

It offers basic Solana RPC methods (getBalance, getAccountInfo, getTransaction) and a set of helpful prompts for Solana development tasks.

2 Is this server production‑ready?

No. The README states it is a simple example and should not be used in production, and notes that MCP lacks proper security measures.

3 What are the prerequisites?

Node.js v16 or higher and pnpm package manager (v9.10.0 or compatible) are required.

4 How do I configure this server with Claude or other MCP clients?

Generate a config file by running pnpm generate-config or pnpm build && pnpm generate-config:js, then add the resulting JSON to your MCP client’s configuration.

5 How can I extend this server?

You can add new tools, resources, and prompts. The README provides ideas such as a priority fee estimator, anchor error explainer, transaction builder, and custom RPC endpoints.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬