AVAAVA Docs
Documentation menu

How MCP works in AVA

MCP (Model Context Protocol) is the open standard AVA uses to reach tools that live outside itself. An MCP server publishes a list of tools — each with a name, a description and a JSON input schema — and AVA calls them on your behalf during a conversation or a scheduled task.

This section is the complete admin guide: what the three kinds of MCP server in AVA are, how a request actually travels, and step-by-step setup for a vendor-hosted server, a server you build yourself, and Microsoft Fabric data agents.

The three kinds of MCP server

AVA does not treat every tool source the same way. Knowing which of the three you are dealing with tells you where it is configured, who holds the credential, and what it is allowed to do.

Built-in serversInstalled remote serversFabric data agents
What it isServers shipped inside AVAAny third-party or self-hosted MCP serverA published Microsoft Fabric data agent
ExamplesMicrosoft 365, Salesforce, Jira/Confluence, GitHub, NetSuite, Dynamics, knowledge searchSumo Logic, ZoomInfo, HubSpot, Vanta, your own service"Terminal Ops", "Revenue Warehouse"
Added byShips with AVA; you enable itAdmin pastes a URLAdmin pastes the agent's MCP URL
Configured inSettings → ConnectorsAdmin → Tools & Skills → MCP serversAdmin → Tools & Skills → Fabric agents
CredentialPer-user OAuth to the vendorPer-user OAuth, or one credential for the whole deploymentThe signed-in user's Microsoft session
Tool surfaceCurated and tuned by DataRMWhatever the server publishesOne question-answering tool per agent

Note

AVA once had a separate "public MCP" source type. It has been removed. Today every external MCP server — vendor-hosted or self-hosted, anonymous or authenticated — is added the same way, through Admin → Tools & Skills → MCP servers. What differs between them is only which authentication strategy they use.

What an installed MCP server actually is

When an admin adds a server, AVA creates an installation: the endpoint URL, the authentication configuration, a display name, and an availability policy. The installation also appears as a connected data source, which is how users see and select it in a conversation.

An installation on its own has no tools. Tools come from a snapshot — the result of AVA connecting to the server, running tools/list, and recording every tool it published, with a version number. Refreshing tools writes a new snapshot; the previous one is superseded. This is why a server can be present but list nothing: nobody has signed in yet, so no snapshot could be taken.

The lifecycle

1

Draft

The admin has pasted a URL and chosen how sign-in works. Nothing is live; no tool can be called.
2

Credential

Either the admin signs in (per-user OAuth), or a stored credential is created at install time (API token, client credentials), or the server needs none.
3

Probe

AVA connects, lists tools, validates every schema, and writes a snapshot. The installation becomes active and its tool count appears.
4

Availability

The admin decides who can use it — everyone, or named Entra groups — and whether scheduled tasks may use it.
5

In use

Tools are matched against user messages and called with the right person's credential. Every call is audited.

A server can be turned off at any time (it stays configured, but nothing can call it) or removed entirely, which deletes its stored credentials.

How a tool call travels

AVA does not load every remote tool into every conversation. A server with 200 tools would drown the model's judgement and cost a fortune in context. Instead, remote tools are retrieved on demand.

1

Search, not load

The user's message is used to search the tool catalogue. Only a handful of candidates from each server are considered — at most three per installation per search — and AVA materialises the full schema for only the ones it is about to offer.
2

Access check

Before a tool is offered, AVA re-checks that this user may use that installation, using the same group policy that governs the connected data source. Access removed in Entra takes effect on the next call.
3

Credential acquisition

An auth broker resolves the right credential for this user and this execution context — a personal OAuth token, a deployment-wide API token, or a client-credentials token. Tokens are bound to the audience the server expects.
4

Confirmation gate

If the tool is anything other than read-only, AVA asks the user to approve the call before it runs.
5

The call

AVA connects over Streamable HTTP to the exact address it validated, with the connection pinned to the IP it resolved. The response is size-bounded and normalised before the model ever sees it.
6

Audit

Success, failure or block is recorded against the installation with the tool name, snapshot version and duration.

How AVA decides how risky a tool is

Remote servers describe their own tools, and a server's self-description is not something AVA takes on trust. Every tool in a snapshot is classified into one of three levels:

LevelHow it is decidedWhat it means
ReadThe tool declares readOnlyHint, or its name reads as a read (search_*, list_*, get_*)Runs without a confirmation prompt. Eligible for scheduled tasks.
WriteIts name reads as a write or send — or nothing at all could be determinedRequires the user to confirm each call. Chat only, unless an admin promotes it.
DestructiveIt declares destructiveHint, or its name reads as a deleteRequires confirmation. Can never be promoted to run in a scheduled task.

Two rules make this hard to game. A risky-looking name always wins: a tool called delete_issue that declares itself read-only is still treated as destructive. And an unclassifiable tool defaults to write, not to read — so a vendor cannot gain unattended access simply by publishing tools with no annotations.

Tip

Admins can rewrite what the model sees for any individual remote tool — its description, its keywords, or whether it is offered at all — from the server's detail panel. This matters when a vendor's own wording competes badly against AVA's built-in tools for the same job. These overrides survive tool refreshes; edits made anywhere else do not.

Chat versus scheduled tasks

A tool that is safe with a person watching is not automatically safe at 3am. AVA separates the two:

  • Chat — the signed-in user is present. Read tools run directly; write and destructive tools show a confirmation card first.
  • Scheduled tasks — nobody is present. A remote tool runs unattended only if all three of these hold: the installation's credential is approved for background use, the tool is classified read (or an admin has explicitly promoted a write tool), and the task step is one that gathers information.

Destructive tools are refused promotion outright. Servers whose sign-in cannot be renewed without a person present are flagged during setup, because that connection expires roughly an hour after each sign-in and a scheduled task would run once and then quietly stop.

Where everything lives

TaskWhere
Turn remote MCP execution on or off for the whole deploymentAdmin → Tools & Skills → MCP servers, master switch
Add, sign in to, refresh, rename, restrict or remove a serverAdmin → Tools & Skills → MCP servers
Diagnose a server that isn't workingThe server's detail panel → Run checks
Register a Fabric data agentAdmin → Tools & Skills → Fabric agents
Choose which servers a conversation may useCommand Palette → connected data