# Connect n8n to aicharged.io

> n8n: the MCP Client Tool of an AI Agent node, with Bearer Auth credentials.

## At a glance

| Kind | Sign-in | Platforms | Status | Verified |
|---|---|---|---|---|
| Automation | API key (Bearer), OAuth sign-in | Web | works today | 2026-10-22 |

- MCP: `https://aicharged.io/api/v1/mcp`
- Docs: https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/

## Recipe

1. Add an AI Agent node and attach an MCP Client Tool to it.
2. Endpoint: https://aicharged.io/api/v1/mcp · Server Transport: HTTP Streamable
3. Authentication: Bearer Auth → a new credential with your API key <API_KEY>.
4. Tools to Include: All, or Selected to keep the agent focused.

Remote MCP server URL:

```text
https://aicharged.io/api/v1/mcp
```

API key (Bearer token):

```text
<API_KEY>
```

[Client documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/)

## Authentication

- Send `Authorization: Bearer <API_KEY>` with every request. Create a key at https://aicharged.io/admin/account/api-keys.
- OAuth 2.1 (PKCE S256) is available for clients that cannot send a static key (ChatGPT).
- Without a key the endpoint answers 401 with a WWW-Authenticate header that points to https://aicharged.io/.well-known/oauth-protected-resource.

All 51 clients: https://aicharged.io/connect.md

HTML version: https://aicharged.io/connect/n8n
