MCP Servers: How Model Context Protocol Works
Published Updated
An MCP server is a program that exposes tools, data and reusable prompts to AI applications through the Model Context Protocol (MCP). Use one when an AI assistant needs to look up a live record or take a specific action in a system your team already uses.
For a first rollout, give the assistant one read-only job, such as finding the status of a support ticket. The server defines which operations it exposes. Your permissions determine which records each person can reach.
What an MCP Server is
An MCP server gives an AI application access to selected functions and data in another system. It might expose a ticket lookup without exposing the rest of the ticketing system.
Suppose a service desk lead asks an assistant about a ticket. The host is the AI application they’re using. The MCP client is the part of that application that talks to the MCP server. The server looks up the ticket in the underlying system and sends the result back to the client.
Anthropic introduced MCP in 2024. It’s now an open standard under the Linux Foundation’s Agentic AI Foundation. Project maintainers oversee changes to the specification through a public proposal process. See the MCP governance and stewardship rules.
How Model Context Protocol Works
Model Context Protocol defines the messages an AI application uses to discover what a server exposes and request a specific operation. The MCP transport specification describes two standard ways to carry those messages.
- With standard input and output (stdio), the client starts a local server process and exchanges messages through that process’s input and output streams.
- With Streamable HTTP, the client sends HTTP requests to the server’s endpoint. That lets several people connect to a shared remote service from their own applications.
A server can expose tools, resources and prompts. Tools are functions the assistant can ask its client to run, such as looking up a ticket by number. Resources are data the client can read, such as a policy document. Prompts are reusable templates the application can make available to a user, such as a starting prompt for handing over a case. Each host decides which capabilities it supports.
For a protected remote server, the MCP authorisation specification describes how an HTTP client obtains an OAuth access token for that server. The server validates the token and checks whether the request is allowed. The integration must also enforce permissions on the underlying system and record.
In the ticket example, the lookup works like this.
- The MCP client asks the server which tools are available. The server advertises a ticket lookup and describes the ticket number it expects.
- A staff member asks, “Who owns ticket 482?” The model selects the lookup and supplies 482 as its input.
- The host runs its policy checks and the client sends the request. The server checks the user’s access, then asks the ticketing system for the record.
- The server returns the owner and status. The client passes those fields to the host so the assistant can answer. If access is denied, the host gets an error and the record stays private.
MCP vs API
An application programming interface (API) is how software works with another system. An MCP server often calls an existing API and turns selected operations into tools that an AI application can discover and use.
For example, the code behind a ticket dashboard can call the ticketing API directly. Its developer already knows which endpoint to use, what input it expects and when to call it. An assistant with an MCP connection can discover the ticket lookup and choose it when the user asks about a ticket.
Use the API directly when one application runs a fixed process, such as exporting open tickets each morning. MCP adds a server to maintain, another permission boundary and tool descriptions to test. That work can pay off if several AI applications need the same operations or if the assistant needs to choose a tool based on a user’s request.
Common MCP Servers: GitHub, Atlassian, Figma and Xero
The right MCP server depends on where your team’s records live and which operations you’re willing to expose.
| Server | What it exposes | Who uses it |
|---|---|---|
| GitHub MCP server | Reads repository files, issues and pull requests. It can also expose write tools, depending on configuration and access. | Developers reviewing changes or triaging issues |
| Atlassian Rovo MCP server | Retrieves Jira work items and Confluence pages. With permission, it can create or update supported records. | Project, engineering and operations teams |
| Figma MCP server | Retrieves design context such as layout and components for use in code. The remote server also supports writing to the canvas. | Designers and developers working from design files |
| Playwright MCP server | Lets an assistant interact with a browser and inspect the page through accessibility snapshots. | Developers checking a web application |
| Xero MCP server | Exposes accounting information such as invoices and contacts, with invoice creation subject to the credentials and scopes. | Finance teams working in Xero |
Each of those servers is published by the vendor behind the underlying software. A community server is maintained by a third party, even when it uses the vendor’s API. Check who publishes the code, who runs the endpoint and which credentials it asks for. For finance workflows, compare the Xero AI options with what your team needs to read or change.
Zapier MCP and similar gateways let a client reach actions from several apps through one server connection. Zapier runs a tool call through the connected app and returns its result. Start with a fixed tool list so the assistant can only use the app actions you approved.
MCP Security Risks and Controls
An MCP server gives an assistant another route to records and actions. Approve each server for a particular job and grant the narrowest access that job needs.
- Prompt injection. A ticket comment or document returned by a tool can contain instructions the model mistakes for a request. Treat tool results as untrusted input and enforce action permissions outside the model. See how prompt injection reaches assistants through the material they read.
- Broad permissions. A credential that can update every ticket gives a mistaken call a wider reach. Begin with read-only credentials and limit access to the records needed for the job. Require a person to approve any call that changes records. Show the target record and proposed change at approval time.
- Untrusted servers. A server can see the arguments sent to it and control the results it returns. Keep an approved server list. Before adding an entry, review the publisher, the endpoint and the permissions it requests.
- Stolen tokens. A stolen token can be used within its permissions until it expires or is revoked. Use short-lived tokens intended for the right service and keep them out of tool results and logs.
For every call, log the user identity and the server and tool names. Record the outcome and, where appropriate, the target record. For writes, log the approval decision too. Keep raw personal information and credentials out of the logs.
If your organisation is covered by the Privacy Act 1988, sending personal information to a remote MCP server can be a use or disclosure under the Australian Privacy Principles (APPs). The Office of the Australian Information Commissioner (OAIC) explains how purpose and permitted disclosure under APP 6 apply when using an AI product. APP 11 requires reasonable steps to secure the personal information you hold. If you disclose it to an overseas recipient, assess whether APP 8 applies. See the OAIC’s privacy guidance on commercial AI products.
Before enabling the connection, map what goes to the MCP operator and model provider. Check who can access that information and what each provider retains.
Building an MCP Server for Your Own Systems
Build an MCP server when you have a repeated job that needs access to an internal system through more than one AI application. A warehouse team, for example, could let assistants check order status in its enterprise resource planning (ERP) system. The same approach can expose a small part of an internal document store or ticketing system.
- Choose an official MCP software development kit (SDK) that supports the protocol revision and transport your target clients use. Start with one read-only tool for order status. Define the order number it accepts and the exact fields it returns.
- Add authorisation at the server and enforce record access at the system of record. Return the order’s status and expected delivery window if those are all the job requires.
- Test in an MCP client against a staging system. Confirm that an authorised user can find an order. A user outside the permitted group must get a denial without seeing order data. Run those checks in each host you intend to approve.
- Monitor calls after launch. Give the server a named owner who reviews failed and unexpected requests. That owner also rotates credentials and versions tools when their inputs or outputs change.
The same remote endpoint can supply tools to a declarative agent in Microsoft 365 Copilot and an agent built in Copilot Studio. Claude can use the endpoint through a custom connector. ChatGPT can use it through a custom app. Each needs its own setup and permission checks.
Choose a transport and authorisation method supported by every host you plan to use. ChatGPT’s full MCP support on the web is available for Business and Enterprise/Edu workspaces.
A Microsoft 365 Copilot user can then ask the connected agent to look up an order in the ERP. If the server exposes an approved write tool, the agent can also request a change there. That access comes from the integration and its permissions. It lets teams build an AI agent around work that spans documents and operational systems.
Embeddings builds and runs AI integrations for organisations that need assistants to read live records or act inside their existing software. Start by choosing one operation whose result you can check in the system of record.
Related reading
How to Build an AI Agent for Your Organisation
Create an AI agent that does real work: pick one task, connect tools and data, add guardrails and human approval, test it, then run it with monitoring.
What is Prompt Injection? Risks and Defences
Hidden instructions in an email, web page or file can turn an AI assistant against you. See how prompt injection works and which defences hold up.
Xero AI and MYOB AI: Features and API Options
What can Xero’s built-in AI do, and when do you need the Xero API or MYOB API instead? Compare native features, connectors and custom builds.
AI Integration With Your Existing Systems
Your data already lives in an ERP, CRM and SharePoint. Our AI integration services connect models to those systems securely, in the cloud you already run.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings