Give Your Trae AI Agents a Custom Brain with CustomGPT.ai’s hosted MCP (Model Context Protocol) server

Author Image

Written by: Priyansh Khodiyar

Current image: trae + customgpt hosted mcp server

Using Trae is like having a team of little AI agents on your desktop, ready to help. But what if you could give those agents a superpower: perfect memory of your specific information?

Refer to our Trae + CustomGPT.ai’s Hosted MCP server docs for more info.

By connecting Trae to your CustomGPT.ai knowledge base, your agents go from general helpers to specialized experts trained on your data.

What’s this MCP thing again?

MCP (Model Context Protocol) is like a universal adapter. It lets your AI agents in Trae plug directly into a data source, like your project on CustomGPT.ai. It’s the bridge that lets your agents access your private knowledge securely.

Why use CustomGPT.ai for your agent’s brain?

  • Super accurate: Our system is independently benchmarked as #1 for finding correct answers in documents. Your agents will be more reliable.
  • Zero hassle: We manage the servers, security, and all the techy stuff. You just build your agents.
  • No extra cost: This is part of your existing CustomGPT.ai plan.

Get the full technical rundown on our Hosted MCP launch blog post.

How Your Agent Gets its Information

Trae uses the same kind of helper as Claude to connect to your data

You, chatting with an agent in Trae

                  │

                  ▼

┌─────────────────────────────────┐

Your PC runs a little helper  │

│      (called `supergateway`)    │

└─────────────────────────────────┘

                  │ (Sends question securely)

                  ▼

┌─────────────────────────────────┐

│     CustomGPT.ai Server         │

│ (Searches your private files)   │

└─────────────────────────────────┘

                  │ (Sends answer back)

                  ▼

┌─────────────────────────────────┐

Your PC's helper gets the       

│             answer              │

└─────────────────────────────────┘

                  │

                  ▼

 Your Trae agent gives you the smart answer!

What you’ll need first:

  • A CustomGPT.ai account (the free trial is fine).
  • A project on CustomGPT.ai with your files uploaded.
  • The Trae application.
  • Node.js (version 18 or newer) installed on your computer.

Let’s Hook It Up: Step-by-Step

  1. Get your secret token: Log in to CustomGPT.ai, open your project, and head to Deploy ➞ MCP Server (Beta). Hit Generate MCP Token.
  2. Open Trae’s agent settings: In the Trae app, press Ctrl+U to open the Agents panel.
  3. Go to manual config: Click the gear icon (AI Management) ➜ MCP ➜ Configure Manually.
  4. Paste the code: Paste this block into the window. Just remember to put your own <PROJECT_ID> and <TOKEN> in there.
{

  "mcpServers": {

    "customgpt-mcp-server": {

      "command": "npx",

      "args": [

        "-y",

        "supergateway",

        "--sse",

        "https://mcp.customgpt.ai/projects/<PROJECT_ID>/sse",

        "--header",

        "Authorization: Bearer <TOKEN>"

      ]

    }

  }

}
  1. Confirm and restart: Click Confirm and then restart the Trae app.

Now you can pick your new customgpt-mcp-server from the Agents list and start chatting. Your agent is now an expert on your stuff!

Watch it in action:

Your Turn to Build!

So there you have it. No more generic answers! Your favorite AI tool is now your personal expert, with a direct line to the documents and data you care about most. It’s a true game-changer for getting things done.

Why not give it a try? Head over to CustomGPT.ai to start a free trial and create your own private AI brain.

We can’t wait to see what you build with it!

P.S If are into MCP world, you will definitely live this MCP AMA that we did with Pinecone folks and other MCP folks (Santiago).

Find it here:

Further Reading

For those interested in exploring MCP in greater depth, check out the following resources:

Build a Custom GPT for your business, in minutes.

Deliver exceptional customer experiences and maximize employee efficiency with custom AI agents.

Trusted by thousands of organizations worldwide

Related posts

Leave a reply

Your email address will not be published. Required fields are marked *

*

3x productivity.
Cut costs in half.

Launch a custom AI agent in minutes.

Instantly access all your data.
Automate customer service.
Streamline employee training.
Accelerate research.
Gain customer insights.

Try 100% free. Cancel anytime.