# How to integrate Contentsquare MCP with Atomic Agent

```json
{
  "title": "How to integrate Contentsquare MCP with Atomic Agent",
  "toolkit": "Contentsquare MCP",
  "toolkit_slug": "contentsquare_mcp",
  "framework": "Atomic Agent",
  "framework_slug": "atomic-agent",
  "url": "https://composio.dev/toolkits/contentsquare_mcp/framework/atomic-agent",
  "markdown_url": "https://composio.dev/toolkits/contentsquare_mcp/framework/atomic-agent.md",
  "updated_at": "2026-09-01T05:38:38.881Z"
}
```

## Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including Contentsquare.
This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Contentsquare account. See the [Atomic Agent documentation](https://atomicagent.io/docs/?cta_placement=atomic-agent-docs) for installation instructions.

## Also integrate Contentsquare MCP with

- [ChatGPT](https://composio.dev/toolkits/contentsquare_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/contentsquare_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/contentsquare_mcp/framework/hermes-agent)

## TL;DR

### How Atomic Agent connects to Contentsquare
Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.
Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

## Connect Contentsquare MCP to Atomic Agent

### Connect Contentsquare to Atomic Agent
- Sign up or sign in to the [Composio dashboard](https://dashboard.composio.dev/?cta_placement=atomic-agent-api-key). Copy your API key.
- In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
- Ask Atomic Agent to do something in Contentsquare. It searches Composio for the right tool.
- On first use, open the sign-in link returned in the chat. Connect your Contentsquare account, then return to Atomic Agent to continue.
### Headless setup
Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

```bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY
```

## What is the Contentsquare MCP server, and what's possible with it?

The Contentsquare MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Contentsquare account. It provides structured and secure access so your agent can perform Contentsquare operations on your behalf.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `CONTENTSQUARE_MCP_COMPUTE_FUNNEL` | Computefunnel | Computes funnel analysis to measure drop-offs and conversions across key steps in a user journey. Analyzes conversion rates, drop-off points, and time to completion across up to 32 steps. |
| `CONTENTSQUARE_MCP_COMPUTE_IMPACT` | Computeimpact | Computes impact quantification analysis comparing conversion performance between segments. Provides metrics including conversion rates, bounce rates, session time, pageviews, and revenue impact with statistical significance testing. |
| `CONTENTSQUARE_MCP_COMPUTE_JOURNEY` | Computejourney | Computes user navigation journeys, visualizing how visitors navigate your site. Provides hierarchical tree structure showing common paths, drop-off points, and navigation patterns. Supports forward (from landing pages) and reverse (from exit pages) analysis up to 7 steps. |
| `CONTENTSQUARE_MCP_COMPUTE_PAGE_COMPARISON` | Computepagecomparison | Computes page comparison analysis comparing key performance metrics across multiple page groups (2-10). Provides metrics: views, bounce rate, exit rate, scroll rate, time spent, activity level, load times, and conversion rates. |
| `CONTENTSQUARE_MCP_COMPUTE_PAGE_GROUP_METRICS` | Computepagegroupmetrics | Compute page metrics, at the page group level. Use it to get an overview of the performance of the fraction of the website. |
| `CONTENTSQUARE_MCP_COMPUTE_SITE_METRICS` | Computesitemetrics | Computes aggregated metrics across the entire website. Returns data grouped by specified dimensions (device, date, browser, country, etc.). Filters: time period (startDateTime/endDateTime), device type (DESKTOP/MOBILE/TABLET/ALL), conversion goals (goalId), or advanced user filters (userFilter for browsers, goals, segments, page interactions). Use dimensions parameter to group results. Defaults to no grouping if not specified. |
| `CONTENTSQUARE_MCP_GET_PAGE_GROUPS_FOR_MAPPING` | Getpagegroupsformapping | Retrieve all page groups for a specific mapping, sorted alphabetically by name. |
| `CONTENTSQUARE_MCP_GET_TOP_ERRORS_BY_IMPACT_ON_GOAL` | Gettoperrorsbyimpactongoal | Get top errors ranked by impact on conversion goals. Shows business-critical errors affecting revenue and conversions. USE for: business impact analysis, revenue-critical issues, prioritizing fixes by business value, conversion impact of errors. Requires mappingId and goalId to analyze goal-specific impact. |
| `CONTENTSQUARE_MCP_GET_TOP_ERRORS_BY_MISSED_OPPORTUNITY` | Gettoperrorsbymissedopportunity | Get top errors ranked by missed business opportunities (eCommerce focused). Shows revenue impact of errors. USE for: eCommerce missed revenue opportunities, lost sales analysis, revenue impact of errors. Always uses goalId -1 for eCommerce analysis. Requires mappingId. |
| `CONTENTSQUARE_MCP_GET_TOP_ERRORS_BY_SESSIONS_WITH_ERRORS` | Gettoperrorsbysessionswitherrors | Get top errors ranked by sessions with errors. Main widget for general error analysis showing error trends, rates, and most frequent errors. USE for: general error questions, error trends, most frequent errors, volume comparisons, overall error patterns. This is the primary tool for error analysis. |
| `CONTENTSQUARE_MCP_GET_TOP_PAGE_GROUPS_BY_LOST_CONVERSIONS` | Gettoppagegroupsbylostconversions | Get page groups ranked by lost conversions due to errors. Shows business impact of errors by page groups. USE for: page group impact analysis, page-level conversions, top pages losing conversions, business impact by page groups. Requires mappingId and goalId to analyze conversion impact. |
| `CONTENTSQUARE_MCP_GET_TOP_PAGES_BY_SESSIONS_WITH_ERRORS` | Gettoppagesbysessionswitherrors | Get pages most affected by errors in a scatter plot comparing error volume with page traffic. USE for: identifying pages most affected by technical issues, development resource focus, scatter plot analysis of pages vs error rates. Supports both 'pagegroups' (default) for category-level analysis and 'pages' for detailed URL-level analysis. Requires mappingId parameter. |
| `CONTENTSQUARE_MCP_LIST_PROJECTS` | Listprojects | Returns a list of projects (id and name) accessible to the user |
| `CONTENTSQUARE_MCP_RECOMMEND_GOALS` | Recommendgoals | Recommend goals based on user engagement and usage frequency (how often goals are viewed, used in analyses, etc.) within the platform. |
| `CONTENTSQUARE_MCP_RECOMMEND_MAPPINGS` | Recommendmappings | Recommend mappings based on user engagement and usage frequency (how often mappings are viewed, used in analyses, etc.) within the platform. |
| `CONTENTSQUARE_MCP_RECOMMEND_PAGE_GROUPS` | Recommendpagegroups | Recommend page groups based on user engagement and usage frequency (how often page groups are viewed, used in analyses, etc.) within the platform. |
| `CONTENTSQUARE_MCP_RECOMMEND_SEGMENTS` | Recommendsegments | Recommend segments based on user engagement and usage frequency (how often segments are viewed, used in analyses, etc.) within the platform. A project with no recent engagement data falls back to the most recently updated segments instead. - This tool cannot page. When `total` exceeds `returned`, raise `limit` instead |
| `CONTENTSQUARE_MCP_SEARCH_GOALS` | Searchgoals | Search and retrieve goals for a project. |
| `CONTENTSQUARE_MCP_SEARCH_MAPPINGS` | Searchmappings | Search and retrieve mappings for a project. |
| `CONTENTSQUARE_MCP_SEARCH_SEGMENTS` | Searchsegments | Search and retrieve segments for a project, optionally filtered by name. - To find a segment by name, pass `text` rather than listing segments and scanning the result: the filter is applied before any row limit, so a filtered answer is complete even on a project too large to list. Pass one contiguous fragment of the name, not several words that may not be adjacent - NEVER describe a segment list as complete unless `offset` plus `returned` equals `total` — on a single call `offset` is 0, and while paging it is the position of the page in hand. `returned` counts one page, so on its own it reaches `total` only when the whole list fits in one - When a response carries `nextOffset`, pass it back as `offset` to read the next page; its absence means no further page can be read — which is not the same as having reached `total` - Every page of a large project costs a full read of it, so do not walk one in default-sized pages: narrow with `text` where the task allows it, and where the whole list is genuinely needed raise `limit` so it arrives in as few calls as possible |
| `CONTENTSQUARE_MCP_SUBMIT_MCP_FEEDBACK` | Submitmcpfeedback | Submit feedback about your MCP server experience. Help us improve by rating tools and sharing your thoughts! |

## Supported Triggers

None listed.

## Troubleshooting

### Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

### Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

### Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See [Composio pricing](/pricing) for the current limits that apply to your connection.

## Complete Code

None listed.

## Conclusion

### Use Contentsquare from Atomic Agent
With your account connected, ask Atomic Agent to work with Contentsquare in natural language. You can connect more apps through the same Composio integration as you need them.
Visit the [Atomic Agent website](https://atomicagent.io/?cta_placement=atomic-agent-site) or inspect the [Atomic Agent source code](https://github.com/AtomicBot-ai/atomic-agent?cta_placement=atomic-agent-repo).

## How to build Contentsquare MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/contentsquare_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/contentsquare_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/contentsquare_mcp/framework/hermes-agent)

## Related Toolkits

- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.
- [Akta](https://composio.dev/toolkits/akta) - Akta is a company intelligence platform providing enrichment, news, and alternative business signals. It helps teams build targeted company lists and enrich data-driven workflows.
- [Amplitude](https://composio.dev/toolkits/amplitude) - Amplitude is a digital analytics platform for product and behavioral data insights. It helps teams analyze user journeys and make data-driven decisions quickly.
- [Amplitude MCP](https://composio.dev/toolkits/amplitude_mcp) - Amplitude MCP is Amplitude's product analytics service for tracking user behavior and product metrics. Use it to centralize product data and manage charts, dashboards, cohorts, experiments, and taxonomy.
- [Audioscrape MCP](https://composio.dev/toolkits/audioscrape_mcp) - Audioscrape MCP lets agents search and retrieve speaker-attributed audio, transcripts, entities, and citations from public and workspace content. Use it to surface searchable, speaker-labeled audio and rich metadata for research, meetings, and content discovery.
- [Baremetrics](https://composio.dev/toolkits/baremetrics) - Baremetrics is a subscription analytics platform for recurring-revenue businesses. It helps teams track MRR, churn, customers, and revenue trends in one place.
- [Bing Webmaster Tools](https://composio.dev/toolkits/bing_webmaster_tools) - Bing Webmaster Tools is Microsoft's search console for site performance, crawling, indexing, URL submission, and verified site management. It helps site owners understand Bing Search visibility and fix issues that affect organic traffic.
- [Bread & Butter](https://composio.dev/toolkits/bread_butter) - Bread & Butter is a lead-intelligence and identity platform for website visitor tracking, user profiles, attribution, authentication, and conversion workflows. It helps teams understand who is visiting, where leads come from, and how users convert.
- [Bright Data MCP](https://composio.dev/toolkits/brightdata_mcp) - Bright Data MCP is an AI-powered web scraping and data collection platform. Instantly access public web data in real time with advanced scraping tools.
- [Browseai](https://composio.dev/toolkits/browseai) - Browseai is a web automation and data extraction platform that turns any website into an API. It's perfect for monitoring websites and retrieving structured data without manual scraping.
- [BSC Designer](https://composio.dev/toolkits/bsc_designer) - BSC Designer is a strategy execution platform for balanced scorecards, KPIs, dashboards, and strategy maps. It helps teams turn goals into measurable performance plans they can track over time.
- [Chameleon](https://composio.dev/toolkits/chameleon) - Chameleon is a product adoption platform for building in-app experiences, managing customer data, and analyzing user engagement. It helps teams improve onboarding, feature discovery, and product adoption with targeted user experiences.
- [Chartly](https://composio.dev/toolkits/chartly) - Chartly renders Chart.js configurations as PNG or SVG images and creates permanent chart URLs for sharing and embedding. Share and embed charts easily with stable image URLs and downloadable vector graphics.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Contentsquare MCP?

With a standalone Contentsquare MCP server, the agents and LLMs can only access a fixed set of Contentsquare tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Contentsquare and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Atomic Agent?

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Contentsquare tools.

### Can I manage the permissions and scopes for Contentsquare while using Tool Router?

Yes, absolutely. You can configure which Contentsquare scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Contentsquare data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
