Algorand MCP server

Provides a robust toolkit for Algorand blockchain interactions, enabling AI agents to create accounts, manage assets, deploy smart contracts, and execute transactions through a TypeScript-based implementation.
Back to servers
Setup instructions
Provider
GoPlausible
Release date
Mar 17, 2025
Language
TypeScript
Package
Stats
1.2K downloads
39 stars

The Algorand MCP Server is an implementation of the Model Context Protocol for Algorand blockchain interactions, allowing AI agents to interact with the Algorand blockchain by providing standardized tools, resources, and documentation access.

Installation

To install the Algorand MCP server, make sure you have Node.js v23.6.1 or later:

node -v

Create a directory for the MCP server in your Claude or Cursor folder:

mkdir PATH_ON_YOUR_MACHINE/Claude/mcp-servers
# or for Cursor 
mkdir PATH_ON_YOUR_MACHINE/Cursor/mcp-servers

Clone the repository and install dependencies:

cd PATH_ON_YOUR_MACHINE/Claude/mcp-servers
# or for Cursor 
cd PATH_ON_YOUR_MACHINE/Cursor/mcp-servers

# Clone the repository
git clone https://github.com/GoPlausible/algorand-mcp.git
cd algorand-mcp

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Configure your MCP server by adding it to your MCP configuration file:

{
  "mcpServers": {
    "algorand-mcp": {
      "command": "node",
      "args": [
        "PATH_ON_YOUR_MACHINE/Claude/mcp-servers/algorand-mcp/packages/server/dist/index.js"
      ],
      "env": {
        "ALGORAND_NETWORK": "testnet",
        "ALGORAND_ALGOD_API": "https://testnet-api.algonode.cloud/v2",
        "ALGORAND_ALGOD": "https://testnet-api.algonode.cloud",
        "ALGORAND_INDEXER_API": "https://testnet-idx.algonode.cloud/v2",
        "ALGORAND_INDEXER": "https://testnet-idx.algonode.cloud",
        "ALGORAND_ALGOD_PORT": "",
        "ALGORAND_INDEXER_PORT": "",
        "ALGORAND_TOKEN": "",
        "ALGORAND_AGENT_WALLET": "problem aim online jaguar upper oil flight stumble mystery aerobic toy avoid file tomato moment exclude witness guard lab opera crunch noodle dune abandon broccoli",
        "NFD_API_URL": "https://api.nf.domains",
        "NFD_API_KEY": "",
        "TINYMAN_ACTIVE": "false",
        "ULTRADE_ACTIVE": "false",
        "VESTIGE_ACTIVE": "false",
        "ULTRADE_API_URL": "https://api.ultrade.io",
        "VESTIGE_API_URL": "https://api.vestigelabs.org",
        "VESTIGE_API_KEY": "",
        "ITEMS_PER_PAGE": "10"
      }
    }
  }
}

Replace the path with your actual system path. For macOS and Claude, it might look like:

{
  "mcpServers": {
    "algorand-mcp": {
      "command": "node",
      "args": [
        "/Users/YOUR_USERNAME/Library/Application Support/Claude/mcp-servers/algorand-mcp/packages/server/dist/index.js"
      ]
    }
  }
}

Available Features

Core Features

  • Algorand Documentation Integration: Complete knowledge taxonomy with developer docs, ARCs, SDKs, and tools documentation
  • Blockchain Interaction: Full Algorand blockchain interaction capabilities
  • Transaction Handling: Comprehensive transaction creation, signing, and submission
  • State Querying: Rich blockchain state querying capabilities
  • Security Features: Built-in security measures for safe blockchain operations

Tool Categories

The server provides 125 tools across several categories:

Account Management Tools

  • Create and manage Algorand accounts
  • Rekey accounts and validate addresses
  • Encode/decode addresses and handle keys

Application Tools

  • Create, update, and delete applications
  • Opt-in and call applications
  • Compile and disassemble TEAL code

Asset Tools

  • Create, configure, and manage assets
  • Transfer, freeze, and destroy assets

Transaction Tools

  • Create and submit transactions
  • Simulate transactions before submission
  • Sign transactions and assign group IDs

API Integration Tools

  • Algod API: Query account info, application data, asset details
  • Indexer API: Search for accounts, applications, assets, and transactions
  • NFDomains: Interact with Algorand name service
  • DeFi Tools: Optional integrations for Vestige, Tinyman, and Ultrade

Response Format

All responses follow a standardized format:

{
  "data": {
    // Response data here
  },
  "metadata": {  // Only for paginated responses
    "totalItems": number,
    "itemsPerPage": number,
    "currentPage": number,
    "totalPages": number,
    "hasNextPage": boolean,
    "pageToken": string,
    "arrayField": string  // Name of paginated array field
  }
}

Errors are returned as:

{
  "error": {
    "code": string,
    "message": string
  }
}

Using the Server

Accessing Documentation

Access the full Algorand documentation taxonomy through the knowledge resource:

algorand://knowledge/taxonomy

Category-specific documentation is available via:

algorand://knowledge/taxonomy/arcs
algorand://knowledge/taxonomy/sdks
algorand://knowledge/taxonomy/algokit
// and many more categories

Creating and Managing Accounts

// Create a new account
{
  "tool": "create_account"
}

// Validate an address
{
  "tool": "validate_address",
  "address": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}

Creating Transactions

// Create a payment transaction
{
  "tool": "make_payment_txn",
  "from": "SENDER_ADDRESS",
  "to": "RECIPIENT_ADDRESS",
  "amount": 1000000,
  "note": "Optional transaction note"
}

// Create an asset transfer
{
  "tool": "make_asset_transfer_txn",
  "from": "SENDER_ADDRESS",
  "to": "RECIPIENT_ADDRESS",
  "assetIndex": 12345,
  "amount": 10
}

Interacting with Applications

// Call an application
{
  "tool": "make_app_call_txn",
  "from": "CALLER_ADDRESS",
  "appIndex": 12345,
  "appArgs": ["base64:YXJnMQ==", "base64:YXJnMg=="]
}

// Get application details
{
  "tool": "api_algod_get_application_by_id",
  "appId": 12345
}

Querying the Blockchain

// Get account information
{
  "tool": "api_algod_get_account_info",
  "address": "ACCOUNT_ADDRESS"
}

// Search for transactions
{
  "tool": "api_indexer_search_for_transactions",
  "address": "ACCOUNT_ADDRESS",
  "limit": 10
}

Using NFDomains

// Get NFD by name
{
  "tool": "api_nfd_get_nfd",
  "name": "example.algo"
}

// Get NFDs for addresses
{
  "tool": "api_nfd_get_nfds_for_addresses",
  "addresses": ["ADDRESS1", "ADDRESS2"]
}

Optional Integrations

Enable optional integrations by setting environment variables:

TINYMAN_ACTIVE="true"
ULTRADE_ACTIVE="true"
VESTIGE_ACTIVE="true"

These provide advanced DeFi capabilities for AMM interactions, DEX functionality, and analytics.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "algorand-mcp" '{"command":"node","args":["PATH_ON_YOUR_MACHINE/Claude/mcp-servers/algorand-mcp/packages/server/dist/index.js"],"env":{"ALGORAND_NETWORK":"testnet","ALGORAND_ALGOD_API":"https://testnet-api.algonode.cloud/v2","ALGORAND_ALGOD":"https://testnet-api.algonode.cloud","ALGORAND_INDEXER_API":"https://testnet-idx.algonode.cloud/v2","ALGORAND_INDEXER":"https://testnet-idx.algonode.cloud","ALGORAND_ALGOD_PORT":"","ALGORAND_INDEXER_PORT":"","ALGORAND_TOKEN":"","ALGORAND_AGENT_WALLET":"problem aim online jaguar upper oil flight stumble mystery aerobic toy avoid file tomato moment exclude witness guard lab opera crunch noodle dune abandon broccoli","NFD_API_URL":"https://api.nf.domains","NFD_API_KEY":"","TINYMAN_ACTIVE":"false","ULTRADE_ACTIVE":"false","ULTRADE_API_URL":"https://api.ultrade.io","VESTIGE_ACTIVE":"false","VESTIGE_API_URL":"https://api.vestigelabs.org","VESTIGE_API_KEY":"","ITEMS_PER_PAGE":"10"}}'

See the official Claude Code MCP documentation for more details.

For 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 > Tools & Integrations and click "New MCP Server".

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

{
    "mcpServers": {
        "algorand-mcp": {
            "command": "node",
            "args": [
                "PATH_ON_YOUR_MACHINE/Claude/mcp-servers/algorand-mcp/packages/server/dist/index.js"
            ],
            "env": {
                "ALGORAND_NETWORK": "testnet",
                "ALGORAND_ALGOD_API": "https://testnet-api.algonode.cloud/v2",
                "ALGORAND_ALGOD": "https://testnet-api.algonode.cloud",
                "ALGORAND_INDEXER_API": "https://testnet-idx.algonode.cloud/v2",
                "ALGORAND_INDEXER": "https://testnet-idx.algonode.cloud",
                "ALGORAND_ALGOD_PORT": "",
                "ALGORAND_INDEXER_PORT": "",
                "ALGORAND_TOKEN": "",
                "ALGORAND_AGENT_WALLET": "problem aim online jaguar upper oil flight stumble mystery aerobic toy avoid file tomato moment exclude witness guard lab opera crunch noodle dune abandon broccoli",
                "NFD_API_URL": "https://api.nf.domains",
                "NFD_API_KEY": "",
                "TINYMAN_ACTIVE": "false",
                "ULTRADE_ACTIVE": "false",
                "ULTRADE_API_URL": "https://api.ultrade.io",
                "VESTIGE_ACTIVE": "false",
                "VESTIGE_API_URL": "https://api.vestigelabs.org",
                "VESTIGE_API_KEY": "",
                "ITEMS_PER_PAGE": "10"
            }
        }
    }
}

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 explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "algorand-mcp": {
            "command": "node",
            "args": [
                "PATH_ON_YOUR_MACHINE/Claude/mcp-servers/algorand-mcp/packages/server/dist/index.js"
            ],
            "env": {
                "ALGORAND_NETWORK": "testnet",
                "ALGORAND_ALGOD_API": "https://testnet-api.algonode.cloud/v2",
                "ALGORAND_ALGOD": "https://testnet-api.algonode.cloud",
                "ALGORAND_INDEXER_API": "https://testnet-idx.algonode.cloud/v2",
                "ALGORAND_INDEXER": "https://testnet-idx.algonode.cloud",
                "ALGORAND_ALGOD_PORT": "",
                "ALGORAND_INDEXER_PORT": "",
                "ALGORAND_TOKEN": "",
                "ALGORAND_AGENT_WALLET": "problem aim online jaguar upper oil flight stumble mystery aerobic toy avoid file tomato moment exclude witness guard lab opera crunch noodle dune abandon broccoli",
                "NFD_API_URL": "https://api.nf.domains",
                "NFD_API_KEY": "",
                "TINYMAN_ACTIVE": "false",
                "ULTRADE_ACTIVE": "false",
                "ULTRADE_API_URL": "https://api.ultrade.io",
                "VESTIGE_ACTIVE": "false",
                "VESTIGE_API_URL": "https://api.vestigelabs.org",
                "VESTIGE_API_KEY": "",
                "ITEMS_PER_PAGE": "10"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

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