Solana Docs MCP server

Fetches and parses Solana blockchain documentation, enabling real-time access to development information for accurate query responses and blockchain-related assistance.
Back to servers
Provider
Aldrin Labs
Release date
Jan 04, 2025
Language
TypeScript
Stats
4 stars

The solana-docs-server MCP Server implements a simple notes system that demonstrates Model Context Protocol (MCP) concepts, providing resources for text notes, tools to create notes, and prompts for generating summaries of stored notes.

Installation Options

Using Smithery

You can install the solana-docs-server MCP Server automatically via Smithery:

npx -y @smithery/cli install @aldrin-labs/solana-docs-mcp-server --client claude

Manual Installation

If you prefer to install manually:

# Clone the repository
git clone https://github.com/aldrin-labs/solana-docs-mcp-server.git

# Navigate to the directory
cd solana-docs-mcp-server

# Install dependencies
npm install

# Build the server
npm run build

Configuration

To use the server with Claude Desktop, you need to add server configuration to Claude's config file:

On MacOS

Edit the file at: ~/Library/Application Support/Claude/claude_desktop_config.json

On Windows

Edit the file at: %APPDATA%/Claude/claude_desktop_config.json

Add the following configuration:

{
  "mcpServers": {
    "solana-docs-server": {
      "command": "/path/to/solana-docs-server/build/index.js"
    }
  }
}

Replace /path/to/solana-docs-server with the actual path where you installed the server.

Using the MCP Server

Working with Notes

The server provides a notes system with the following capabilities:

  • Access notes through note:// URIs
  • Each note contains a title, content, and metadata
  • Content is stored as plain text

Creating Notes

You can create new notes using the create_note tool provided by the server:

  1. The tool requires title and content parameters
  2. Notes are stored in the server's state
  3. Created notes become accessible via their URIs

Generating Summaries

The server includes a summarize_notes prompt that:

  • Collects all stored notes
  • Includes them as embedded resources
  • Provides a structured prompt for LLM summarization

Debugging

If you encounter issues, you can use the MCP Inspector for debugging:

npm run inspector

This will provide a URL to access debugging tools in your browser, which can help diagnose communication issues between the MCP server and Claude.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later