> For the complete documentation index, see [llms.txt](https://help.aphex.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aphex.co/docs/integrations-and-api/mcp.md).

# MCP

{% hint style="info" %}
**Who can use this feature?**

Any user on an Aphex organisation where MCP is enabled can use this feature. For initial setup, System Admins must enable the feature.
{% endhint %}

The Aphex MCP connector reads your diary and your plan, so you can work with your project data directly from your AI tool (Claude, ChatGPT, Perplexity, Copilot, or any other tool that supports MCP). Ask about your diaries, your tasks, what moved and who moved it, and how things compare with your published plan, and your AI can pull from the diary and the plan together to answer. Aphex supplies the data word-for-word, and your AI does the thinking and writing.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FhZWlIZ3QCrcumQt9hYYD%2FMCP%20Intro.svg?alt=media&amp;token=1a6d95a2-baf8-4429-8f60-633859494b67" alt=""><figcaption></figcaption></figure>

### MCP Capabilities

***

With the Aphex MCP connector, you can ask your AI tool about your diaries, your plan, or both at once.

#### Example Questions

<table><thead><tr><th width="117.65625">App</th><th width="645.8359375">Question</th></tr></thead><tbody><tr><td><i class="fa-chart-gantt">:chart-gantt:</i> Planner</td><td>"How did we go last week?"</td></tr><tr><td><i class="fa-chart-gantt">:chart-gantt:</i> Planner</td><td>"Did any milestones move since Friday's publish? Why?"</td></tr><tr><td><i class="fa-chart-gantt">:chart-gantt:</i> Planner</td><td>"Who moved the [task] dates last week?"</td></tr><tr><td><i class="fa-notebook">:notebook:</i> Diary</td><td>"Summarise total steel fixer hours across last week's diaries."</td></tr><tr><td><i class="fa-notebook">:notebook:</i> Diary</td><td>"Find every record mentioning [subcontractor]'s progress on [scope] over the last two months - I'm drafting a letter."</td></tr><tr><td><i class="fa-notebook">:notebook:</i> Diary</td><td>"Read the diaries from last week on this project - are there any early warnings we should be issuing?"</td></tr><tr><td>Both</td><td>"How is [subcontractor] tracking against the plan?"</td></tr><tr><td>Both</td><td>"What did the delays in last week's diaries do to the programme?"</td></tr></tbody></table>

Your AI reads the records, spots patterns, and drafts the output. Aphex provides the data exactly as it was recorded, with who recorded or changed it and when.

{% hint style="info" %}
**Tip:** Answers are sharper when your question names a week, an area, a subcontractor or a task.
{% endhint %}

### Enabling the MCP for the Organisation

***

Before you can set up the MCP for the organisation, you'll need to <a href="https://www.aphex.co/contact-sales" class="button primary">Get in Touch</a> with our team to have the feature enabled.

Once enabled, system admins can turn on the feature for the organisation.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FSxXY0S9lGnpDKsQH8mtN%2FAI%20-%20MCP.svg?alt=media&amp;token=25ed4365-5f93-49c1-9c2e-939d77d94ea5" alt=""><figcaption></figcaption></figure>

**To switch on the MCP for the organisation:**

* From your Aphex Homepage, go to <kbd>Admin</kbd> → <kbd>AI</kbd>
* Toggle on ![](https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2Fi95XyOgpy7hzTLYWhvru%2FControl.svg?alt=media\&token=b4440363-6bc5-4836-8d65-19a701f9a308) <kbd>MCP</kbd>
* Once enabled, all users in the organisation can connect their AI tool to Aphex.

{% hint style="warning" %}
Only System Admins have the permission to enable the MCP for the Organisation
{% endhint %}

### Checking if the MCP is Enabled

***

If you are not a System Admin, you can check if the MCP is enabled at the project level.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FKcgWPdB1WUn7GzXSgiBX%2FProject%20Level%20MCP.svg?alt=media&amp;token=2e11b2ac-a349-46c1-a74a-1d9df6451e66" alt=""><figcaption></figcaption></figure>

**To see if the MCP is enabled:**

* Open your project
* Click the <kbd>Project Name</kbd> → <kbd>AI</kbd>
* **If the MCP has been enabled:** You will see the steps to setting up the MCP
* **If your System Admin is yet to enable the feature:** You will be prompted to request that the feature is enabled
* **If the MCP is not included in your plan:** You will be prompted to get in touch with us

## Connect your AI tools

***

Once the MCP has been turned on for the organisation, all users within the organisation can connect their AI tool to Aphex.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FDetVroC21E4JkovZgZiU%2FMCP%20Claude.svg?alt=media&amp;token=f527389b-e472-4efb-b22b-73bd9c99dddf" alt=""><figcaption></figcaption></figure>

**How to connect your AI tools:**

<details>

<summary><strong>Claude</strong></summary>

* Open Claude → <kbd>Settings</kbd>
* Select <kbd>Connectors</kbd>
* Click <kbd>Browse</kbd>
* Search <kbd>Aphex</kbd>
* Click the + next to the Aphex Connector
* Your browser will open and ask you to sign in - use your Aphex account
* Choose the organisation you want to connect to
* Click <kbd>Allow</kbd> to grant access
* Return to Claude and start asking questions about your projects

**Troubleshooting tips:**

* "No tools available" - Your organisation doesn't have MCP switched on yet. Ask your system admin to enable it in Org Settings → AI.
* Connected to the wrong organisation? - Disconnect the Aphex connector in Claude settings and reconnect; you'll be asked to choose your organisation again.
* Can't find a project you expected? - Check you can open it in Aphex with the same account you connected. The connector sees exactly what your Aphex account sees.

</details>

<details>

<summary><strong>ChatGPT</strong></summary>

* Open ChatGPT → <kbd>Settings</kbd>
* Go to <kbd>Security and login</kbd> → turn on <kbd>Developer mode</kbd>
* Go to <kbd>Connectors</kbd> (still in Settings)
* Click the + to create a new connector
* Enter the Aphex server URL
* Set authentication to <kbd>OAuth</kbd>
* Click <kbd>Create</kbd>
* Sign in with your Aphex account and choose your organisation
* In a chat, select the tools menu and enable <kbd>Aphex</kbd>

**Troubleshooting Tips:**

* Developer Mode not available - Check you're on Plus, Pro, Business, or Edu. Workspace plan admins may need to enable it separately.
* "No tools available" - Your organisation doesn't have MCP enabled. Ask your system admin to check Org Settings → AI.
* Connected to the wrong organisation? - Go to ChatGPT Connectors, disconnect Aphex, and reconnect to choose again.

</details>

<details>

<summary><strong>Perplexity</strong></summary>

* Open Perplexity → <kbd>Settings</kbd>
* Select <kbd>Connectors</kbd>
* Click <kbd>+ Custom connector</kbd>
* Choose <kbd>Remote</kbd>
* Enter the name <kbd>Aphex</kbd> and paste the server URL
* Set authentication to <kbd>OAuth</kbd>
* Set transport to <kbd>Streamable HTTP</kbd>
* Click <kbd>Create</kbd>
* Sign in with your Aphex account and choose your organisation

**Troubleshooting Tips:**

* **"No tools available"** - Your organisation doesn't have MCP enabled. Ask your system admin.
* **Can't connect?** - Make sure you're using the correct server URL and selecting **OAuth** as the authentication method.

</details>

<details>

<summary><strong>Microsoft 365 Copilot</strong></summary>

Aphex is available as an agent in the Microsoft 365 Agent Store - there's no server URL or custom connector needed.

* Open Microsoft 365 Copilot (in Teams, Office, or the Microsoft 365 app)
* Select <kbd>Agents</kbd> or <kbd>More agents</kbd> in the left rail
* Search <kbd>Aphex</kbd> in the Agent Store and click <kbd>Add</kbd>
* In a chat, type <kbd>@Aphex</kbd> followed by your question
* The first time, you'll be asked to sign in - use your Aphex account and choose your organisation

**Troubleshooting Tips:**

* Can't find Aphex in the Agent Store? - Your IT admin may need to allow the Aphex app for your organisation: Teams admin center → Teams apps → Manage apps → Aphex → Allow.
* Copilot answers without checking Aphex? - Start your message with @Aphex to direct the question to the agent.
* "No tools available" or no data - Your organisation doesn't have MCP enabled in Aphex (ask your system admin to check Org Settings → AI), or you signed into the wrong organisation - sign out of the agent and reconnect to choose again.

</details>

<details>

<summary><strong>Other tools</strong></summary>

Any AI tool that supports the MCP client protocol with Streamable HTTP transport and browser-based OAuth 2.0 can connect using the same server URL. Each user signs in individually - there's no API key or service-account method for MCP.

* Go to your tool's <kbd>Settings</kbd> → <kbd>Connectors</kbd>
* Select <kbd>Add custom connector</kbd> or <kbd>Add MCP</kbd>
* Paste the Aphex server URL
* Set authentication to <kbd>OAuth</kbd> and transport to <kbd>Streamable HTTP</kbd> (if options are available)
* Follow the sign-in flow, authenticate with your Aphex account, and choose your organisation
* Once connected, enable Aphex in your tool's tools menu and start asking

</details>

### Switching Organisations

***

A single connection works with one organisation at a time. You choose your organisation during sign-in.

<figure><img src="https://2273109354-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLu0mYklsCTm7XQm3ZGqv%2Fuploads%2FijOrQE6esre2T6KZkmlA%2FMCP%20Claude%20-%20org.svg?alt=media&amp;token=4f44321d-53b5-4180-b7ea-dd8cec21444e" alt=""><figcaption></figcaption></figure>

**To switch organisations:**

* Go to your AI tool's connector settings
* Click <kbd>Disconnect</kbd> next to Aphex
* Click <kbd>Reconnect</kbd>
* Sign in again and choose a different organisation this time
* You're now connected to the new organisation

<details>

<summary>Working with multiple organisations</summary>

If you need to work with two organisations at the same time, add the Aphex connector twice:

1. Add the connector the first time and choose Organisation A during sign-in
2. Add it again and choose Organisation B during sign-in

Each connection will be separate, and you can switch between them in your tool's connector settings.

</details>

### What the Connector Can Access

***

The connector can access exactly what you can see in Aphex, and nothing more. The connector signs in as you and respects the same permissions as the app. If you can open a project, view its diaries or view its plan in your browser, your AI can read them. If you can't, it can't.

<table><thead><tr><th width="300.515625">If you have the following Project Access..</th><th>Your AI tool can…</th></tr></thead><tbody><tr><td>Planner Access</td><td>Find and read tasks, compare them against published plans, and see how they changed and what they affect</td></tr><tr><td>Full Diary Access</td><td>List, read and search those diaries</td></tr><tr><td>No access to the Project</td><td>Nothing - it won't appear at all</td></tr></tbody></table>

#### Available Tools

Your AI tool chooses the right tools for your question - you don't need to name them.

<table><thead><tr><th width="244.984375">Tool</th><th>What it does</th><th>Try asking</th></tr></thead><tbody><tr><td><code>aphex_list_projects</code></td><td>Finds the projects you can access</td><td>"Which of my projects have diaries?"</td></tr><tr><td><code>aphex_get_project_context</code></td><td>Gives an overview of a project: areas, subcontractors, packages and recent publications</td><td>"Give me an overview of Riverside - its areas, subcontractors and recent publications."</td></tr><tr><td><code>aphex_list_diary_entries</code></td><td>Lists diary entries by date range or by task</td><td>"What diaries were completed on Riverside last week?"</td></tr><tr><td><code>aphex_get_diary_entries</code></td><td>Reads full diary content - delays, labour, plant, notes and photos</td><td>"Read Wednesday's diary and summarise the delays with the reasons given."</td></tr><tr><td><code>aphex_find_tasks</code></td><td>Finds tasks by name or description, area, subcontractor or date, and what moved since a publication</td><td>"Which Level 3 tasks have moved since Friday's publish?"</td></tr><tr><td><code>aphex_get_tasks</code></td><td>Shows tasks as they are now, or as they were at a past date or publication</td><td>"Show me the façade tasks as they were in the 1 September publication."</td></tr><tr><td><code>aphex_get_task_history</code></td><td>Shows how a task changed and who changed it</td><td>"Who moved the Level 4 pour dates last week?"</td></tr><tr><td><code>aphex_get_task_impact</code></td><td>Shows what a task affects further along the plan, including milestones</td><td>"What does the Level 4 pour affect further along the plan? Any milestones?"</td></tr><tr><td><code>aphex_trace_delay_impact</code></td><td>Takes the delays recorded in diaries and shows what they did to the plan</td><td>"What did the delays in last week's diaries do to the programme?"</td></tr></tbody></table>

All of these tools only read your records. Nothing you ask can create, edit, or delete anything in your plan or diary. We're expanding the toolset based on feedback, and this page will always list what's available.

### Privacy and Data Security

***

When you use the MCP connector, your Aphex data goes to your AI tool - the Claude, ChatGPT, or Copilot account you connected - and nowhere else. Aphex doesn't send your data to AI providers as part of MCP, and your data is never used by Aphex to train AI models.

#### What's built in:

* **The MCP is off by default** - MCP is only available where your organisation's plan includes it, and your system admin has switched it on.
* **Your permissions, mirrored -** Every user connects individually and sees only what they already see in Aphex.
* **Today's tools read, not write** - The current toolset can't create, edit, or delete anything in Aphex.
* **Your account, your data** - Your AI tool account is separate from your Aphex account. Your email addresses don't need to match.

{% hint style="info" %}
For how AI features inside Aphex work (like diary summaries and the AI assistant), see <a href="/docs/policies/how-aphex-uses-ai.md" class="button secondary">How Aphex uses AI</a>
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aphex.co/docs/integrations-and-api/mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
