Skip the RAG pipeline
No chunking, no vector store to babysit. The agent browses titles and use-when instructions, then opens whole pages.
OpenAI · Agent frameworks
Building agents on the OpenAI Agents SDK? Attach the registry as an MCP server and your agent inherits a governed page set with no retrieval pipeline to maintain. Python and TypeScript both work.
Why pair them
No chunking, no vector store to babysit. The agent browses titles and use-when instructions, then opens whole pages.
Product and ops teams edit pages and approve changes. Your agent code never redeploys for a policy update.
Critical instruction blocks arrive inside get_page so the model applies rules where they matter.
Setup
You need two values from an agent page in Memrio: the workspace MCP URL and an API key. Examples use https://memrio.ai/api/mcp/acme — swap in yours.
Pass the URL and Authorization header in params. The server handles session setup.
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
async def main():
async with MCPServerStreamableHttp(
name="memrio",
params={
"url": "https://memrio.ai/api/mcp/acme",
"headers": {"Authorization": "Bearer mr_live_8f3a…"},
},
) as registry:
agent = Agent(
name="Support",
instructions=(
"Browse the memrio page set first. "
"Answer only from the pages you open."
),
mcp_servers=[registry],
)
result = await Runner.run(agent, "What is our refund window?")
print(result.final_output)Let the Responses API call the registry directly so tool round-trips never leave OpenAI’s side.
import { Agent, hostedMcpTool, run } from '@openai/agents';
const agent = new Agent({
name: 'Support',
instructions:
'Browse the memrio page set first. Answer only from the pages you open.',
tools: [
hostedMcpTool({
serverLabel: 'memrio',
serverUrl: 'https://memrio.ai/api/mcp/acme',
headers: { Authorization: 'Bearer mr_live_8f3a…' },
requireApproval: 'never',
}),
],
});
const result = await run(agent, 'What is our refund window?');
console.log(result.finalOutput);Try it
“What is our refund window for annual plans?”
FAQ
Other integrations