← Manufacturing glossary
AI & app building

MCP server

Model Context Protocol server

An MCP server is a program that exposes tools, data and prompts of a system to AI assistants through the open Model Context Protocol, so the AI can read data and perform actions in it.

Short answer: An MCP server is a program that makes a system’s functions and data available to AI assistants through the Model Context Protocol (MCP), an open standard. Instead of copying data into a chat, the assistant calls the server’s tools to read data or perform actions, within the permissions the server allows.

What an MCP server is and how it works

MCP separates two roles. The client is the AI application, such as Claude, ChatGPT, Microsoft Copilot or a custom agent. The server sits in front of a system, for example a production database, a CMMS or a document store, and describes what the AI may do with it.

According to the MCP documentation, a server offers three building blocks:

  • Tools – functions the model can call, each with typed inputs defined in JSON Schema. A tool can query data or change it, for example create a maintenance work order.
  • Resources – read-only data the application can pass to the model as context, such as a document or a database schema.
  • Prompts – reusable templates that a user invokes for a typical task.

The client first asks the server which tools exist (tools/list), then calls the one it needs (tools/call). Applications can require user approval before a tool runs and keep a log of every call, which matters when the tool changes production data.

Who works with it: IT and digitalisation teams who connect systems and set permissions, app builders who expose new functions, and managers in production, maintenance or quality who ask questions in plain language and let the assistant prepare changes.

How a request flows through an MCP server

  1. Connect. An administrator registers the MCP server in the AI client and the user signs in, so the server knows who is asking.
  2. Discover. The client lists the available tools with their descriptions and input schemas.
  3. Plan. The model picks the tools that fit the request and fills in the parameters.
  4. Check. For actions that change data, the user reviews the proposal or runs it as a dry run first.
  5. Execute and log. The server runs the call with the user’s rights and returns the result; the call is recorded.

Example (illustrative): A maintenance manager asks: “Which machines on line 3 had more than two breakdowns last month, and create an inspection order for each.” The assistant calls a read tool for breakdown records and finds three machines with 3, 4 and 5 breakdowns. It then prepares three inspection work orders and shows them as a dry run. The manager changes one due date and confirms. The server creates the orders under the manager’s account, and each appears in the audit log. If the same user had no right to create orders, the server would refuse the call.

Try it yourself: Start a free 14-day trial with demo data and explore P4 yourself.

Common mistakes

  • One technical super-user for everything. If the server runs with admin rights, the AI can do more than the person asking. Pass the user’s own identity and permissions.
  • Write tools without review. Changes to orders, stock or maintenance plans should go through approval or a dry run first.
  • Vague tool descriptions. The model chooses tools by their names and descriptions. Unclear ones lead to wrong calls.
  • No logging. Without a record of who called what, nobody can explain a changed record later.
  • Exposing the raw database. Business-level tools such as “create work order” are safer and easier for the model than generic SQL access.

MCP server in P4

Productoo P4 has its own MCP server. Through it, Claude, ChatGPT, Microsoft Copilot or your own AI agent can work with P4 data and apps. The assistant works with the permissions of the signed-in user, supports dry runs, and its actions are recorded in the audit log. Apps run on one governed platform with separate dev, test and prod environments, and versioned changes are reviewed before they go live. The article MCP for manufacturing explains the use cases in more detail, and MCP security for plants covers the controls.

Related terms

FAQ

Is MCP the same as an API?

No. An API is an interface for programs. MCP is a protocol that describes tools, resources and prompts so that AI assistants can discover and use them without a custom integration for each assistant. An MCP server often calls existing APIs internally.

Is an MCP server safe for production data?

It can be, if it uses the user’s own permissions, separates read and write tools, requires review for changes and logs every call. Treat it like any other integration with access to the plant’s data.

Which AI assistants support MCP?

MCP is an open standard, and assistants such as Claude, ChatGPT and Microsoft Copilot can connect to MCP servers, as can custom agents.

Next step: Start a free trial, or browse P4 apps.

Updated 1 December 2026.

In P4:
MCP for manufacturing