Aptos MCP Server
Interact with Aptos documentation and create full-stack Aptos blockchain applications.
Aptos MCP Server
A Model Context Protocol (MCP) server for interacting with Aptos documentation and creating full-stack Aptos blockchain applications.
Features
- ๐ Browse and search Aptos documentation
- ๐ง Create new Aptos projects (fullstack, contract, or client)
- ๐งฉ Generate components for Aptos projects
- ๐งช Test Aptos Move contracts
- ๐ Generate TypeScript ABI interfaces for Move contracts
Installation
Prerequisites
- Python 3.10 or later
- Node.js and npm
- Aptos CLI (for some tooling features)
Setup
- Install the mcp package:
uv add "mcp[cli]"
# or
pip install "mcp[cli]"
- Clone this repository:
git clone https://github.com/yourusername/aptos-mcp-server.git
cd aptos-mcp-server
- Install dependencies:
uv add httpx
# or
pip install httpx
- (Optional) Set GitHub token for increased API rate limits:
export GITHUB_TOKEN=your_github_token
Using with Claude Desktop
-
Install Claude Desktop from claude.ai/download
-
Add the Aptos MCP Server to your Claude Desktop configuration:
mcp install aptos_mcp_server.py
Or manually edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"aptos-dev": {
"command": "uv",
"args": [
"--directory",
"/path/to/aptos-mcp-server",
"run",
"aptos_mcp_server.py"
]
}
}
}
- Restart Claude Desktop
Development
Run the server in development mode with the MCP Inspector:
mcp dev aptos_mcp_server.py
Usage
Once connected to Claude Desktop, you can:
Browse Aptos Documentation
Ask Claude to browse through the Aptos documentation repository:
- "Show me the Aptos documentation structure"
- "Find information about Move modules in the Aptos docs"
- "Get me the Table implementation documentation"
Create New Projects
Ask Claude to set up new Aptos projects:
- "Create a new Aptos full-stack project called 'my-first-dapp'"
- "Generate a Move smart contract for a marketplace"
- "Set up a client-only Aptos project"
Generate Components
Ask Claude to generate components for your Aptos projects:
- "Generate a React component for connecting to Aptos wallet"
- "Create a Move table for storing user profiles"
- "Make a client function for querying contract data"
Test and Generate ABIs
Ask Claude to test contracts and generate interfaces:
- "Test my Aptos contract at ~/projects/my-dapp/move"
- "Generate TypeScript bindings for my Move contract"
Example Queries
- "Browse through the Aptos documentation"
- "Search the Aptos docs for 'table'"
- "Create a new Aptos fullstack project called 'nft-marketplace'"
- "Generate a Move module for a token contract"
- "Create a React component for wallet connection"
- "Generate TypeScript ABI for my contract"
- "Test my contract's withdraw function"
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Server for iOS Simulator
An MCP server that enables LLMs to interact with iOS simulators through natural language commands.
Sentinel Signal MCP
Agent tools via MCP for workflow scoring, limits/usage, and feedback (trial key supported)
Smithery Reference Servers
A collection of reference implementations for Model Context Protocol (MCP) servers in Typescript and Python, demonstrating MCP features and SDK usage.
Untun
Create secure tunnels to expose local servers to the internet using untun.
Grey Hack MCP Server
A Grey Hack server for Cursor IDE, providing GitHub code search, Greybel-JS transpilation, API validation, and script generation.
NeoCoder
Enables AI assistants to use a Neo4j knowledge graph for standardized coding workflows, acting as a dynamic instruction manual and project memory.
TrueNAS Middleware MCP Server
Accesses optimized documentation from the TrueNAS middleware repository to understand its codebase and APIs.
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers that operates without authentication.
Apidog tests MCP
Adds possibility to work with testing management via MCP
๊ณต๊ณต API ์ฐ๋ MCP ์ํ
Integrates the Korea Meteorological Administration's public weather API to provide climate data.