Skip to content
OmniChannels.ai

APIs and developers

What is MCP server?

Model Context Protocol server · MCP

Definition

An MCP server exposes tools, data and prompts to AI applications through the Model Context Protocol (MCP), an open standard, so an AI agent or assistant can discover and call those capabilities, for example sending a message, without custom integration code.

The Model Context Protocol (MCP) is an open standard, introduced by Anthropic, for connecting AI applications to external tools and data. An MCP server is a program that speaks the protocol and offers a set of capabilities. An MCP client, built into an AI host such as an assistant, an IDE or an agent framework, connects to it, learns what it offers and lets the model use it.

A server can expose three kinds of things. Tools are actions the model can call, each with a name, a description and a JSON schema for its inputs. Resources are data the host can read, such as documents or records. Prompts are reusable templates the user can choose. The protocol messages use JSON-RPC 2.0, and servers are reached either as a local process over standard input and output or as a remote service over HTTP.

The model never talks to the messaging platform directly. It decides, from the tool descriptions, that a tool is relevant, and the host sends the call to the server, which performs it and returns a result. Clear tool names and descriptions therefore matter a great deal, because they are the model's only guide to what a tool does and when to use it.

For messaging, typical tools are to send an SMS or a WhatsApp template, check the delivery status of a message, list templates, or look up a contact. This lets an agent act on a request like send the delivery update to these customers, using the same account permissions as a conventional API call. It also allows no-code and low-code workflows to give an assistant controlled access to messaging.

MCP complements a REST API rather than replacing it. The REST API is the contract for conventional applications, with fixed endpoints and explicit parameters. The MCP server packages the same capabilities in a form an AI agent can discover and reason about. Teams usually keep both, and build the MCP layer on the same underlying API.

Security deserves care, because a model is choosing which actions to take. Authenticate the connection, and use the authorisation mechanisms in the MCP specification for remote servers. Give the agent the least privilege it needs, for example send access without account administration. Require human confirmation for actions with cost or customer impact, such as bulk sends, and log every tool call. Treat anything returned to the model, including message content from customers, as untrusted input that could contain instructions.

Reliability also matters. Make tools idempotent where possible, return clear errors the model can act on, and set sensible limits on volume so a looping agent cannot send thousands of messages. Test with realistic prompts, since models can call tools in unexpected combinations.

OmniChannels.ai offers an MCP server for AI agents at https://mcp.broadnet.me/mcp, with setup guides for common clients in the developer documentation.

Frequently asked questions

Is MCP the same as an API?

No. An API is an interface for software to call. MCP is a protocol that lets AI applications discover and use tools in a standard way. An MCP server often wraps an existing API so that an agent can use it without custom integration code.

Can an AI agent send messages without human approval?

It can if you configure it that way, but it is safer not to. Require confirmation for bulk sends and other actions with cost or customer impact, and limit the agent's permissions to what the task needs.

Which AI tools support MCP?

Many assistants, coding tools and automation platforms support MCP clients. Check your tool's documentation for how to add a remote server. Our developer docs include guides for several clients.

Do I need an MCP server if I already use the REST API?

Not for conventional applications. An MCP server is useful when you want AI agents or assistants to operate messaging tools directly, with the model deciding which tool to call.

Sources