Skip to main content
This guide shows how to integrate AiToEarn in Trae. Trae manages extensions through its plugin market, where you can configure the AiToEarn MCP Server or upload a skill package containing a SKILL.md file, then invoke AiToEarn capabilities directly from a conversation.
If you do not have an API Key yet, read Get API Key.

Prerequisites

Before you start, make sure you have:
  1. An AiToEarn account and AiToEarn API Key.
  2. Trae installed and working.

Configure MCP

Open the plugin market in Trae, go to the Manage page, switch to the MCP tab, click Add, and choose manual configuration. Manually configure MCP in the Trae plugin market Paste the AiToEarn MCP Server configuration JSON into the input box (make sure the configuration comes from a trusted source before confirming). The url must match the site of your API Key: https://aitoearn.cn/api/ai/agent/mcp for the China site, https://aitoearn.ai/api/ai/agent/mcp for the international site:
Save and go back to the MCP list to confirm the AiToEarn server is enabled. To confirm available model names, check Chat models.
If you have already uploaded the AiToEarn skill package below, its scripts/aitoearn-mcp-setup.mjs can register and verify the server automatically. Run node scripts/aitoearn-mcp-setup.mjs <API_KEY> cn (China site) or node scripts/aitoearn-mcp-setup.mjs <API_KEY> ai (international site) in a terminal.

Upload a Skill Package

On the Skills tab of the Manage page in the plugin market, click Upload Skill and drag or select a .zip or .skill file that contains a root-level SKILL.md file. Upload a skill package in Trae The SKILL.md file declares the skill name and description in YAML format. After upload, Trae uses the description to understand when to use the skill. You can download the ready-made AiToEarn Trae skill package: Download the AiToEarn Trae skill package

Invoke a Skill

In the chat input box, click + in the bottom-left corner, choose Skills, and search by keyword to find your uploaded skills. Search and invoke a skill in chat Select the skill and send your message. Trae will invoke the skill in the current conversation.

Troubleshooting

  • MCP connection failed: make sure the server URL is correct and the API Key comes from the AiToEarn API Key page and matches the site.
  • Skill not recognized: make sure the archive contains a root-level SKILL.md with valid YAML name and description.
Last modified on October 29, 2026