Trae IDE v1.3.0 Supports MCP Protocol & .rules Configuration

An in-depth interpretation of the AI Agent configuration capabilities in the latest version of Trae, comprehensively evaluating the role of its Model Context Protocol (MCP) and .rules behavior constraint system in advancing intelligent IDEs.

Trae IDE v1.3.0 introduces two key innovations: Model Context Protocol (MCP) support and the .rules configuration file mechanism. These upgrades aim to enhance Trae’s intelligence, extensibility, and personalization capabilities within the AI developer tool landscape.

  • MCP: Used to connect external data sources and tools (such as databases, APIs, GitHub);
  • .rules: Defines Agent behavior through rules, building long-term contextual memory;
  • Challenges: MCP configuration has a relatively high barrier to entry, and .rules lacks official syntax documentation.

II. Detailed Explanation of Trae IDE MCP & .rules Core Features

2.1 Model Context Protocol (MCP) Explained

  • Definition: An open protocol proposed by Anthropic, based on JSON-RPC 2.0, constructing a Client-Host-Server architecture;
  • Function: Enables standardized data communication between AI Agents and external services;
  • Transport Methods: Supports stdio and SSE (Server Sent Events);

Example Configuration (Stdio):

{
  "mcpServers": [
    {
      "name": "supabase_local",
      "command": ["supabase", "mcp"],
      "env": {
        "SUPABASE_ACCESS_TOKEN": "YOUR_TOKEN"
      }
    }
  ]
}

Example Configuration (SSE):

{
  "mcpServers": [
    {
      "name": "github_agent",
      "url": "https://agent.example.com/mcp",
      "type": "sse"
    }
  ]
}

2.2 .rules File Mechanism

  • Purpose: Persists contextual information, defines Agent behavior and collaboration standards;
  • Format: Markdown text (project_rules.md / user_rules.md), clearly structured, suitable for human reading and AI understanding;
  • Example Content:
## Naming Conventions
Variables use camelCase, components use PascalCase.

## React Project Conventions
- Use Hooks;
- Use Zustand for state management;
- Avoid direct DOM manipulation.

## Commenting Requirements
Functions must include descriptions of parameters and return values.
  • Mechanism: The Agent loads .rules during the initialization phase and references these rules during code completion and generation;

III. Configuration Mechanism Analysis

3.1 MCP Configuration Paths

  • Global configuration: ~/.cursor/mcp.json;
  • Project-level configuration: .trae/mcp.json;

3.2 .rules File Location and Scope

  • Project-level: .trae/project_rules.md;
  • User-level: .trae/user_rules.md;

IV. Trae IDE vs. Cursor: Strengths, Weaknesses, and Challenge Analysis

4.1 Trae IDE Strengths & Highlights

  • Standardized Ecosystem Interface: MCP promotes cross-platform LLM tool collaboration;
  • AI Semantic Injection Mechanism: .rules files solve the long-term context problem;
  • Developer-Friendly Experience: Markdown configuration is easy to read and write;

4.2 Trae IDE Current Limitations

  • ❌ Lacks GUI configuration support;
  • .rules lacks official syntax reference and example library;
  • ❌ Configuration difficulty is unfriendly to non-technical users;

V. Trae IDE vs. Cursor: Competitor Comparison and Market Positioning

ProductContext Protocol (MCP)Behavior Config (Rules File)Multi-model SupportVS Code Plugin Compatibility
Trae IDE✅ Supports JSON-RPC✅ Markdown .rules✅ Yes✅ Yes
Cursor✅ Supports MDC.cursor/rules✅ YesPartial
Continue❌ Not yet supported❌ Not supported✅ Yes✅ Yes

Trae IDE v1.3.0 officially enters a new phase as a “Platform-type AI IDE”. MCP and .rules are the core mechanisms supporting its long-term context and tool extension capabilities, reflecting its deep thinking on the development of the LLM tool ecosystem. Furthermore, the Trae team has stated that v1.4.0 will optimize the MCP UI and rule generation efficiency, and may potentially support image context transmission, further enhancing multimodal development capabilities.

v1.4.0 Improvement Suggestions:

  • 🛠 Provide a graphical configuration interface (MCP / .rules);
  • 📖 Publish official .rules syntax specifications and rule set examples;
  • 🔐 Enhance Agent data flow transparency and privacy management policies;

If Trae continues to refine these two core capabilities, it has the potential to build barriers in the AI IDE competition, forming a highly intelligent and open, extensible development platform.