MCP ExplorerExplorer

Solana Wallet Analyzer Mcp

@dgharsallahon 10 months ago
1 MIT
FreeCommunity
AI Systems
Solana wallet analyzer mcp

Overview

What is Solana Wallet Analyzer Mcp

solana-wallet-analyzer-mcp is a server designed for analyzing Solana wallets, providing tools for fetching data and enhancing the development experience within the Model Context Protocol (MCP).

Use cases

Use cases include analyzing wallet transactions, monitoring wallet activities, developing tools for Solana ecosystem, and enhancing user experience in decentralized applications.

How to use

To use solana-wallet-analyzer-mcp, clone the repository, install dependencies using pnpm, and run the server with the command ‘npx @modelcontextprotocol/inspector ts-node index.ts’. Additionally, generate a configuration file for connecting to the server.

Key features

Key features include the ability to extend the server with additional tools and resources, a simple fetching mechanism, and integration capabilities with other platforms like Claude, Windsurf, and Cursor.

Where to use

solana-wallet-analyzer-mcp can be used in blockchain development, specifically for developers working with Solana wallets and applications that require wallet data analysis.

Content

Solana Wallet Analyzer MCP

Prerequisites

  • Node.js (v16 or higher recommended)
  • pnpm package manager (v10.2.0 or compatible)

Installation

Clone this repository and install dependencies:

git clone [email protected]:dgharsallah/solana-wallet-analyzer-mcp.git
cd solana-wallet-analyzer-mcp
pnpm install

To run this server in the MCP inspector, use:

npx @modelcontextprotocol/inspector ts-node index.ts

Getting Started

  1. Explore the code: The main implementation is in index.ts, which sets up an MCP server with simple fetching tools and some prompts.

  2. Modify the server: You can extend the server by adding more tools, resources, and prompts.

  3. Get ideas for extensions: Check out the Ideas Extending MCP for Solana Development section to get inspiration for new tools and resources to add.

Example Usage

This section explains how to use the Solana MCP server in Claude.
Follow the same steps to use the Solana MCP server in Windsurf and Cursor.

Generate the configuration file

To use this Solana MCP server, you need to generate a configuration file that Claude can use to connect to the server. Run one of the following commands to generate the configuration file:

  • pnpm generate-config if you have ts-node installed globally
  • pnpm build && pnpm generate-config:js if you don’t have ts-node installed globally

This will print a JSON config with the following content:

If you have ts-node:

{
  "mcpServers": {
    "solana-wallet-analyzer-mcp": {
      "command": "ts-node",
      "args": [
        "<full-path-to-repo>/index.ts"
      ]
    }
  }
}

If you don’t have ts-node installed globally:

{
  "mcpServers": {
    "solana-wallet-analyzer-mcp": {
      "command": "node",
      "args": [
        "<full-path-to-repo>/dist/index.js"
      ]
    }
  }
}

Project Structure

  • index.ts - Main server implementation
  • package.json - Project dependencies and metadata
  • tsconfig.json - TypeScript configuration

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers