# M-Files MCP server

Source: https://agentic-cmms.klementine.xyz/integrations/m-files

> Connect M-Files to Claude, ChatGPT and other AI agents to find controlled documents by metadata, check workflow states and stay audit-ready.

M-Files manages documents by what they are, not by where they are saved. Each file carries metadata such as document class, asset, project and customer, and moves through workflow states from draft to approved to retired. Quality managers, engineering teams and regulated manufacturers choose it because it keeps controlled documents under control.

The same structure makes it powerful and, for occasional users, a little daunting. A shift technician does not think in document classes and property values. They want the approved procedure for the machine in front of them. Agentic CMMS connects M-Files to Claude, ChatGPT and the other AI agents your team uses, so anyone can ask in plain language while the vault keeps its rules.

## What your AI agent can do with M-Files

- **Find the effective procedure.** "Give me the approved maintenance instruction for Mixer MX-02." The agent searches by asset and document class and returns only the version in the approved state.
- **Check a workflow state.** "Is the revised cleaning validation protocol approved yet, and who is it waiting for?" The agent reads the workflow state and its assignment.
- **List documents due for review.** "Which SOPs in the Production class reach their review date this quarter?" The agent filters on the review date property.
- **Trace related objects.** "Show every document linked to the Line 3 upgrade project." The agent follows the relationships between the project and its documents.
- **Answer from a controlled document.** "What does the approved changeover procedure say about allergen cleaning on Filler 2?" The agent reads the document and quotes the step.
- **Add a new document with the right metadata.** "Save this inspection record as a Maintenance Record for asset MX-02." With write access, the agent creates the document with its class and properties.
- **Prepare for an audit.** "List the training records and SOPs an auditor will ask for on the packaging line." The agent gathers the documents and shows their states.

## M-Files with your other systems

Controlled documents are the rules. Your other systems record whether the rules were followed. Connect them side by side:

- Check that each maintenance plan in [SAP Plant Maintenance](/integrations/sap-plant-maintenance) points to a procedure that is still approved in M-Files.
- Match a corrective action in [ETQ Reliance](/integrations/etq-reliance) or [Intelex](/integrations/intelex) with the revised SOP it promised.
- Tell the quality channel in [Microsoft Teams](/integrations/microsoft-teams) when a key procedure moves to the approved state.

## Respecting document control

In a controlled environment, who did what matters as much as the document itself. The agent never treats a draft as approved, and it names the version and state it used. Each person approves their own agent, owners and admins decide which roles may create documents or change workflow states, and the activity log keeps a tamper-evident record of each step.

## Questions and answers

### Can an AI agent find M-Files documents by metadata instead of folders?

Yes. The agent searches by the properties your vault uses, such as document class, asset, customer or project, which suits the way M-Files is organised.

### Can Claude approve a document in an M-Files workflow?

With read and write access, the agent can move a document to the next workflow state where your vault allows it. Owners and admins can keep this tool for chosen roles only, so approvals stay with the right people.

### Will the agent only give us the effective version of a procedure?

The agent reads the workflow state of each document and tells you whether it is approved, in draft or retired, so nobody mistakes a draft for the effective version.
