Developers
Connect AI agents to your data safely with MCP
Feralin's Model Context Protocol (MCP) server gives your AI agents, such as Claude Code and Cursor, scoped and tenant-isolated access to your data. By default the tools only read. Writing happens in two ways, and only if you turn it on: with the write permissions you tick on the consent screen, an agent can create and update projects, Smart Links, audiences and automations; propose_action records a proposal and executes nothing until a person approves it in Action Studio. Deleting, payments, team and security actions cannot be done over MCP. Raw events and personal data are not returned.
How the connection works
You do not paste a secret into a config file. Your agent connects over Streamable HTTP and signs you in with OAuth 2.1 and PKCE.
- The agent discovers Feralin's authorization server from the MCP server.
- Your browser opens the Feralin approval screen, showing the application, where the result goes and the requested permissions.
- After you approve, the agent receives a short-lived token that works only with this MCP server. You can revoke it at any time in the Developer Console.
Claude Code
claude mcp add --transport http feralin https://feralin.com/mcpThen run /mcp inside Claude Code and approve in the browser.
Cursor
{
"mcpServers": {
"feralin": {
"url": "https://feralin.com/mcp"
}
}
}Add this to ~/.cursor/mcp.json or your project's .cursor/mcp.json. Cursor starts the OAuth sign-in; approve it in the browser.
| Tool | Purpose | Scope | Status |
|---|---|---|---|
list_workspaces | Workspaces and projects | workspace:read | Working |
query_metric | Aggregate metric with provenance_class | metrics:read | Working |
get_feature_status | Actual status of a screen or module | workspace:read | Working |
search_docs | Search public documentation | — | Working |
get_sdk_health | SDK install health | sdk:read | Working |
list_links | Smart Links | links:read | Working |
explain_attribution_decision | Explain an attribution decision with evidence | attribution:read | Working |
get_metric_definition | Metric definitions | metrics:read | Working |
get_realtime_summary | Realtime summary | metrics:read | Working |
get_data_quality | Data quality | metrics:read | Working |
get_attribution_summary | Attribution summary | attribution:read | Working |
list_attribution_decisions | Attribution decisions | attribution:read | Working |
get_link_journeys | Link journeys | attribution:read + links:read | Working |
get_funnel | Funnel: actors, rate and drop-off per step | metrics:read | Working |
get_retention | Cohort and retention cells | metrics:read | Working |
get_conversion_sources | Conversion sources: which site, campaign, keyword or country brought sign-ups and purchases | metrics:read | Working |
get_web_report | Web report: sessions, visitors, views and estimated revenue | metrics:read | Working |
get_web_pages | Pages report: views, entries, exits and time per page | metrics:read | Working |
get_web_events | Events report: count and unique users per event | metrics:read | Working |
list_sdks | SDK list | sdk:read | Working |
get_setup_plan | SDK setup plan | sdk:read | Working |
get_connector_capabilities | Connector catalog | workspace:read | Working |
list_audiences | Audience definitions and k-thresholded size; no member list | audiences:read | Working |
get_revenue_summary | Revenue summary; verified and estimated amounts kept apart | revenue:read | Working |
get_ad_spend_roas | Ad spend and return on ad spend | revenue:read | Working |
get_partner_overview | Partner overview and k-thresholded commission total | partners:read | Working |
list_automations | Automation flows (read-only; never runs them) | automations:read | Working |
list_sources | A project's data sources: type, name, SDK, setup status and 30-day event count; no project key is returned | sdk:read | Working |
get_event_coverage | Which events actually arrived after setup: coverage and checklist per source; no event rows or personal data | sdk:read | Working |
verify_installation | In-app setup check: has the first event arrived from the SDK (pairing code gives firm proof); no event bodies | sdk:read | Working |
get_event_receipt | Receipt for a single event: stored, quarantined or not_found; only an event_id you already know is looked up | sdk:read | Working |
list_project_keys | Masked list of project keys: prefix, label and status; the key itself is never returned by any tool | workspace:read | Working |
get_app_association | App registrations and Universal Link / App Link association status; Apple CDN and device checks are BLOCKED_EXTERNAL | links:read | Working |
get_link_domain | Shows the project's short link subdomain, brand path and every address format that opens the same link | links:read | Working |
list_ai_connectors | Remote MCP servers you connected to the panel chat: name, domain, authentication method, status and tool permissions; read-only, no secrets or URL paths | workspace:read | Working |
list_goals | Web conversion goals: name, kind, event name or URL pattern, and whether each is on or off | metrics:read | Working |
get_allowed_origins | The Web SDK key's allowed origin list; an empty list means no restriction, changes are made in the panel | workspace:read | Working |
get_report | The panel's read-only reports in one tool; each report has its own scope and allowed parameters | — | Working |
get_notifications | Your own in-app notifications: type, severity, title, read state and unread count; read-only, user OAuth connection only | workspace:read | Working |
propose_action | Proposal into an approval queue; never executes | autopilot:propose | Working |
create_property | Creates a project (needs write permission) | projects:write | Working |
update_property | Changes a project's name and environment label; no pause or archive | projects:write | Working |
create_link | Creates a Smart Link | links:write | Working |
update_link | Changes a Smart Link's name, UTM and expiry, pauses or resumes it; cannot change its destination | links:write | Working |
create_audience | Creates an audience definition; no member list | audiences:write | Working |
update_audience | Changes audience rules; no delete | audiences:write | Working |
create_automation | Creates an automation flow; starts turned off | automations:write | Working |
update_automation | Turns an automation on or off, or edits it; no delete | automations:write | Working |
quick_setup | Setup in one call: a project, a data source per input and an optional short link; creates no key, deletes nothing | projects:write | Working |
create_source | Adds a data source to a project; creates no project key, deletes nothing | projects:write | Working |
update_source | Changes a data source's name, identifier, SDK or industry template; no archive, no delete, no key changes | projects:write | Working |
create_install_code | Creates a single-use pairing code valid for 30 minutes for in-app verification; it is not a credential | projects:write | Working |
register_mobile_app | Registers an iOS or Android app in a project; new records only, updates and deletes are done in the panel | links:write | Working |
update_link_domain | Picks or changes the project's short link subdomain (brand.fera.fly) and brand path; no DNS needed, releasing is done in the console | links:write | Working |
create_goal | Adds a web conversion goal to a project: an event or a page pattern; deletes nothing | projects:write | Working |
update_goal | Renames a web goal or turns it on or off; kind, event name and pattern stay unchanged, no delete | projects:write | Working |
Permissions
Read scopes are for reading data. Write scopes (projects:write, links:write, audiences:write, automations:write) let an agent create and update projects, Smart Links, audiences and automations; none of them can delete. autopilot:propose only leaves a proposal in the approval queue and never executes anything. Audience, revenue, partner, automation, proposal and write scopes are not requested on first connect. Write scopes arrive unticked on the consent screen and are granted only if an organization owner or admin ticks them. On the consent screen you can untick anything you do not want to grant.
workspace:readmetrics:readevents:readattribution:readlinks:readsdk:readaudiences:readrevenue:readpartners:readautomations:readautopilot:proposeprojects:writelinks:writeaudiences:writeautomations:write
Built-in prompts
Your client lists these prompts. Each one calls the tools in order and does not claim a result it has no evidence for.
verify_first_event: Proves with get_sdk_health that the first event arrived after setupcampaign_roas_summary_with_evidence: Builds a campaign return-on-ad-spend summary with spend and revenue evidencefeature_availability_check: Checks whether a module really works todayinstall_feralin_sdk: Installs the SDK into the open repository with get_setup_plan and verifies it with the first eventcreate_smart_link: Creates a Smart Link: asks you step by step for targets, short domain, code, UTM, attribution and campaign settings, creates it with your approval and returns every address
Resources
Read-only documents and catalogues. The content is data, not instructions.
feralin://docs/openapiferalin://docs/mcp-contractferalin://methodology/attributionferalin://catalog/metricsferalin://feature-statusferalin://sdk/catalogferalin://sdk/{sdk_id}/install-guide
Limits
- Your workspace is determined from the token, never from what the agent sends.
- A token works only with the MCP server it was issued for; it cannot call the REST API directly.
- Revoking a connection takes effect on the next request.
- Every tool call is logged as a hash and size; raw inputs and outputs are not stored.
Server-to-server: API key
claude mcp add --transport http feralin https://feralin.com/mcp --header "Authorization: Bearer <api key>"For agents with no person signing in. The key's own scopes apply. Do not put it in a browser or a prompt. Project ingest keys only write events and cannot read data over MCP.
Where it appears
The "MCP & Agent Access" row of the manifest coverage table and the screen inventory. Counts are screen records in manifest/screens_v21.json; nothing is typed by hand.
- Website4 screens4 · available
- Member panel3 screens3 · available
- Super Admin2 screens2 · available
- Mobile appThe MCP connection is set up from a developer tool; no client runs on mobile.