create_aptos_project
Create a new Aptos project using the Aptos CLI.
Browse the Aptos docs and scaffold Move contracts, React clients and TypeScript ABIs for Aptos projects from a chat client.
LABSCO SUMMARY
Two jobs sit in one server: reading Aptos documentation, and writing the boilerplate a new Aptos project needs. The second is the reason to install it — a Move module, a wallet-connection component and the TypeScript bindings for a contract are exactly the files that are tedious to type and easy to get slightly wrong. Everything runs against a local checkout and the public docs repository, so there is no account and no key; the optional GitHub token only buys a higher read rate.
A Python MCP server for Aptos development. It reads the Aptos documentation repository, creates new fullstack, contract-only or client-only projects, generates components for them, runs Move contract tests, and produces TypeScript ABI interfaces from Move contracts.
Python 3.10 or later, plus Node.js and npm; the Aptos CLI is needed for some of the tooling. Install the mcp package (uv add "mcp[cli]" or pip), clone the repository, add httpx, then either run mcp install aptos_mcp_server.py or point the client at uv --directory <YOUR_PATH_TO_APTOS_MCP_SERVER> run aptos_mcp_server.py. GITHUB_TOKEN is optional and only raises the GitHub API rate limit while reading the docs repository. The project is aptos-mcp 0.1.0; mcp dev aptos_mcp_server.py runs it under the MCP Inspector.
Build from source — git clone https://github.com/Tlazypanda/aptos-mcp-server.git
USE CASES
Have a fullstack, contract-only or client-only project scaffolded, then generated components added to it.
Search the documentation repository for the topic and read it without leaving the editor.
Generate the TypeScript ABI interface from the contract so the client code is checked against the real signatures.
Point it at the contract directory and have the test run reported back in the conversation.
Listed in project code.
create_aptos_projectCreate a new Aptos project using the Aptos CLI.
generate_aptos_componentGenerate a new component for an Aptos project.
test_aptos_contractTest an Aptos Move contract using the Aptos CLI.
create_aptos_indexerCreates a new Aptos indexer project based on the example processor.
create_gas_stationCreates a new Aptos gas station (fee sponsorship) project.
aptos_abi_generateGenerate ABI for an Aptos contract.
BEFORE YOU INSTALL
6 tools registered in the project's code.
The documented client runs the server on your machine.
INSTALLATION
You clone this one yourself.
git clone https://github.com/Tlazypanda/aptos-mcp-server.git
cd aptos-mcp-server
uv add "mcp[cli]"
uv add httpx{
"mcpServers": {
"aptos-dev": {
"command": "uv",
"args": [
"--directory",
"<YOUR_PATH_TO_APTOS_MCP_SERVER>",
"run",
"aptos_mcp_server.py"
]
}
}
}