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.
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
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"
]
}
}
}
The server provides 125 tools across several categories:
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
}
}
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
// Create a new account
{
"tool": "create_account"
}
// Validate an address
{
"tool": "validate_address",
"address": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
// 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
}
// 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
}
// 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
}
// 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"]
}
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.
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.
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.
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"
}
}
}
}
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.
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.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.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