Agent Update

Connect

LlamaIndex → Agent Update

A Python data framework for connecting models to your own documents, indexes and tools.

LlamaIndex talks to Agent Update over MCP. The server is https://api.tryagentupdate.com/v1/mcp, the transport is Streamable HTTP, and the credential is one header.

Setup

Python
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec

client = BasicMCPClient(
    "https://api.tryagentupdate.com/v1/mcp",
    headers={"Authorization": "Bearer au_live_..."},
)
tools = await McpToolSpec(client=client).to_tool_list_async()

Before you file a bug

**Never pass http_client= alongside headers=.** On the Streamable HTTP path, headers is not passed to the transport at all. It survives only because __init__ bakes it into the default httpx client. Supply your own client and the docstring is explicit that timeout and headers are ignored, so your bearer silently vanishes and you get a 401. Set Authorization on your own client instead. SSE is unaffected; it gets headers= explicitly.

Check it worked

Ask the agent to text you. A 401 means the token is wrong, or the word Bearer is in there twice. No tool at all means the transport string is wrong. Both are covered in troubleshooting.

Next

The five tools and their arguments are on the MCP page. The same tools over plain HTTP are on the REST page. Every other tool is on the docs index.