Your agent can be called from outside Abundly. In the agent’s Settings → API Access tab, you can expose the agent as an HTTP API, as an MCP server, as a webhook receiver, and as an embeddable chat widget — each with its own configuration, but sharing the same API keys.Documentation Index
Fetch the complete documentation index at: https://docs.abundly.ai/llms.txt
Use this file to discover all available pages before exploring further.

When to use each
| Exposure mode | Use for | Authentication |
|---|---|---|
| HTTP API | Calling your agent from a script, backend service, or automation tool | API key |
| MCP server | Letting AI apps like Claude Desktop, Cursor, or n8n use your agent as a tool provider | API key |
| Chat widget | Embedding an AI chat bubble on your own website | API key (stored on your backend proxy) |
| Webhooks | Receiving callbacks from external services like Stripe, GitHub, or Trello | None (URL is the secret) |
API keys
HTTP API and MCP calls are authenticated with API keys. Open the API Keys section to create, list, and revoke keys for the agent. Include a key on every request using either header:HTTP API
Turn on Enable HTTP API to expose your agent at:- Path — e.g.
summarizeoringest/orders - Handler — either a natural-language prompt for the agent, or a script that runs directly without invoking the LLM
- Model override (optional) — run this endpoint on a specific model, separate from the agent’s default
MCP server
MCP (Model Context Protocol) lets external AI applications — Claude Desktop, Cursor, n8n, and others — call tools you define on your agent. Turn on Enable MCP server to expose the agent at:- Name and description — shown to MCP clients so they know when to call it
- Handler — a prompt for the agent, or a script for deterministic execution
- Model override (optional)
Chat widget
The chat widget embeds your agent as a floating chat bubble on any external website. Visitors can ask questions and get streaming answers — without logging in or leaving your site. Turn on Enable widget in the API Access tab to configure it. The widget uses a secure backend proxy pattern: a small server-side endpoint on your server holds the API key and forwards requests to Abundly, so your key never appears in client-side code. For setup instructions, backend proxy examples, configuration options, and the headlesscreateClient API, see the Chat Widget page.
CORS settings
If you want to call your agent’s HTTP API directly from a browser (for example, from a web application), you need to configure which origins are allowed to make cross-origin requests. In the HTTP API section, use Allowed origins (CORS):- Allow requests from Abundly apps — Automatically allows requests from Abundly’s user-facing domains
- Custom origins — Add any additional origins (e.g.
https://yourapp.com) that should be permitted to make browser requests
CORS restrictions apply to browsers only. If you’re calling the API from a server-side environment, you can leave CORS unconfigured. The chat widget always goes through your backend proxy (server-to-server), so it doesn’t need a CORS entry either.
Webhooks
Many external services send notifications by calling a URL you provide — Stripe after a payment, GitHub when a PR opens, Trello when a card moves. Turn on Enable Webhooks to receive these callbacks. Each webhook you define gets its own URL:- Integration name — used as the URL path, e.g.
stripeorgithub - Handler — a prompt describing how the agent should process the callback, or a script for fast, deterministic handling
- Model override (optional)
200 OK and process the payload asynchronously, so external services never time out.
Activity log
All exposure modes record entries in the activity log, including the full request headers and body, the agent’s response, and any credits consumed. You can disable logging per section if you have a high-volume endpoint where logging isn’t useful.Learn more
MCP Servers
Add external MCP servers to your agent’s capabilities
Code Execution
Back endpoints, tools, and webhooks with scripts for faster handling
Monitoring
Review what your agent does when triggered externally

