marketing
Freshmarketer MCP, CLI, and Lua Integration for AI Agents
Freshmarketer integration docs for AI agents: MCP gateway setup, Freshmarketer CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
Freshmarketer for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
freshmarketer- route_slug
freshmarketer- package
freshmarketer- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Freshmarketer CLIHeadless setup and direct function calls. Freshmarketer MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Freshmarketer MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Freshmarketer.
Claude Code Freshmarketer MCP setup for Claude Code. Cursor Freshmarketer MCP setup for Cursor. Codex Freshmarketer MCP setup for Codex. OpenAI Agents Freshmarketer MCP setup for OpenAI Agents SDK. Claude Agent SDK Freshmarketer MCP setup for Claude Agent SDK. Vercel AI SDK Freshmarketer MCP setup for Vercel AI SDK. LangChain Freshmarketer MCP setup for LangChain. LangGraph Freshmarketer MCP setup for LangGraph. CrewAI Freshmarketer MCP setup for CrewAI. MCP clients Freshmarketer MCP setup for Generic MCP Clients.
Freshmarketer CLI Matrix
Use these pages for direct Freshmarketer CLI workflows in scripts, CI, cron, and agent wrappers.
CI Freshmarketer CLI for CI. Cron Jobs Freshmarketer CLI for cron jobs. Shell Scripts Freshmarketer CLI for shell scripts. Headless Automation Freshmarketer CLI for headless automation. Coding Agents Freshmarketer CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
freshmarketer.freshmarketer_list_campaigns | Read read | 3 | List marketing campaigns from Freshmarketer. Supports pagination and filtering by status (e.g., "active", "completed", "draft"). |
freshmarketer.freshmarketer_get_campaign | Read read | 1 | Get detailed information about a specific marketing campaign by its ID. |
freshmarketer.freshmarketer_create_campaign | Write write | 3 | Create a new marketing campaign in Freshmarketer. Specify the campaign name, channels (e.g., "email"), and an optional schedule. |
freshmarketer.freshmarketer_list_segments | Read read | 2 | List contact segments in Freshmarketer. Supports pagination to browse through all segments. |
freshmarketer.freshmarketer_get_segment | Read read | 1 | Get detailed information about a specific contact segment by its ID. |
freshmarketer.freshmarketer_list_users | Read read | 0 | List all users in the Freshmarketer account. |
freshmarketer.freshmarketer_get_current_user | Read read | 0 | Get the profile of the currently authenticated Freshmarketer user. |