Cover image
Try Now
2025-03-24

A Model Context Protocol (MCP) server for interacting with Aptos documentation and creating full-stack Aptos blockchain applications.

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

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

  1. Install the mcp package:
uv add "mcp[cli]"
# or 
pip install "mcp[cli]"
  1. Clone this repository:
git clone https://github.com/yourusername/aptos-mcp-server.git
cd aptos-mcp-server
  1. Install dependencies:
uv add httpx
# or
pip install httpx
  1. (Optional) Set GitHub token for increased API rate limits:
export GITHUB_TOKEN=your_github_token

Using with Claude Desktop

  1. Install Claude Desktop from claude.ai/download

  2. 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"
      ]
    }
  }
}
  1. 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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

  • KasarLabs
  • Build powerful and secure AI Agents powered by Starknet.

    Reviews

    3 (1)
    Avatar
    user_spDCe0ej
    2025-04-15

    As a dedicated user of the Model Context Protocol (MCP) Server by praneethk-ai, I am thoroughly impressed with its performance and versatility. It seamlessly integrates into various workflows, enhancing productivity and efficiency. The intuitive design and robust functionality make it an essential tool for any professional. Highly recommended!