Knowledge and integrations

AI Documentation and Integrations: Connecting AI to the Tools You Already Use

An AI is only as useful as the systems it can reach and the documents it can understand. This guide covers how connections work, how to keep them narrow, and what to write down.

What a connection really does

On its own, a chat model can only talk. It cannot see your calendar, open a customer record or look up an invoice. Everything useful about an AI agent comes from the connections you give it.

Take one ordinary email: a customer asks whether their invoice was paid. A person would open the inbox, the customer system and the accounting system, write a reply and leave a note. Here is the same job as a connected workflow.

One customer email, across four systems

  1. Notice

    • New email triggers the flow
    • Sender is matched to a customer record
    Rule
  2. Understand

    • Reads the request
    • Looks up the invoice status, read-only
    AI
  3. Draft

    • Writes a reply from the facts found
    • Flags anything it could not confirm
    AI
  4. Approve

    • Reads the draft and the sources
    • Sends, edits or takes over
    Person
  5. Record

    • Saves a note on the customer record
    • Logs who approved what
    Rule
An invented example. Rules do the fixed steps, AI handles the wording, and a person approves anything that reaches the customer.

Three terms cover most of this. An API is a published way for one program to ask another for data or to do something. A webhook is an alert in the other direction: a system sends a request to your address the moment something happens. A connector is a ready-made package around an API, so nobody has to write that code.

Webhooks need checking, since anyone can send a request to a public address. Twilio signs its webhooks, and your app should verify that signature before it responds.[12] It is a small detail, and typical of integration work: most of the effort goes into what happens when things are not as expected.

Notice what the map does not show. The AI never received the right to send, pay or change anything on its own. That is a design choice, made before any technical work began.

Four ways to connect, and how to choose

The main connection types

Way to connectHow it worksBest forWatch for
Built-in connectorYou switch it on inside an AI app or suite.Reading mail, files and calendars for a team.What it can reach by default, and how long the app keeps the data.
Workflow toolFixed steps in Zapier, Make or n8n, with an optional AI step.Clear, repeatable jobs between systems with connectors.It breaks on cases nobody planned for. Pricing is usually per task or run.
Direct API buildCustom code talks to the system’s API.Tight rules, unusual systems or high volume.You own the upkeep when the API changes.
MCP serverA standard interface that lets an AI app find and use a system’s tools.An agent using several tools in a varying order.Quality and security vary by server.
Our summary of common options. Most projects use more than one.

Microsoft’s advice on agent design is the right default: use the lowest level of complexity that reliably meets your requirements.[22] In practice, three questions do most of the sorting.

  1. Does the AI only need to read? Start with a built-in connector if a good one exists. If the job is really about finding answers in documents, a RAG system may be what you want.
  2. Are the steps the same every time? Use a workflow tool or plain code, and add an AI step only where someone would otherwise read or judge something. Our comparison of automation and agents goes deeper.
  3. Does the order change with the case? Then an agent with several tools may be justified, and MCP becomes worth a look.

A common pattern among practitioners is a fixed workflow on the outside with a single AI step inside, where judgment is needed. It is easy to test and predictable to run, because the AI has only one job and no say over what happens next.

MCP in plain terms

The Model Context Protocol, or MCP, is an open-source standard for connecting AI applications to external systems. Its own documentation compares it to a USB-C port.[1] Before it, connecting an AI app to a tool usually took a custom link. With it, a system can publish one server and many AI apps can use it.

It has three parts.[2]

  • Host: the AI application a person uses.
  • Client: the connector inside that application.
  • Server: the service that offers data and actions, such as “look up a contact” or “create a task”.

People often confuse MCP with two neighbors. An MCP server usually sits in front of an existing API, adding a standard way for AI apps to discover and call it, so the two work together. And RAG finds information while MCP connects tools. A company knowledge system might reach some of its sources through MCP, but one does not replace the other.

Where MCP stands, as of November 2026

  • The latest specification is dated July 28, 2026. Its biggest change made the protocol stateless, so any server instance can answer any request, which makes hosted servers simpler to run.[3]
  • Anthropic donated MCP to the Agentic AI Foundation under the Linux Foundation in December 2025.[6] Technical decisions still rest with a group of lead maintainers.[5]
  • There is now a minimum twelve-month deprecation window, which matters if you are building on it.[3]
  • The project reports close to half a billion SDK downloads a month.[4] That number is self-reported and includes automated installs, so it shows momentum, not a count of users.

What is available

Support varies, and what follows is a sample rather than a market scan. HubSpot describes a remote MCP server with read and write access to core CRM objects, though its page contradicts itself on write access and looks out of date in places.[11] Microsoft’s Dynamics 365 ERP server runs as the signed-in user.[10] Asana has one too, and we come back to it below. For accounting and other tools, check with the vendor directly: a repository that looks official may not be supported, and vendor pages move fast.

MCP will not keep you safe by itself. The specification says plainly that the protocol cannot enforce security principles.[2] Authorization is optional for implementations,[8] and tool descriptions count as untrusted unless they come from a trusted server.[2] Treat each MCP server like any other piece of software you are about to give access to your business.

Give it the least access that does the job

OWASP, the security community behind the best-known list of AI risks, names this risk excessive agency and breaks it into three parts: too much functionality, too many permissions and too much autonomy.[9] Its 2026 list moved the risk up to third place.[23] Each part has its own remedy, and the remedies stack.

Where the limits belong

  1. The personAsks · Approves · Can stop it
  2. The AI appModel · Instructions · Decides which tool to try
  3. The connector or MCP serverOnly the tools this job needs · Narrow scopes · Rate limits
  4. Your system’s own permissionsUser roles · Business rules · The final say on what is allowed
  5. The audit logWho · What · When · Which records
The AI’s instructions are the weakest layer, because a model can be confused or misled. The layers below it hold even when the model is wrong.

Four rules that do most of the work

  • Enforce limits in the system, not the prompt. Microsoft’s Dynamics 365 documentation is a good model: the ERP’s own security enforces authorization, business rules still run, and the user can never do more through the MCP server than in the normal app.[10]
  • Offer narrow tools. “Mark this invoice as reviewed” is much safer than “run any database command”. If a tool cannot do the harmful thing, no prompt can talk it into doing so.
  • Keep scopes tight. The MCP guidance warns that poor scope design increases the damage from a stolen token, and names wildcard scopes such as “all” and “full-access” as common mistakes.[7]
  • Act as the real person where you can. A shared admin account means the AI can see everything and the log cannot tell you who asked. The MCP guidance forbids passing a user’s token through a server without checking it was issued to that server, partly because logs may then show the wrong identity.[7]

A ladder, one rung at a time

Access should grow with evidence. Most connections can follow the same four rungs.

  1. Read. The AI looks things up. The worst case is that it sees too much, so scope that carefully.
  2. Draft. It prepares an email, a record or an entry, and a person submits it.
  3. Act with approval. It carries out the action after someone clicks approve, and the log records who did.
  4. Act alone, within limits. Only for low-stakes, reversible actions that have proved reliable, with caps and alerts.

Some actions never reach the last rung. In our systems, people approve anything that moves money, reaches a customer or cannot be undone. Our human-in-the-loop guide explains how to make that approval step real and not a rubber stamp.

Two incidents worth studying

Both of these happened to serious companies, and neither was caused by a careless customer.

Together they correct two common assumptions: that read-only access is harmless, and that the danger only comes from outside the tools you trust. Anything the AI reads, including inbound email, can carry instructions, a problem known as prompt injection. If one assistant can both read untrusted content and reach sensitive data, assume someone will try to connect the two. Our security guide covers the defenses.

Documentation: the half nobody budgets for

Integration projects can stall on writing as easily as on code. Two kinds of writing matter: documents the AI reads, and documents about the AI.

Documents the AI reads

A person can skim a messy policy and work out what it means. A retrieval system splits it into pieces and judges each piece on its own. So writing that helps search is mostly writing that lets a passage stand alone.

The same refund policy, rewritten for retrieval

Hard to retrieve

  1. File named “Policy_final_v3_NEW”
  2. Three pages of prose covering refunds, returns and shipping
  3. Says “see above” and “as noted earlier”
  4. No owner and no date
  5. Two other copies in other folders

Easy to retrieve

  1. Titled “Refund policy for annual contracts”
  2. Opens with a short summary, one topic per page
  3. Each rule names what it covers
  4. Owner, document type and review date in the metadata
  5. One copy, with the others archived
An invented example, following Microsoft’s published guidance for content that AI assistants will read.

Microsoft’s guidance is a good checklist, even if you never use Copilot.[16]

  • Start every article with a summary.
  • Use consistent heading styles and one topic per page.
  • Prefer lists to dense paragraphs, and use descriptive titles and links.
  • Record region, document type, owner and review date.
  • Keep one authoritative copy and archive the rest.

Length matters as well. Microsoft suggests keeping files on SharePoint sites and folders to 36,000 characters, about 15 to 20 pages.[17] Take that as a Copilot limit rather than a universal one, but a long file covering many topics is hard for any system to search. Microsoft’s pages also disagree about tables, with an older one saying Copilot cannot parse them[17] and a newer one saying to use them sparingly.[16] The safe course is to state key facts in text as well as in any table.

Documents about the AI: the runbook

A runbook says how a system runs and what to do when it misbehaves. No authoritative standard exists for runbooks for AI systems, so what follows is our view, assembled from sourced parts.

  • Owner and purpose: who is responsible, and what this system is for.
  • Data sources: what it connects to, and with which permissions.
  • Limits: what it may and may not do, and where a person must approve.
  • Stop: how to turn it off, and who is allowed to.
  • Evidence: how to read the logs, where the test set lives and when it last ran.
  • Renewal: when credentials expire, and when this document is next reviewed.

Three outside ideas shaped that list. Anthropic’s guidance on tools for agents is to write as you would for a new hire and make implicit context explicit.[18] AGENTS.md, an open format for guiding coding agents, shows the value of a predictable file in a known place, though it is for software projects, so take it as an analogy.[19] And Google’s SRE book reports roughly a threefold improvement in recovery time from written playbooks.[20] That approximate figure is for human on-call engineers at Google, not AI systems, but the logic carries over: recovery steps written calmly in advance beat those improvised during a failure.

Keep knowledge separate from instructions as well. A policy document is material for the AI to read. The rules for how it behaves belong in configuration that staff cannot change by editing a shared file.

Logs are how you find out what happened

If an AI changes a record, you should be able to say who asked, what it read, what it did and who approved it. Microsoft’s Copilot audit record is a useful benchmark to hold other vendors to: it shows who, when and where, the resources accessed, their sensitivity label and the type of action, such as read, create or modify.[15] Retention is worth asking about too. Microsoft keeps audit logs for non-Microsoft AI apps for 180 days under pay-as-you-go billing.[15]

Check the client as well as the server. The Dynamics 365 documentation warns that data retention outside the ERP depends on the agent client being used.[10] A careful server does not help if the app calling it keeps a copy somewhere you did not plan for. In the systems we build, your data stays in your accounts.

Questions to ask before you connect anything

Use these with any vendor, including us. A serious provider will answer them without much trouble.

  1. What exactly can this connection read, write and delete? Show me the scopes.
  2. Does it act as the signed-in person or as a shared account?
  3. Where are limits enforced: in the model’s instructions, or in the system itself?
  4. Which actions need a person’s approval, and can we change that list?
  5. What happens to the data after the call? Who keeps it, where and for how long?
  6. Can we see a log of every read and action, under the right name?
  7. How are customers kept apart, and how would you tell us about an incident?
  8. How do we switch it off, and who has the runbook?

If you want help mapping this out, our two-week AI Assessment looks at which systems matter and what is worth connecting, and its fee is credited toward a pilot. For document-heavy work, see Document Processing. For agents working across your tools, see AI Agents and Automation.

Questions

Is MCP an API?

Not quite. It is a standard way for AI applications to find and use tools, and an MCP server often sits on top of an existing API. The API does the work in the underlying system, while MCP gives AI apps one common way to reach it.

Is MCP going away?

There is no sign of that as of November 2026. The specification was revised in July 2026, governance sits under the Linux Foundation, and a twelve-month minimum deprecation window now applies.[3] Standards do change, so keep your business logic out of any one connector.

Is an MCP server secure by default?

No. Authorization is optional in MCP,[8] and the protocol cannot enforce security on its own.[2] Security depends on the server you choose, the scopes you grant and the limits in the system behind it.

Can AI connect to our CRM and accounting system?

Usually, by connector, workflow tool, API or MCP, though options differ by product and plan. Reading is the easy part. The real design work is deciding what it may change and who approves that.

Should the AI use a shared admin account?

Avoid it. A shared account gives the AI more reach than most of the people using it, and the log cannot show who asked for what. Where you must use a service account, keep it narrow and limited to one job.

Do we need to rewrite all our documentation?

No. Start with the documents behind the questions people ask most, and tidy those first: one current copy, a clear title, a summary, an owner. Unanswered questions then tell you what to fix next.

What is llms.txt, and do we need one?

It is an informal community proposal for helping AI tools read public websites, not a standard.[21] It does nothing for internal documents, so it is not a priority for most company knowledge projects.

Are webhooks better than checking on a schedule?

They suit events you want to act on right away, like a new call or form. Checking on a schedule can be simpler for slow-moving data and works where no webhook exists. We know of no solid data comparing the two, so choose by how fast the job needs to react.

Sources

  1. Model Context Protocol project, What is the Model Context Protocol?, Read November 2026.
  2. Model Context Protocol project, Model Context Protocol specification, Read November 2026.
  3. Model Context Protocol project, Key Changes, specification revision 2026-07-28, July 2026.
  4. Model Context Protocol blog, The 2026-07-28 Specification, July 2026.
  5. Model Context Protocol project, Governance, Read November 2026.
  6. Anthropic (vendor), Donating the Model Context Protocol and establishing the Agentic AI Foundation, December 2025.
  7. Model Context Protocol project, Security best practices, July 2026.
  8. Model Context Protocol project, Authorization, July 2026.
  9. OWASP GenAI Security Project, LLM06:2025 Excessive Agency, 2025.
  10. Microsoft Learn, Security for Dynamics 365 ERP MCP, Read November 2026.
  11. HubSpot Developers, HubSpot MCP Server, Read November 2026.
  12. Twilio, Webhooks security, Read November 2026.
  13. BleepingComputer, Asana warns MCP AI feature exposed customer data to other orgs, June 2025.
  14. Reddy and Gujral, arXiv, EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM System (preprint), September 2025.
  15. Microsoft Learn, Audit logs for Copilot and AI applications, August 2026.
  16. Microsoft Learn, Optimizing SharePoint content for Employee Self-Service agents, October 2026.
  17. Microsoft Learn, Optimize content retrieval, August 2025.
  18. Anthropic (vendor), Writing effective tools for agents, with agents, September 2025.
  19. agents.md, AGENTS.md, Undated, read November 2026.
  20. Google, O’Reilly Media, Site Reliability Engineering, Chapter 1: Introduction, 2017.
  21. Jeremy Howard, llmstxt.org, The /llms.txt file, v2, Updated August 2026.
  22. Microsoft Learn, AI agent orchestration patterns, Read November 2026.
  23. OWASP GenAI Security Project, OWASP GenAI Security Project unveils 2026 Top 10 for LLM applications, September 2026.
A practical place to start

See where AI fits in your business.

In two weeks we map how your business runs, where AI helps and where it does not, and hand you a written plan.