Skip to main content
Glama

Aptos Blockchain MCP

by cuongpo
MIT License

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APTOS_MCP_NETWORKNoNetwork to connect to (testnet or mainnet)testnet
APTOS_MCP_NODE_URLNoCustom node URL (optional, uses default network nodes)
APTOS_MCP_FAUCET_URLNoCustom faucet URL for testnet (optional, uses default faucet)
APTOS_MCP_PRIVATE_KEYYesYour Aptos account private key (hex format starting with 0x)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_account

Create a new Aptos account with a random private key. This generates a new account that can be used for transactions on the Aptos blockchain. Returns the account address, private key, and public key.

get_account_info

Get detailed information about an Aptos account including sequence number and authentication key. This is used for checking account status and transaction readiness. Returns comprehensive account information.

fund_account

Fund an Aptos account using the testnet faucet. This is only available on testnet and is used to add APT tokens to an account for testing purposes. Returns the funding transaction details.

get_apt_balance

Get the native APT token balance of an Aptos account. This is used for checking the current balance of APT tokens in an account. Returns the account balance in both Octas and APT.

transfer_apt

Transfer native APT tokens to another Aptos account. This is used for sending APT tokens from your account to another address. Returns the transaction hash upon successful transfer.

get_coin_balance

Get the balance of a specific coin type for an Aptos account. This is used for checking the balance of custom coins or tokens. Returns the coin balance and metadata.

transfer_coin

Transfer a specific coin type to another Aptos account. This is used for sending custom coins or tokens from your account to another address. Returns the transaction hash upon successful transfer.

deploy_coin

Deploy a new custom coin/token on Aptos blockchain. This creates a new coin type that can be minted, transferred, and managed. Returns the coin type identifier and deployment transaction details.

mint_coin

Mint new tokens of a previously deployed custom coin. Only the coin deployer can mint new tokens. This increases the total supply of the coin and sends the minted tokens to a specified recipient.

register_coin

Register your account to receive a specific coin type. This is required before you can receive transfers of custom coins on Aptos. Returns the registration transaction details.

get_transaction_status

Get the status and details of a transaction by its hash. This is used for checking if a transaction was successful and getting detailed information about it. Returns comprehensive transaction information.

get_account_transactions

Get recent transactions for an Aptos account. This is used for viewing transaction history and activity for an account. Returns a list of recent transactions with details.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cuongpo/aptos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server