How to decide between an MCP server and in-app agent

Ben Clarke
Ben Clarke Founder, Agenta ·

A common topic of debate among B2B SaaS teams is: should we build an MCP server or in-app agent first? Before November 2025, an MCP server was a pre-requisite for an in-app agent, but with code mode, in-app agents can be created from OpenAPI specs.

This post summarises my learnings from discussions with 10+ B2B SaaS teams into 7 high-level themes to help you decide whether you should prioritise an MCP server or in-app agent: MCP permissions & AI assistants, additional value, product integration, difficulty, product analytics, cost, and distribution.

MCP permissions & AI assistants

To start with, a question that is often forgotten about: do your users have permission to add custom MCP servers? If they have permission to add custom MCP servers, do they have access to the best AI assistants? If they use ChatGPT, Claude, or Gemini they probably do. If they use Copilot… they probably don’t.

In general, users in SMEs are more likely to meet the requirements to benefit from MCP servers compared to enterprise users. This doesn’t mean that you shouldn’t build an MCP server if most of your users are in enterprises. It’s just worth bearing in mind that your experience using MCP servers in ChatGPT or Claude is going to be different from an enterprise user who needs IT permission to use them in Copilot.

Additional value

AI assistants often have access to a user’s files and data in other products, so the more your product benefits from context and data that it doesn’t already have, the more value an MCP server will add to your product. Horizontal products, e.g. CRMs, marketing tools, etc. tend to benefit more from this than vertical products, e.g. industry specific tools.

An in-app agent will add value to your product through doing tasks for your users that they normally do manually and answering questions about your product when they get stuck. In-app agents can support file upload and download, but your users would have to find and upload files themselves, and it’s often difficult or impractical to upload data from other products. AI assistants like ChatGPT and Claude will also be able to answer questions about your product, and if you build an MCP server, do tasks for your users.

Because of this, MCP servers have the potential to add more value to your product because an AI assistant with an MCP server can do about as much as an in-app agent, but MCP servers make it easier to use context and data in other products with your product.

Product integration

Because in-app agents are integrated into your product, they can interact with it and generate custom user interfaces in it. For example, an in-app agent could help a user navigate your product by drawing circles around different buttons, or generate custom dashboards for them. In-app agents are also more convenient for users that are in your product. Both of these points assume that your users want to continue using your product’s user interface, as opposed to using it directly from their AI assistant!

Difficulty

It’s 5x harder to build a good in-app agent than a good MCP server. To build a good MCP server, you need to convert your low-level APIs into high-level tools, host the server, and set up auth. Your users’ AI assistant (ChatGPT, Claude, Codex, etc.) is 80% of the experience. Codex is 1M+ lines of code and provides the system prompt, the chat interface, message history, context management, tool orchestration, scheduled chats, file support, auth and permissions, sandboxing, and more.

To build a good in-app agent, it’s up to you to provide that 80% of the experience. Open-source frameworks and front-end libraries will get you halfway there, but most companies fail to get much further than that. In-app agents also need specific software, user, and industry knowledge to reach their full potential.

If you decide to build an in-app agent, the experience should be at least as good as in an AI assistant. Bad in-app agents are a big source of people’s hate for in-app agents, don’t be part of the reason people hate in-app agents!

Product analytics

An in-app agent gives you rich product analytics: you can see exactly what the user is trying to accomplish in their own words, including questions they ask when they get stuck. An MCP server will only give you the API calls that were made, not the queries that prompted the agent to call them.

In-app agents are also a powerful mechanism to improve your APIs or MCP server, you can see which APIs are commonly called together, what confuses the agent, and catch bugs that don’t throw errors. PostHog had the ingenious idea to add an agent_feedback tool to their MCP server, which partially levels the playing field, but you still don’t get the chat logs and it relies on the user’s AI assistant using it and recognising when there’s a problem.

Cost

An MCP server’s biggest cost is development time, it has negligible compute costs. An in-app agent costs 5x more development time, and LLM token costs could be significant! You can charge for both, but charging for an in-app agent is more tolerated than charging for an MCP server.

My personal preference for in-app agents is to include X credits with every subscription, and charge for usage when they run out. This is because some users might just want to use the in-app agent occasionally to complete a task or ask a question. For these users, the value that they gain in time savings and convenience and the value that you gain in activation, conversion, retention, and product analytics far outweighs the LLM token cost. However, at some point the value that you gain is outweighed by the LLM token cost, and by charging for usage, it’s fair for your users and your costs are predictable. It’s also now possible to allow your users to use their OpenAI and Anthropic subscriptions with your product, which is another option.

Distribution

An MCP server can be published to ChatGPT, Claude, and Copilot marketplace, whereas an in-app agent can be published to Slack, Teams, and Google marketplace. Therefore, an MCP server is the better choice if more of your users use ChatGPT, Claude, and Copilot, whereas an in-app agent is the better choice if more of your users use Slack, Teams, and Gemini Enterprise. Lastly, although it’s unlikely that new users will discover your product in these marketplaces, Slack and Teams agents can help with expansion through group chats.

Conclusion

To conclude, this post summarises my learnings into 7 high-level themes to help you decide whether you should prioritise an MCP server or in-app agent:

MCP permissions & AI assistants

Your users might not be able to use custom MCP servers or have access to the best AI assistants. Users in SMEs are more likely to meet the requirements to benefit from MCP servers than enterprise users.

Additional value

MCP servers have the potential to add more value to your product than in-app agents, because they make it easier to use context and data in other products with your product. Horizontal products typically benefit more from this than vertical products.

Product integration

In-app agents can be used to interact with and generate custom user interfaces in your product, and are more convenient.

Difficulty

It’s 5x harder to build a good in-app agent than a good MCP server because the AI assistant is 80% of the experience. To build a good in-app agent, you need to provide the 80%.

Product analytics

In-app agents give you rich product analytics and are a powerful mechanism to improve your APIs or MCP server. To allow AI assistants to report problems with your MCP server, add an agent_feedback tool!

Cost

MCP servers require development time but are basically free to run, in-app agents require 5x more development time and LLM token costs could be significant. My personal preference for in-app agents is to include X credits with every subscription, because the value that you gain far outweighs the LLM token cost.

Distribution

MCP servers can be published to ChatGPT, Claude, and Copilot marketplace, whereas in-app agents can be published to Slack, Teams, and Google marketplace. Neither is likely to help with discovery, but Slack and Teams agents can help with expansion.

In most cases, you should probably build an MCP server first because they have the potential to add more value to your product and they’re 5x easier to build. If a significant number of your users don’t have permission to add custom MCP servers or use Copilot, it might make more sense to prioritise an in-app agent.

Build an industry‑leading in‑app agent for your B2B SaaS product without an AI team

Create an AI agent from your existing APIs or MCP server that your customers can use to ask questions and do workflows in your product. Start with a side panel, and publish to Slack, Teams, Copilot, and Gemini Enterprise when you're ready

Publishes to