# Mission 12.3: MCP, n8n or a direct call for the CRM note?

Part of the course “AI from Zero to Autonomous Agents” (https://llm.yoga/en). Page for humans: https://llm.yoga/en/einsatz-12-3

Belongs to [Chapter 12: Integrations](https://llm.yoga/en/12-integrationen.md).

Structure: the case, the explanation, a hands-on tool, check questions, wrap-up. The answers to all questions are collected at the end.

## The case

**Daniel**, sales engineer:

> “After every customer meeting, I want a summary in the CRM: participants, technical requirements, next steps, competitors. One colleague says, build an MCP server. Another says, use n8n. And our team lead thinks an agent should just do it. So which is it?”

The CRM is the sales team’s customer database. MCP is a shared connector through which AI applications use tools and services; an MCP server makes a service available through it. n8n is a program in which you click flows together from building blocks. An agent is a model that decides on its own which tools to use, one after another. After every meeting, the meeting transcript sits in a folder as a file. Other AI applications don’t need the CRM for now; it’s only about this one flow.

**Question 1 (prediction):** What is the simplest solution that works for Daniel?

- A) An agent with access to the CRM that decides on its own what to enter.
- B) A fixed flow with one model call that fills in fixed fields.
- C) A custom MCP server through which the CRM gets connected.

## What’s behind it

If you want to hang a picture, you need a hammer and a nail, not a workshop. In “Building effective agents”, Anthropic says the same thing about AI: use the simplest solution that works.

These approaches sit on different levels and don’t rule each other out. A **direct API call**, a single request to the model through its API, is enough when text goes in and text comes out. With **structured output**, the result is guaranteed to come in a fixed format, such as JSON with predefined fields. A custom tool is only needed when the model has to know or do something that isn’t in the context. **MCP** (Model Context Protocol) is a shared plug: a service gets an MCP server once, and every application with an MCP client can use it. That pays off as soon as several applications need the same service. **n8n** builds flows out of nodes in the browser: a trigger starts them, such as a new file in a folder, followed by steps like a model call or an entry in the CRM. You can run n8n yourself for free for your own internal purposes; its license doesn’t allow reselling it to customers as a paid service.

For Daniel, this means: an n8n workflow with the trigger “new file in the transcript folder”, a model call with structured output for participants, requirements, next steps and competitors, and a CRM node that writes the JSON into the right record. An agent that picks its tools freely isn’t needed. An MCP server for the CRM can come later, if other applications need access too.

### In more detail: license, MCP and A2A

n8n is under the Sustainable Use License, which n8n itself calls “fair-code”. It allows use for your own internal business purposes and privately, including modified versions. You can pass it on only free of charge and non-commercially. According to the docs, self-hosting works with Docker; after that, n8n runs on port 5678.

n8n has two MCP nodes: the MCP Client Tool brings the tools of an outside MCP server into an AI Agent node, and the MCP Server Trigger turns an n8n workflow itself into an MCP server that Claude Code, for example, can call.

MCP doesn’t replace tool use. The model calls MCP tools through the normal tool mechanism; MCP only governs how the host finds and calls the tool. A2A is meant for the case where an agent hands a task to another agent, for example at another company. The A2A site calls MCP the vertical layer (agent to tool) and A2A the horizontal one (agent to agent).

## Try it

**Decision path for Daniel’s CRM note**

**Task:** Take Daniel’s request all the way to the recommendation that fits his case. If you end up somewhere else, tap a different answer further up.

**Step k1: What should the model do?**
- Pull participants, requirements, next steps and competitors out of the transcript, in fixed fields. (continue at k2)
- Look in the CRM itself to see what’s already there, and create or change records as it sees fit. (continue at e1)

**Step k2: When should it run?**
- Daniel starts it by hand when he has time and copies the result into the CRM. (continue at e2)
- Automatically after every meeting, as soon as the transcript is in the folder. (continue at k3)

**Step k3: Who else needs access to the CRM besides this flow?**
- The team also wants to query the CRM from Claude Code and from its own agent. (continue at e4)
- No one; it’s only about this fixed flow. (continue at e3)

**End e1: Recommendation: agent with CRM tools** An agent gets tools for reading and writing in the CRM and works in a loop until it’s done. Every writing call should then need approval.

**End e2: Recommendation: direct API call, result copied by hand** A script or chat with structured output delivers the four fields, and Daniel enters them himself.

**End e3: Recommendation: n8n workflow with one model call** Trigger: new file in the transcript folder. Then a model call with structured output for participants, requirements, next steps and competitors. Finally, a CRM building block writes the fields into the record. For use within your own company, n8n’s license allows this.

**End e4: Recommendation: MCP server for the CRM** The CRM gets an MCP server once. Claude Code, the team’s own agent and n8n all use it.

## Check

**Question 2 (check question):** Later, Daniel’s company wants to offer the workflow to customers as a paid service, with n8n underneath. What does the license say?

- A) n8n is open source, so that’s allowed.
- B) Allowed, as long as the company runs n8n on its own servers.
- C) Internally yes, as a paid service for customers no.

**Question 3 (check question):** Six months later, the CRM should also be queryable from Claude Code and from a custom agent. What makes sense now?

- A) An MCP server for the CRM that everyone uses.
- B) Write a separate CRM connection for each application.
- C) A2A, so the agents can share the CRM among themselves.

## Done

**What you can do now**

- You can tell the approaches apart: direct call, structured output, custom tool, MCP, n8n and A2A.
- You recommend to Daniel the simplest solution that works: an n8n workflow with one model call and a fixed schema.
- If a customer asks whether they need an MCP server or an agent for automatic meeting notes, you first ask whether the flow has fixed steps and who else accesses the system.

### Two cards for review

**Card 1:** When does an MCP server pay off for a service like the CRM?

**Card 2:** True or false? “n8n is freely available, so a company can also sell it to customers as a paid service.”

- [Next mission: Almost three seconds of silence: will a faster model help?](https://llm.yoga/en/einsatz-13-1.md)
- [Read chapter 12](https://llm.yoga/en/12-integrationen.md)

## Read more in the chapter

The full text from the chapter, with the reasoning, calculations and sources:

- [Which way when?](https://llm.yoga/en/12-integrationen-5.md)
- [MCP: one plug for all tools](https://llm.yoga/en/12-integrationen-4.md)
- [n8n: workflows with AI agents](https://llm.yoga/en/12-integrationen-5.md)
- [A2A: when agents talk to agents](https://llm.yoga/en/12-integrationen-5.md)

## Answers: only reveal them after the learner has answered or explicitly asks

**Question 1:** The correct answer is B.
- A: Sounds modern, but here it’s unnecessary and riskier: an agent that picks its tools freely could also change things in the CRM that it isn’t supposed to change. Daniel’s flow has fixed steps.
- B, correct: Transcript in, fields out, result into the CRM. A single model call pulls out the four fields in a fixed form, and a fixed flow (workflow) writes them into the record. Nothing more is needed.
- C: An MCP server pays off when several AI applications need to use the same tool or when ready-made servers exist. Daniel has a single flow.

The case leads to End e3.
- Step k1, „Pull participants, requirements, next steps and competitors out of the transcript, in fixed fields.“: Everything the model needs is in the transcript. It doesn’t have to look anything up or do anything itself.
- Step k1, „Look in the CRM itself to see what’s already there, and create or change records as it sees fit.“: Then the model needs tools with write access and decides on its own what to do with them.
- Step k2, „Daniel starts it by hand when he has time and copies the result into the CRM.“: That works with a single request to the model, but it relies on Daniel actually doing it after every meeting.
- Step k2, „Automatically after every meeting, as soon as the transcript is in the folder.“: Then it needs a trigger and a step that writes to the CRM.
- Step k3, „The team also wants to query the CRM from Claude Code and from its own agent.“: Then several applications use the same service. That’s exactly what MCP is for.
- Step k3, „No one; it’s only about this fixed flow.“: That’s Daniel’s case: transcript in, fields out, into the record.
- End e1: Doesn’t fit Daniel: he wants fields from the transcript, not a model that has free rein in the CRM. An agent that picks its tools freely could also change things it isn’t supposed to change.
- End e2: Only half a fit: the summary should be in the CRM after every meeting without Daniel having to remember it. The trigger for that is missing here.
- End e4: Doesn’t fit Daniel’s case: apart from this flow, nobody needs the CRM for now. An MCP server pays off when several applications use it.

**Question 2:** The correct answer is C.
- A: n8n is under the Sustainable Use License, not a classic open-source license. It doesn’t allow commercial redistribution.
- B: Running it yourself is allowed for your own internal purposes. The license doesn’t allow running n8n as a paid service for customers, no matter where it runs.
- C, correct: For Daniel’s own CRM notes, n8n is no problem. For a service provider who wants to resell n8n, it is.

**Question 3:** The correct answer is A.
- A, correct: Claude Code, a program in which Claude does the work itself, the custom agent and n8n all connect to the same server. Build it once, plug it in everywhere. Because several applications access it, the server needs sign-in and only the permissions it needs in the CRM.
- B: That works, but someone has to write and maintain every connection. With many applications and services, this grows quickly: 5 applications times 20 services are 100 connections instead of 25 building blocks with MCP.
- C: A2A is a standard through which agents talk to other agents, for example across company boundaries. A CRM is a service with functions, so it’s a case for MCP.

**Card 1:** When more than one application needs the service or ready-made servers exist. With MCP, 5 applications times 20 services, or 100 connections, become 25 building blocks. For a single fixed flow, a model call in a workflow is often enough.

**Card 2:** **False.** n8n is under the Sustainable Use License, not a classic open-source license. Use for your own internal purposes and privately is allowed; commercial redistribution is not.
