Introduction
The Claude Agent SDK allows you to build powerful AI agents that can use tools and make decisions autonomously.This integration uses Helicone’s Model Context Protocol (MCP) to provide seamless AI Gateway access to your Claude agents.
Integration Steps
1
Sign up at helicone.ai and generate an API key.Make sure to have some credits available in your Helicone account to make requests (or BYOK).
2
Install the Helicone MCP Package
3
Configure MCP Server in Your Application
- Claude Desktop (Development)
- Claude Agent SDK
Add to your Claude Desktop configuration:The Helicone MCP tools will be automatically available in Claude Desktop.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
4
Test the Integration
use_ai_gateway tool to make the request through Helicone AI Gateway.Available MCP Tools
use_ai_gateway
Make requests to any LLM provider through Helicone AI Gateway with automatic observability.
Parameters:
model(required): Model name (e.g.,gpt-4o,claude-sonnet-4,gemini-2.0-flash- see Supported Models for more)messages(required): Array of conversation messagesmax_tokens(optional): Maximum tokens to generatetemperature(optional): Response randomness (0-2)sessionId(optional): Session ID for request groupingsessionName(optional): Human-readable session nameuserId(optional): User identifier for trackingcustomProperties(optional): Custom metadata for filtering