> Graphify: shared context of codebase for agents and developers. Canonical: https://graphify.com/integrations/trae · Full index: https://graphify.com/llms-full.txt

Integrations

# Graphify for Trae

Trae reads Graphify from Settings, then MCP, or from a project .trae/mcp.json file.

Setup guide · hosted MCP · Graphify CLI

Connect Trae to the [hosted MCP server](https://graphify.com/mcp) at https://api.graphify.com/mcp, where it can use the [code graph](https://graphify.com/concepts), Memory and PR review status. Wiki lives in the Graphify app at [app.graphify.com](https://app.graphify.com); it is not served over MCP. Sign in with OAuth: no API key, and nothing to build on your machine.

In Settings, open MCP and add the server by hand, or enable Project MCP and put this in .trae/mcp.json at the project root.

.trae/mcp.json

```
{
  "mcpServers": {
    "graphify": {
      "url": "https://api.graphify.com/mcp"
    }
  }
}
```

The official Trae docs use url for an HTTP MCP server. Graphify signs in with OAuth and there is no API key to paste. Complete sign in in Trae if it prompts you.

Prefer local? The open-source Graphify CLI (uv tool install graphifyy) wires it in with graphify trae install --project: installs the skill and writes a graphify section to AGENTS.md. On Trae CN, run graphify trae-cn install --project.

## What Graphify adds to Trae

Graphify maps your codebase into a graph of nodes (functions, classes, modules, config, schemas, docs) and typed edges (calls, imports, defines, references). When Trae needs to know how something works, it asks the graph and gets back connected structure (a path it can follow) rather than a pile of text it has to skim. That means [fewer tokens per question](https://graphify.com/glossary/token-reduction), answers that survive more than one or two hops, and a real basis for reasoning about change. See [why a graph beats similarity search](https://graphify.com/vs/rag) for the longer argument.

## Prefer local

Prefer to build the graph on your machine? Wire Trae up with two commands:

1. uv tool install graphifyy: installs the Apache 2.0-licensed Python package on your machine.
2. graphify trae install --project: installs the skill and writes a graphify section to AGENTS.md. On Trae CN, run graphify trae-cn install --project.

Trae uses the Agent tool for parallel subagent dispatch. It does not support PreToolUse hooks, so the graphify section in AGENTS.md is the always-on mechanism. On Trae CN, run graphify install --platform trae-cn (or graphify trae-cn install --project).

For a graph you build locally, you can also install the mcp extra and add graphify-mcp /absolute/path/to/graph.json to a local MCP config. That is separate from the hosted server at https://api.graphify.com/mcp. Details are in the [local MCP docs](https://docs.graphify.com/open-source/mcp-server).

## What you can ask

Once you are connected, or once a local graph is built, you can ask Trae questions it previously couldn't answer without reading half the repo:

- "What calls chargeCustomer, and what would break if I change its signature?"
- "Trace the path from the checkout endpoint to the database table it writes."
- "Which modules read the STRIPE_KEY config value?"
- "Explain how the auth subsystem hangs together before I touch it."

The same questions are answerable from the [CLI](https://docs.graphify.com/reference/query) (graphify query, path, explain, prs) or the Python package, so whatever Trae can reach, you can reach by hand too.

## Why you can trust the answers

Every edge Graphify hands Trae carries a confidence tag, so the assistant (and you) know how a relationship was established:

- EXTRACTED: written in the source and parsed straight from the code's AST with tree-sitter. Deterministic; no model guessed it.
- INFERRED: worked out by Graphify, with or without a model, such as a call matched to a definition no import proves, or a doc linked to the service it describes. Each carries a confidence score, so check it before relying on it.
- AMBIGUOUS: flagged by the model pass as uncertain. When the parser finds a call it cannot pin to one target, it leaves it out rather than guess.

This is the part a vector store can't offer: a similarity score tells you two chunks look alike, not whether a relationship was found or guessed. The [glossary](https://graphify.com/glossary) defines the rest of the vocabulary.

## On-device by default

Prefer to keep it local? Run the open-source engine and code is parsed with tree-sitter on your machine; reading your source never requires an API call. Non-code files are read by the model you already use, and nothing is sent to Graphify: there is no telemetry and no account. The graph lives on your machine next to the repo it describes, and the engine is free and Apache 2.0-licensed.

## Troubleshooting

- Trae ignores .trae/mcp.json: Project MCP is off by default. In Settings, open MCP, turn on Enable Project MCP, and confirm.
- list_repositories is empty, or a repository returns no results: The repository is not indexed yet, or you are in another workspace. Wait for Indexed on Repositories, then check the workspace with list_workspaces.

## Trae FAQ

### Does Graphify work with Trae CN?

Yes. The hosted server setup is the same, and the Graphify CLI has its own command for it: graphify install --platform trae-cn, or graphify trae-cn install --project.

### Why does Trae use AGENTS.md instead of hooks?

Trae does not support PreToolUse hooks, so the Graphify CLI writes a graphify section to AGENTS.md, which Trae reads in every session.

### Where does a project config go?

In mcp.json inside the .trae/ directory at the project root, after you turn on Project MCP.

Checked against [docs.trae.ai/ide/add-mcp-servers](https://docs.trae.ai/ide/add-mcp-servers) on 2026-11-27.

## Other assistants

Graphify also works with [JetBrains AI Assistant](https://graphify.com/integrations/jetbrains), [Cursor](https://graphify.com/integrations/cursor), and [Google Antigravity](https://graphify.com/integrations/google-antigravity). See the full list on the [integrations page](https://graphify.com/integrations).

## Try Graphify now.

[Try for free](https://graphify.com/signup)

[Graphify](https://graphify.com/)

Shared context of codebase for agents and developers. Hosted, or open source on your own machine.

[SOC 2 Type II Audit in progress](https://trust.graphify.com)

Ask AI about Graphify

- [ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fgraphify.com%2Fllms-full.txt%20and%20answer%20from%20it%20(fetch%20the%20page%20if%20you%20can%3B%20every%20page%20also%20has%20a%20.md%20version).%20Answer%20about%20Graphify%20by%20Graphify%20Labs%20at%20graphify.com%20specifically%2C%20not%20other%20tools%20with%20similar%20names.%0A%0AHow%20does%20Graphify%20give%20agents%20and%20developers%20a%20shared%20understanding%20of%20the%20codebase%2C%20turning%20huge%20monorepos%20and%20scattered%20business%20context%20into%20deep%2C%20shared%20knowledge%20that%20helps%20teams%20make%20safer%20changes%2C%20use%20AI%20efficiently%2C%20and%20avoid%20constantly%20relearning%20the%20codebase%3F%0A%0AAnswer%20in%20under%20150%20words%20and%20cite%20the%20source.%20If%20you%20cannot%20access%20it%2C%20say%20so.)
- [Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fgraphify.com%2Fllms-full.txt%20and%20answer%20from%20it%20(fetch%20the%20page%20if%20you%20can%3B%20every%20page%20also%20has%20a%20.md%20version).%20Answer%20about%20Graphify%20by%20Graphify%20Labs%20at%20graphify.com%20specifically%2C%20not%20other%20tools%20with%20similar%20names.%0A%0AHow%20does%20Graphify%20give%20agents%20and%20developers%20a%20shared%20understanding%20of%20the%20codebase%2C%20turning%20huge%20monorepos%20and%20scattered%20business%20context%20into%20deep%2C%20shared%20knowledge%20that%20helps%20teams%20make%20safer%20changes%2C%20use%20AI%20efficiently%2C%20and%20avoid%20constantly%20relearning%20the%20codebase%3F%0A%0AAnswer%20in%20under%20150%20words%20and%20cite%20the%20source.%20If%20you%20cannot%20access%20it%2C%20say%20so.)
- [Perplexity](https://www.perplexity.ai/search?q=Read%20https%3A%2F%2Fgraphify.com%2Fllms-full.txt%20and%20answer%20from%20it%20(fetch%20the%20page%20if%20you%20can%3B%20every%20page%20also%20has%20a%20.md%20version).%20Answer%20about%20Graphify%20by%20Graphify%20Labs%20at%20graphify.com%20specifically%2C%20not%20other%20tools%20with%20similar%20names.%0A%0AHow%20does%20Graphify%20give%20agents%20and%20developers%20a%20shared%20understanding%20of%20the%20codebase%2C%20turning%20huge%20monorepos%20and%20scattered%20business%20context%20into%20deep%2C%20shared%20knowledge%20that%20helps%20teams%20make%20safer%20changes%2C%20use%20AI%20efficiently%2C%20and%20avoid%20constantly%20relearning%20the%20codebase%3F%0A%0AAnswer%20in%20under%20150%20words%20and%20cite%20the%20source.%20If%20you%20cannot%20access%20it%2C%20say%20so.)
- [Google AI](https://www.google.com/search?udm=50&q=Read%20https%3A%2F%2Fgraphify.com%2Fllms-full.txt%20and%20answer%20from%20it%20(fetch%20the%20page%20if%20you%20can%3B%20every%20page%20also%20has%20a%20.md%20version).%20Answer%20about%20Graphify%20by%20Graphify%20Labs%20at%20graphify.com%20specifically%2C%20not%20other%20tools%20with%20similar%20names.%0A%0AHow%20does%20Graphify%20give%20agents%20and%20developers%20a%20shared%20understanding%20of%20the%20codebase%2C%20turning%20huge%20monorepos%20and%20scattered%20business%20context%20into%20deep%2C%20shared%20knowledge%20that%20helps%20teams%20make%20safer%20changes%2C%20use%20AI%20efficiently%2C%20and%20avoid%20constantly%20relearning%20the%20codebase%3F%0A%0AAnswer%20in%20under%20150%20words%20and%20cite%20the%20source.%20If%20you%20cannot%20access%20it%2C%20say%20so.)
- [Grok](https://grok.com/?q=Read%20https%3A%2F%2Fgraphify.com%2Fllms-full.txt%20and%20answer%20from%20it%20(fetch%20the%20page%20if%20you%20can%3B%20every%20page%20also%20has%20a%20.md%20version).%20Answer%20about%20Graphify%20by%20Graphify%20Labs%20at%20graphify.com%20specifically%2C%20not%20other%20tools%20with%20similar%20names.%0A%0AHow%20does%20Graphify%20give%20agents%20and%20developers%20a%20shared%20understanding%20of%20the%20codebase%2C%20turning%20huge%20monorepos%20and%20scattered%20business%20context%20into%20deep%2C%20shared%20knowledge%20that%20helps%20teams%20make%20safer%20changes%2C%20use%20AI%20efficiently%2C%20and%20avoid%20constantly%20relearning%20the%20codebase%3F%0A%0AAnswer%20in%20under%20150%20words%20and%20cite%20the%20source.%20If%20you%20cannot%20access%20it%2C%20say%20so.)
- [DeepSeek](https://chat.deepseek.com/?q=Read%20https%3A%2F%2Fgraphify.com%2Fllms-full.txt%20and%20answer%20from%20it%20(fetch%20the%20page%20if%20you%20can%3B%20every%20page%20also%20has%20a%20.md%20version).%20Answer%20about%20Graphify%20by%20Graphify%20Labs%20at%20graphify.com%20specifically%2C%20not%20other%20tools%20with%20similar%20names.%0A%0AHow%20does%20Graphify%20give%20agents%20and%20developers%20a%20shared%20understanding%20of%20the%20codebase%2C%20turning%20huge%20monorepos%20and%20scattered%20business%20context%20into%20deep%2C%20shared%20knowledge%20that%20helps%20teams%20make%20safer%20changes%2C%20use%20AI%20efficiently%2C%20and%20avoid%20constantly%20relearning%20the%20codebase%3F%0A%0AAnswer%20in%20under%20150%20words%20and%20cite%20the%20source.%20If%20you%20cannot%20access%20it%2C%20say%20so.)

© 2026 Graphify Labs. All rights reserved.

Hosted or on-device · Apache 2.0
