Solana RugCheck & Transaction Helper

by cryptoleek-team

Not rated
GitHub

About

Integrates with Solana blockchain to enable token security analysis and transaction execution through RugCheck for scam detection and TransactionHelper for retrieving transaction history.

Details

Author
cryptoleek-team
Repository
cryptoleek-team/goat-mcp
Categories
Developer Tools, AI, Infrastructure, API, Security
Tags
#integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Solana RugCheck & Transaction Helper
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 goat-evm
    Environment
    • RPC_PROVIDER_URL RPC_PROVIDER_URL
    • WALLET_PRIVATE_KEY WALLET_PRIVATE_KEY

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Run Claude for Desktop

2. Chat with the agent:
- Check your balance for ERC-20 tokens
- Send ERC-20 tokens to another address
- Check your balance again to see the tokens you just sent

For more information on how to use the model context protocol, check out the docs.

<footer>
<br/>
<br/>
<div>
GOAT

<div>
</footer>

This example shows you how to create a MCP Server to connect GOAT with Claude for Desktop.

It is implemented for both EVM (Base Sepolia) and Solana chains but can be updated to support any other chain, wallet and series of tools.

1. Copy the mcp-evm.example.json file to mcp-evm.json:
```bash

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "solana rugcheck & transaction helper": {
            "env": {
                "RPC_PROVIDER_URL": "RPC_PROVIDER_URL",
                "WALLET_PRIVATE_KEY": "WALLET_PRIVATE_KEY"
            },
            "args": [
                "goat-evm"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": {
        "RPC_PROVIDER_URL": "RPC_PROVIDER_URL",
        "WALLET_PRIVATE_KEY": "WALLET_PRIVATE_KEY"
    },
    "args": [
        "goat-evm"
    ],
    "command": "npx"
}

Macos

{
    "env": {
        "RPC_PROVIDER_URL": "RPC_PROVIDER_URL",
        "WALLET_PRIVATE_KEY": "WALLET_PRIVATE_KEY"
    },
    "args": [
        "goat-evm"
    ],
    "command": "npx"
}

Windows

{
    "env": {
        "RPC_PROVIDER_URL": "RPC_PROVIDER_URL",
        "WALLET_PRIVATE_KEY": "WALLET_PRIVATE_KEY"
    },
    "args": [
        "/c",
        "npx",
        "goat-evm"
    ],
    "command": "cmd"
}

<div align="center">
GOAT
</div>

Model Context Protocol

🚀 Quickstart

This example shows you how to create a MCP Server to connect GOAT with Claude for Desktop.

It is implemented for both EVM (Base Sepolia) and Solana chains but can be updated to support any other chain, wallet and series of tools.

Requirements

- Have Claude for Desktop installed. You can download it from here

Setup

1. Clone the repository:
git clone https://github.com/goat-sdk/goat.git && cd goat

2. Run the following commands from the typescript directory:

cd typescript
pnpm install
pnpm build

3. Go to the example directory:

cd examples/by-framework/model-context-protocol

Configure the MCP server for Claude

1. Copy the mcp-evm.example.json file to mcp-evm.json:
# For EVM
cp mcp-evm.example.json mcp-evm.json

For Solana

cp mcp-solana.example.json mcp-solana.json

2. Update the json file with your values for either EVM or Solana:
- Absolute path to the parent folder of the model-context-protocol folder, you can get it by running pwd in the model-context-protocol folder
- WALLET_PRIVATE_KEY
- RPC_PROVIDER_URL

3. Copy/update the json file and rename it to claude_desktop_config.json file to the ~/Library/Application Support/Claude/ directory:

# For EVM
cp mcp-evm.json ~/Library/Application\ Support/Claude/claude_desktop_config.json

For Solana

cp mcp-solana.json ~/Library/Application\ Support/Claude/claude_desktop_config.json

This tells Claude for Desktop:
- There’s are MCP servers named “goat-evm” / “goat-solana”
- Launch it by running the specified command

4. Restart Claude for Desktop.

NOTE: When making changes to the code you need to make sure to:
1. Run pnpm build in the model-context-protocol folder to generate the updated evm.js and solana.js files.
2. If you update the json file: copy it again to the ~/Library/Application Support/Claude/ directory, or update the claude_desktop_config.json file with the new values. You will also need to restart Claude.

Usage

1. Run Claude for Desktop

2. Chat with the agent:
- Check your balance for ERC-20 tokens
- Send ERC-20 tokens to another address
- Check your balance again to see the tokens you just sent

For more information on how to use the model context protocol, check out the docs.

<footer>
<br/>
<br/>
<div>
GOAT

<div>
</footer>

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.