Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Claude (Anthropic) to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/claude.md
AI Services

How to connect Claude (Anthropic) to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
Who can use itIndividuals and companies that can issue an API key in Anthropic's Console. The API is pay-as-you-go (Console credits) and is a separate contract from Claude subscriptions (Pro / Max). No review is needed to get started. Note that new organizations may start in an Evaluation tier with limits below the standard ones until they build usage history (the tier rises automatically).
MethodOfficial API (REST)
PricingThe API is pay-as-you-go, priced per million tokens (separate input and output rates per model). It is billed separately from Claude subscriptions (Pro / Max, etc.); you buy credits in the Console. Each organization's usage tier (Start / Build / Scale, etc.) sets monthly spend limits and rate limits. The Message Batches API is 50% off, and prompt caching heavily discounts repeated input. Prompt caching is priced separately: cache writes cost 1.25x the standard input rate (5-minute retention) up to 2x (1-hour retention), and cache reads cost 0.1x.
RiskA leaked API key leads directly to unauthorized use and charges. Prompt injection from web pages or files an agent reads can cause unintended tool execution or data exfiltration. Automating the Claude.ai interface is prohibited by the terms; automation must go through API keys. Using outputs to train AI models is also prohibited without prior approval.

Claude models can be called through the Claude API (Messages API). Individuals can issue an API key in the Console with no review, and major iPaaS platforms offer Anthropic (Claude) apps. Anthropic created MCP, and Claude products are designed as MCP hosts that call external tools, so there is no official MCP server for calling the models; the API is the main route. The same models are also offered through Amazon Bedrock, Google Cloud, and Microsoft Foundry.

AuthenticationAPI key. Issue one in the Console (platform.claude.com) and send it in the Authorization: Bearer header (the current recommendation) or the x-api-key header. The anthropic-version header (for example, 2026-10-21) is required. Keys can be created with a chosen type and expiration, and workspaces let you separate environments and spending. Through Amazon Bedrock, Google Cloud, or Microsoft Foundry, each cloud's own authentication applies.
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverNo

There is no official MCP server for calling Claude models. Anthropic created MCP, and Claude products (claude.ai / Desktop / Claude Code) act as MCP hosts and clients that call external servers. From the API, the MCP connector (beta) can attach remote MCP servers as tools. Claude Code can also be launched as an MCP server (claude mcp serve), but that exposes the coding agent, not a wrapper around the model API.

Official guide for AI agentsYes

The developer documentation (platform.claude.com/docs) systematically covers agent building, tool use, the MCP connector, and more.

https://platform.claude.com/docs/en/api/overview

Connectors

Official connectors from AI services

Not supported: Claude, ChatGPT, Gemini, Microsoft Copilot

Third-party integration services

  • Zapier

    An Anthropic (Claude) app exists, with Send Message, file upload/download/delete, and file listing/metadata actions (no triggers). It requires an Anthropic API key and a paid Anthropic account. Actions can also be run from agents through Zapier MCP.

  • Make

    An Anthropic (Claude) module exists and can create messages, among other actions. It requires your own Anthropic API key. Modules can also be run from agents through Make's official MCP server.

  • n8n

    An Anthropic node exists and can use Claude as the chat model for an AI Agent. The Messages API can also be called directly with the HTTP Request node. It requires your own API key. There are two node types: the regular Anthropic node and the Anthropic Chat Model sub-node that plugs into an AI Agent. On n8n Cloud (Starter / Pro) you can also choose Gateway credits (n8n's prepaid balance) instead of your own key, in which case you do not need an Anthropic account at all.

  • IFTTT

    IFTTT has an "Anthropic Claude" service, usable in Applets through the "Message" query (send a message to Claude and get a response). In the reverse direction, IFTTT's official help also explains calling IFTTT's MCP server (ifttt.com/mcp) from Claude connectors.

  • Pipedream

    An Anthropic (Claude) app exists, with actions such as Chat (2 actions). All actions are also published as tools of Pipedream's remote MCP. It requires your own API key.

  • Composio

    An Anthropic administrator toolkit exists, letting agents manage organization members, update workspaces, rotate API keys, and handle audits. Organization administration is the core, but it also includes reference tools such as listing models. It requires an Admin API key. It is also offered as a Composio MCP.

  • Yoom

    Yoom lists an official Anthropic app, with two actions: "Generate text" and "Run processing via MCP" (no triggers). Registering the app uses an account name and an access token (API key).

Not supported: Power Automate

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • managed-agent-control-mcp(modus-agendi)

    A community MCP server (listed on Glama, checked December 2026). It can launch, observe, and control Claude Managed Agents (beta) from any MCP client (replies, tool approvals, stopping). It requires the ANTHROPIC_API_KEY environment variable with Managed Agents access. The listing clearly states it is not an official Anthropic project and is an unrelated community project.

Security assessment

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Third-party integrationZapierOfficial from the integration service
Permissions requiredRead and write

Limited to the permissions of the Anthropic API key connected to Zapier

Terms of serviceNo issues

Within the scope of the official API

Source: relevant section of the terms

Data pathTraffic passes through Zapier's servers, so prompts and files you enter reach both Zapier and Anthropic. When used through MCP, retrieved data also reaches the connected LLM provider.
Third-party integrationMakeOfficial from the integration service
Permissions requiredRead and write

Limited to the permissions of your API key registered in Make

Terms of serviceNo issues

Within the scope of the official API

Source: relevant section of the terms

Data pathTraffic passes through Make's servers, so input data reaches both Make and Anthropic. When used through MCP, retrieved data also reaches the connected LLM provider.
Third-party integrationn8nOfficial from the integration service
Permissions requiredRead and write

Limited to the permissions of your API key registered in n8n

Terms of serviceNo issues

Within the scope of the official API

Source: relevant section of the terms

Data pathn8n connects directly from its runtime to the Anthropic API (with self-hosting, everything stays in your own environment). Through an AI Agent, input data enters the model's context.
Third-party integrationIFTTTOfficial from the integration service
Permissions requiredRead and write

Limited to the accounts and Applets connected to IFTTT

Terms of serviceNo issues

Both IFTTT's and Anthropic's terms apply. IFTTT's free tier has limits such as the number of Applets

Source: relevant section of the terms

Data pathInput passes through IFTTT's servers to Anthropic
Third-party integrationPipedreamOfficial from the integration service
Permissions requiredRead and write

Limited to the permissions of your API key registered in Pipedream

Terms of serviceNo issues

Within the scope of the official API

Source: relevant section of the terms

Data pathTraffic passes through Pipedream's servers, so input data reaches both Pipedream and Anthropic. When used through MCP, retrieved data also reaches the connected LLM provider.
Third-party integrationComposioOfficial from the integration service
Permissions requiredRequires admin rights

Limited to the permissions of the Admin API key set in Composio (organization-wide administration; a strong grant that can add members and issue or revoke keys)

Terms of serviceNo issues

Within the scope of the official Admin API

Source: relevant section of the terms

Data pathTraffic passes through Composio's servers, so organization administration data reaches both Composio and Anthropic. When used through MCP, retrieved data also reaches the connected LLM provider.
Third-party integrationYoomOfficial from the integration service
Permissions requiredRead and write

Limited to the permissions of your API key registered in Yoom

Terms of serviceNo issues

Both Yoom's terms and Anthropic's commercial terms apply

Source: relevant section of the terms

Data pathInput data passes through Yoom's servers to Anthropic
Unofficial MCPmanaged-agent-control-mcp(modus-agendi)Third party (unofficial)
Permissions requiredRead and write

You hand over your own Anthropic API key. It can start Managed Agents sessions and approve tool runs (including sandboxes and external tools), so the key's authority is broad, and there is a risk that the agent approves unexpected tools in response to external instructions (prompt injection). An approval policy is a prerequisite

Terms of serviceNo issues

Within the scope of using the official API (Managed Agents, beta) with your own key. The API is in beta, so specifications may change (beta-specific terms were not confirmed)

Source: relevant section of the terms

Data pathIt runs on your machine (or wherever you deploy it) and connects to Anthropic's Managed Agents API. Agent input and output are processed on Anthropic's platform, and session information also reaches the controlling LLM provider. The package itself is third-party, so check its provenance before installing. Data may also flow to external MCP servers connected to Managed Agents.

Data you can fetch within the terms of service

The Claude API and Console, and the services overall including Claude.ai

ScrapingProhibited

The Commercial Terms of Service (effective 2025-06-17) apply to API keys and Console use, and prohibit building competing products or services (including training competing AI models and reselling the service) without explicit approval. The Usage Policy also prohibits using outputs to train AI models (including distillation) without prior approval. The terms state that Anthropic does not train on customer content from commercial services (the API, the Console, and the rest of the Commercial Terms scope); consumer plans such as Claude.ai Pro / Max fall under the consumer terms, where training use can be opted out of in settings. The consumer terms prohibit automated access by bots or scripts, and crawling/scraping, except where explicitly permitted, such as through API keys.

Source: relevant section of the terms of service

Fetching with the agent's own browser

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

Usage

How to connect

  1. Create an account in the Console (platform.claude.com) and buy credits
  2. Prepare a workspace and issue an API key (choose the type and expiration; the full key is shown only at issuance)
  3. Call the Messages API from your agent or iPaaS (the anthropic-version header is required; SDKs add it automatically)
  4. For iPaaS, register the key in each platform's Anthropic (Claude) app
  5. Monitor usage and spending in the Console, managed per workspace

Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

Calling a model with the Messages API
curl https://api.anthropic.com/v1/messages \
  -H "Authorization: Bearer API_KEY" \
  -H "anthropic-version: 2026-10-21" \
  -H "content-type: application/json" \
  -d '{"model": "MODEL_ID", "max_tokens": 1024, "messages": [{"role": "user", "content": "要約して: ..."}]}'

Replace API_KEY with a key issued in the Console and MODEL_ID with an available model ID. The anthropic-version header is required (SDKs add it automatically). The x-api-key header also works, but Authorization: Bearer is the current recommendation.

Official page checked: https://platform.claude.com/docs/en/api/overview

Controlling Managed Agents with an unofficial MCP
claude mcp add managed-agent-control -- uv run python -m managed_agents_mcp

An example adding the community server managed-agent-control-mcp (for operating Managed Agents, not for calling models). You need to fetch the repository, run uv sync, and set ANTHROPIC_API_KEY beforehand. Managed Agents is a beta feature.

Official page checked: https://github.com/modus-agendi/managed-agent-control-mcp

Limiting the features

Separating scope with workspaces and keys
Console の設定:
- ワークスペースごとに API キーを発行し、環境と支出を分離
- キー作成時にタイプと有効期限を選択
- 組織の利用ティアごとに月次支出上限とレート制限が適用される

Create a dedicated workspace for agents and use separate keys. When using an organization-scoped key, specify the workspace with the anthropic-workspace-id header.

Official page checked: https://platform.claude.com/docs/en/api/overview

Summarizing long documents

Instruction to the agent

Summarize these meeting minutes into five key points

Pass the document and prompt to the Messages API. For long system prompts or materials you reuse, prompt caching can greatly reduce the cost of repeated input.

An agent that uses tools

Instruction to the agent

Check the inventory, and if anything is short, draft a purchase order

Use tool use in the Messages API to call your own functions, or use the MCP connector (beta) to use a remote MCP server's tools as-is. For batch jobs that are not urgent, the Message Batches API gives a 50% discount.

Pitfalls and tips

Pitfalls

  • Claude subscriptions (Pro / Max) and the API (Console) are billed separately. A Pro subscription does not include API credits
  • Requests fail without the anthropic-version header. SDKs add it automatically, but it is required when calling the API over raw HTTP
  • The full API key is shown only at issuance. If it leaks, revoke it immediately and issue a new one
  • Automating the Claude.ai interface violates the terms (automated access is allowed only where explicitly permitted, such as through API keys). Automate through the API
  • Using outputs to train AI models (including distillation) is prohibited by the Usage Policy without prior approval
  • Rate limits are set per organization usage tier and per model (RPM and input/output tokens per minute). Limits rise with your usage history
  • Raising anthropic-version to 2026-10-21 makes requests that send temperature / top_p / top_k fail with a 400 error, even at default values (see the official migration guide). Inventory your parameters before upgrading the version

Tips

  • Discount long prompts and materials you reuse with prompt caching. Use the Message Batches API (50% off) for batch jobs that are not urgent
  • The same models are available through several routes (direct API / Amazon Bedrock / Google Cloud / Microsoft Foundry). Choose based on your existing cloud contracts and identity infrastructure
  • Create a dedicated workspace for agents to separate keys and spending. Usage can be tracked per workspace

Test environment and change history

How it was checkedChecked against official documentation
Clients triedNot yet tried with a real client

Checked against Anthropic's official documentation (Claude Platform Docs), the Commercial Terms, and the iPaaS platforms' pages. No API key was issued and no live connection was tested.

Change history

  • Initial version
  • Verified each connector platform's listing against primary sources (official listings on Yoom and IFTTT, the Independent Publisher connector for Power Automate, the native model integration in Microsoft Copilot, and more) and reflected the results. Also added prompt-caching rates and a note on API version migration

Sources

Official and primary sources

Pages published by the service provider, the integration provider or the MCP author about their own product.

References (third-party write-ups)

Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.

Related articles

How to connect ChatGPT (OpenAI) to AI agents

Official, individuals OK

How to connect YouTube to AI agents

Official, individuals OK

How to connect Discord to AI agents

Official, individuals OK

How to connect Reddit to AI agents

Official, individuals OK