aptos-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITHUB_TOKENNoGitHub token for increased API rate limits

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
create_new_project_promptPrompt template for creating a new Aptos project
debug_move_contract_promptPrompt template for debugging Move contract errors

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_aptos_project
Create a new Aptos project using the Aptos CLI. Args: project_name: Name of the project project_type: Type of project (fullstack, contract, client)
generate_aptos_component
Generate a new component for an Aptos project. Args: component_type: Type of component (table, module, etc.) component_name: Name of the component project_dir: Project directory path options: Additional options as a string
test_aptos_contract
Test an Aptos Move contract using the Aptos CLI. Args: contract_path: Path to the contract directory or file function_name: Optional function to test specifically args: Optional list of arguments for the function
create_aptos_indexer
Creates a new Aptos indexer project based on the example processor. Args: project_name: Name of the indexer project processor_type: Type of processor (transaction, event)
create_gas_station
Creates a new Aptos gas station (fee sponsorship) project. Args: project_name: Name of the gas station project
aptos_abi_generate
Generate ABI for an Aptos contract. Args: contract_path: Path to the contract directory output_format: Format of the output (ts, json)
ID: wrflhe12gq