Back to Blog
ModelsDec 2, 202610 min read

Amazon Ergo MCP: Tool Calling on Bedrock, vLLM and Your Server

NT

Nikhil Tiwari

MCP Playground

Quick answer

Amazon Ergo supports standard function calling, so any MCP client that turns MCP tools into function calls can drive it. On Amazon Bedrock, call us.amazon.ergo-1.0 or global.amazon.ergo-1.0 through the Chat Completions, Responses or Converse API. Self-hosted, serve the open weights with vLLM or SGLang behind an OpenAI-compatible endpoint. To try it on your own MCP server without an AWS account, run it in MCP Agent Studio.

TL;DR

  • What it is: a 1.1T-parameter mixture-of-experts model with 55B active, a 1M-token window and 128K output, released with open weights on 1 December 2026.
  • Tool calling: OpenAI-style tools on Bedrock, plus structured outputs and a server-side web search tool. Nothing in Amazon’s docs mentions MCP, so your client does the MCP side.
  • Reasoning: always on. Bedrock accepts reasoning_effort from low to max, but none returns a 400.
  • Price on Bedrock: $1 per million input tokens and $3 per million output on the global profile.
  • Watch for: text-only input, weaker first-attempt accuracy than the best closed models, and extra output tokens on simple tool calls.

Amazon released Ergo 1.0 on 1 December 2026. It is the first open-weight model from Amazon’s Frontier Model Research team, and Amazon pitches it at exactly the work MCP servers exist for: long-running agents that read code, call tools and check their own changes.

That makes the Amazon Ergo MCP question practical rather than academic. If you maintain an MCP server, someone will point Ergo at it this month, through Bedrock, a self-hosted vLLM box or a coding harness like Codex or OpenCode.

This guide covers how Ergo’s tool calling works, the three realistic ways to connect it to an MCP server, what Amazon’s own benchmarks do and don’t tell you, and the four behaviours worth checking before you give it write tools.

Everything below was checked against the Hugging Face model card, the Bedrock model card and Amazon’s launch post on 2 December 2026. If MCP itself is new to you, start with what the Model Context Protocol is.

What is Amazon Ergo?

Ergo is a sparse mixture-of-experts transformer. Each layer has 256 routed experts plus one shared expert, and eight routed experts fire per token, so only 55B of its 1.1T parameters do work on any given token.

SpecAmazon Ergo 1.0
Parameters1.1T total, 55B active (MoE)
Context window1,048,576 tokens
Max output131,072 tokens (128K)
InputText only
Knowledge cutoffMay 2026 per AWS, June 2026 per Hugging Face
WeightsMXFP4 (626 GB), MXFP8 (1.17 TB), BF16 (2.22 TB) on Hugging Face
LicenceAmazon Ergo Open-Weights License: commercial use allowed under an acceptable-use policy
HostedAmazon Bedrock, 400+ output tokens/s; a Turbo mode at about 2,200 tokens/s is in limited preview

The licence is Amazon’s own, not an OSI one. You can run, fine-tune and redistribute Ergo inside commercial products, but read the acceptable-use policy before you ship it inside an agent product.

Amazon lists its own limits plainly: text only, reasoning that is always on, first-attempt accuracy behind the strongest closed models, and a narrower focus that scores lower on general knowledge and science. The Amazon Ergo model page keeps these specs in one place.

Does Amazon Ergo support tool calling?

Yes. On Bedrock, Ergo runs behind four APIs: Responses, Chat Completions, Converse and InvokeModel. The Chat Completions path takes the OpenAI-style tools array, returns tool_calls, and expects results back as role: "tool" messages with the matching tool_call_id.

Bedrock lists these features for Ergo:

  • Client-side tool use: your code runs the tool and sends the result back. This is the path MCP clients use.
  • Server-side web search: Bedrock runs the search itself, so you don’t need a search MCP server for basic lookups.
  • Structured outputs and system prompts.
  • Prompt caching, both implicit and explicit. This matters for MCP, because a long tool list repeats on every turn.
  • Summarized reasoning, streaming, batch inference and Bedrock Guardrails.

None of Amazon’s three launch pages mention MCP. That is normal: the model only ever sees function definitions. Your MCP client lists the server’s tools, converts each one into a function definition, and runs whichever tool the model picks. For the mechanics, see how MCP agent tool calling works.

Reasoning effort

The Hugging Face card calls Ergo’s reasoning effort fixed. The Bedrock sample code, though, passes reasoning_effort with five accepted values: low, medium, high, xhigh and max. Only none fails, with a 400. So you can turn reasoning down, but not off.

The same sample keeps max_completion_tokens at 8,192 or higher, because reasoning comes out of that budget. Set it lower and a tool call can be cut off before the model finishes writing the arguments.

How do you connect Amazon Ergo to MCP servers?

There are three realistic routes. Which one fits depends on whether you want to evaluate the model, build on it, or keep everything inside your own network.

1. In the browser, with no AWS account

MCP Agent Studio already lists Amazon Ergo. Paste your server URL, pick Ergo from the Amazon group, and give it a task. Every tool call, argument and result shows up in the inspector, which is the quickest way to see how Ergo reads your schemas before you write any integration code.

Run Amazon Ergo on your MCP server →

2. Amazon Bedrock with the OpenAI SDK

Bedrock exposes an OpenAI-compatible endpoint, so a plain MCP client plus the OpenAI SDK is enough. Authenticate with a Bedrock API key in AWS_BEARER_TOKEN_BEDROCK. In-Region inference isn’t supported, so use the US (us.) or global (global.) inference profile.

This loop connects to an MCP server, hands its tools to Ergo, and runs the calls Ergo makes:

import OpenAI from 'openai';
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';

const mcp = new Client({ name: 'ergo-agent', version: '1.0.0' });
await mcp.connect(new StreamableHTTPClientTransport(new URL(process.env.MCP_URL)));
const { tools } = await mcp.listTools();

const ergo = new OpenAI({
  baseURL: 'https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1',
  apiKey: process.env.AWS_BEARER_TOKEN_BEDROCK,
});

const messages = [
  { role: 'user', content: 'Create a profile for Ada Lovelace, then place her first order.' },
];

for (let turn = 0; turn < 8; turn++) {
  const res = await ergo.chat.completions.create({
    model: 'us.amazon.ergo-1.0',
    messages,
    tools: tools.map((t) => ({
      type: 'function',
      function: { name: t.name, description: t.description, parameters: t.inputSchema },
    })),
    reasoning_effort: 'medium',
    max_completion_tokens: 8192,
  });

  const msg = res.choices[0].message;
  messages.push(msg);
  if (!msg.tool_calls?.length) { console.log(msg.content); break; }

  for (const call of msg.tool_calls) {
    const result = await mcp.callTool({
      name: call.function.name,
      arguments: JSON.parse(call.function.arguments),
    });
    messages.push({ role: 'tool', tool_call_id: call.id, content: JSON.stringify(result.content) });
  }
}

The eight-turn cap is deliberate. A reasoning model that keeps re-checking its work can loop, and a hard cap is cheaper than finding out from the bill.

3. Self-hosted with vLLM or SGLang

Both projects supported Ergo on day one. vllm serve "Amazon-FMR/Ergo" gives you an OpenAI-compatible server on port 8000, and any MCP client that accepts a custom base URL can point at it. Check the vLLM recipe for Ergo for the tool-call parser flags. Without them the server returns tool calls as plain text, and your client never sees a tool_calls field.

Even the MXFP4 weights are 626 GB, so this route is for teams that already run multi-GPU inference. Amazon doesn’t publish hardware requirements.

Coding harnesses

AWS says Ergo works with Codex, Kiro and OpenCode, and with Claude Code through a LiteLLM proxy. In all of them the harness is the MCP client, so MCP servers are added the usual way. The Codex MCP setup guide and Claude Code MCP setup guide cover that part.

What do the Amazon Ergo benchmarks say about agent work?

Amazon compares Ergo mostly with other open-weight models, and the closest rivals are Kimi K3.1 Pro and GLM 5.3. Most scores are Amazon’s own runs. AutomationBench-AA comes from an independent leaderboard.

BenchmarkErgo 1.0Kimi K3.1 ProGLM 5.3
DeepSWE (pass@1)74.277.969.5
Terminal-Bench 4.046.263.336.9
FrontierSWE v231.529.330.2
AutomationBench-AA (independent)70.073.362.2
Ultra Long Horizon (Amazon internal)20.513.19.7
FMR-Bench AI SWE (Amazon internal)65.458.644.3

Two patterns stand out. Kimi K3.1 Pro still leads on most public agent benchmarks, including Terminal-Bench by 17 points. Ergo wins on Amazon’s internal long-horizon tasks, which are the closest match to multi-step MCP work but can’t be checked outside Amazon.

Amazon also reports speed. On its AI SWE tasks Ergo averaged 14.3 minutes and $1.41 per task, against 21.7 minutes and $1.58 for Kimi K3.1 Pro. If your agents run many short tool loops, that speed gap may matter more than a few benchmark points.

None of these benchmarks test MCP schemas directly. For how to read them against your own server, see the best AI model for MCP tool calling.

What should you watch when Amazon Ergo calls MCP tools?

Reasoning tokens on simple calls

Every tool call waits on a reasoning pass. For a server with many small lookup tools, that adds latency and output tokens to calls a non-reasoning model would answer at once. Try reasoning_effort: "low" on those and measure whether it actually saves tokens on your workload.

First-attempt accuracy

Amazon says Ergo trails the strongest closed models on first attempts and recommends letting the agent test its own work. On an MCP server, that means giving it a read-back or validation tool. Then check whether it calls that tool before reporting success, or just claims success.

Text-only input

Tools that return images give Ergo nothing to read. A browser MCP server’s screenshot tool, a chart renderer or an image-generation server will all fall flat. Route those servers to a vision model.

Prompt injection

Amazon says Ergo is trained to resist instructions planted in the content it reads, but publishes no numbers for it. Before you connect write tools, plant an instruction inside a tool result and see what Ergo does with it. Safeguarding MCP servers from prompt injection covers what to plant and what to look for.

How much does Amazon Ergo cost for MCP workloads?

Bedrock prices Ergo per million tokens, with the same rate on the Standard, Flex and Batch tiers:

ProfileInputOutputCache readCache write
Global (global.amazon.ergo-1.0)$1.00$3.00$0.03$1.25
US (us.amazon.ergo-1.0)$1.10$3.30$0.033$1.375

Two things drive the bill for MCP agents. The first is your tool list, which repeats on every turn. A server with 40 tools can add several thousand input tokens per call, which is where the 30-minute prompt cache pays off. The second is reasoning output, billed at the output rate on every call. Turbo pricing hasn’t been announced yet.

How do you test Amazon Ergo on your MCP server?

Amazon benchmarks Ergo against GLM 5.3, so the most useful first test is the same task on both models against the same server.

  1. Open MCP Agent Studio and connect your server, or use the complex-schema mock server. Sign in to get your personal URL from the mock MCP servers page.
  2. Give Ergo a four-step task that needs create_user_profile, process_order, analyze_data and configure_workflow, in that order.
  3. Run the same prompt on GLM 5.3 with compare mode.
  4. Compare which tools each model picked, whether the nested arguments validated, and how many output tokens each spent.

If Ergo picks the right tools but sends malformed arguments, the problem is usually your schema descriptions rather than the model. The MCP Server Tester shows each tool’s schema and lets you call it by hand.

Test your MCP server free →

FAQ

Is Amazon Ergo open source?
The weights are open. You can download, run, fine-tune and redistribute them, including in commercial products. The licence is Amazon’s own Ergo Open-Weights License with an acceptable-use policy, not an OSI licence.
Does Amazon Ergo support MCP?
It supports function calling, which is what MCP clients use. Any MCP client that converts MCP tools into function calls can drive Ergo on Bedrock or on a self-hosted vLLM or SGLang server. Amazon’s docs don’t mention MCP directly.
What is the Amazon Ergo model ID on Bedrock?
Use us.amazon.ergo-1.0 for the US inference profile or global.amazon.ergo-1.0 for the global one. In-Region inference isn’t supported.
Can I turn off reasoning on Amazon Ergo?
No. Bedrock accepts reasoning_effort values from low to max, but none returns a 400 error. Keep max_completion_tokens at 8,192 or more, because reasoning uses part of it.
Can Amazon Ergo read images from MCP tools?
No. Ergo 1.0 is text only, so tools that return screenshots or images need a vision model.
Can I test Amazon Ergo on my MCP server without AWS?
Yes. MCP Agent Studio runs Amazon Ergo against any MCP server URL in the browser, without an AWS account.

Summary

Amazon Ergo is a strong open-weight option for multi-step MCP agents. It speaks standard function calling on Bedrock and on self-hosted servers, and costs $1 and $3 per million tokens on the global profile. Plan for always-on reasoning, text-only input and a verification tool for its first attempts.

Before you trust it with your own server, watch it work through a real task where you can see every call. Run Amazon Ergo in MCP Agent Studio →

Related

NT

Written by Nikhil Tiwari

15+ years in product development. AI enthusiast building developer tools that make complex technologies accessible to everyone.

Build, compare & ship MCP agents

Connect any MCP server, run evals on it, compare 90+ models side-by-side, deploy hosted servers, and save reusable agents you can export as an API — all in your browser.

Try for Free →