Skip to content

Broken JSON Command in Claude Code Integration Guide #38

@tippi-fifestarr

Description

@tippi-fifestarr

Problem Description:

User testing confirmed that the JSON command in the Claude Code integration guide is broken. The command syntax was incorrect, causing "Invalid input" errors when users try the alternative JSON installation method.

Reproduction Steps:

  1. Follow the Claude Code integration guide
  2. Try the JSON command: claude mcp add-json local '{"aptos-mcp": {...}}'
  3. Receive "Invalid input" error

Screenshots: N/A

Proposed Solution:

Alternative: Using JSON configuration

If you encounter issues with the CLI approach, you can use the JSON method to install it locally to the folder you are in:

claude mcp add-json aptos-mcp '{"command": "npx", "args": ["-y", "@aptos-labs/aptos-mcp"], "type": "stdio", "env": {"APTOS_BOT_KEY": "<your_bot_api_key>"}}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions