# How to Build an AI Company Brain with MCP: Architecture, Setup, and Client Configuration

Building an AI company brain with MCP connects an organization's operational documents to AI assistants and coding agents through standardized Model Context Protocol endpoints. Instead of maintaining fragile vector databases or manually pasting files into prompts, teams enable automatic semantic indexing across workspaces and synced cloud drives. This guide covers workspace boundaries, intelligence activation, remote MCP endpoints, and checkable source citations.

Source: https://fast.io/resources/how-to-build-an-ai-company-brain-with-mcp/
Author: [Tom Langridge](https://fast.io/authors/tom-langridge/)
Last reviewed: 2026-11-25

## The Context Bottleneck: Why AI Agents Need a Centralized Company Brain

A Gartner survey of digital workers found that 47% struggle to find information or data needed to effectively perform their jobs. When organizations introduce autonomous AI agents and intelligent chat assistants into this fragmented environment, the friction multiplies across engineering projects, sales cycles, and operational workflows. An AI coding agent tasked with refactoring an internal API requires the architectural decision records, security guidelines, and schema definitions that govern the codebase. A support agent drafting a customer response requires current service agreements, refund policies, and product release notes.

In practice, these operational assets are scattered across personal downloads, isolated drive folders, and disparate cloud applications. When developers attempt to supply AI agents with this missing knowledge, they routinely resort to manual file copying or ad-hoc prompt stuffing. Manually dumping large specifications, transcripts, or policy documents directly into conversation prompts rapidly consumes context window limits. Language models experience context rot, losing track of core instructions amidst thousands of lines of unindexed text, while development teams waste substantial budget on repetitive token overhead.

A company brain eases this bottleneck by serving as a single, governed repository where team knowledge lives and is automatically indexed for both human employees and autonomous agents. Rather than treating documentation as static wiki pages that decay over time, an effective company brain operates directly on the primary operational files a business runs on: contracts, technical specs, standard operating procedures, customer agreements, and agent-generated artifacts.

As an operational definition:

> Building an AI company brain with MCP connects an organization's indexed document workspace to AI agents via the Model Context Protocol, enabling persistent semantic search and checkable source citations without custom vector database code.

By standardizing context retrieval on remote Model Context Protocol (MCP) endpoints, teams allow assistants across Claude, Cursor, ChatGPT, and custom terminal agents to query the exact same operational facts without duplicating data across separate vector stores. Connecting agents directly via MCP cuts context window token waste by retrieving only the targeted, relevant document snippets needed for the immediate query, rather than forcing entire files into the prompt.

## Architecture of an MCP Company Brain: Unified Workspaces vs. Custom Vector Databases

When engineering teams decide to build an AI company brain, they usually evaluate two paths: assembling a custom Retrieval-Augmented Generation (RAG) pipeline backed by a dedicated vector database, or deploying an intelligent cloud workspace with a managed MCP interface.

Building a custom retrieval pipeline requires substantial engineering maintenance. A typical DIY architecture involves writing document extractors for PDF, Word, and Markdown formats, configuring embedding models, chunking documents into vector representations, hosting a vector database such as Pinecone or Qdrant, and building synchronization scripts to detect when files change in cloud storage. Teams must also author custom retrieval APIs, implement access control logic, and run or configure an MCP server in front of the database (Pinecone and Qdrant publish their own) so agents can reach it. If an embedding model updates or chunking logic fails on complex tables, retrieval accuracy degrades across the entire company.

| Architectural Dimension | Custom Vector Database Stack | Managed MCP Intelligent Workspace |
| :--- | :--- | :--- |
| Ingestion Pipeline | Custom chunking, embedding scripts, and vector upserts | Parsing and indexing on file arrival or drive sync, with Intelligence on |
| AI Client Interface | Vendor APIs, client wrappers, or the database's own MCP server | Standard Model Context Protocol over Streamable HTTP |
| Context Freshness | Periodic batch re-indexing prone to synchronization drift | Indexing on upload or scheduled Cloud Sync, with Intelligence on |
| Permission Governance | Custom row-level filters and token translation logic | Role-based workspace and share boundaries |
| Source Citations | Custom snippet extraction returning raw text blocks | Native citations with source files, pages, and snippets |
| Multi-Agent Support | Per-agent integration code or the database's MCP server | Unified remote endpoints for Claude, Cursor, and custom CLI agents |

Traditional enterprise knowledge tools approach this problem from different angles. Enterprise search platforms like Glean connect to third-party SaaS tools, inherit their permissions, and serve search and chat to AI clients through an MCP server. Guru's Knowledge Agents give cited, permission-aware answers from Guru cards and connected sources such as Google Drive, SharePoint, Confluence, Notion, and Slack, and Notion AI answers with citations across Notion pages, uploaded PDFs, and connected apps. In each case the working files stay in the source systems, and the outputs an agent produces are saved somewhere else.

The Fastio difference is that operational files live directly in the workspace where people and AI agents collaborate, so agents search them, take file locks, co-edit Notes, and save outputs beside the sources under one set of workspace and share permissions. When Intelligence Mode is on, files are parsed, indexed, and made queryable for keyword and semantic search once they are processed. There is no external vector pipeline to manage, and no secondary manual task of transcribing decisions into wiki pages.

In addition to semantic text retrieval, an intelligent company brain requires structured document extraction. Through [Metadata Views](/product/document-data-extraction/), teams describe the fields they need extracted from operational files in plain language. Fastio automatically designs a typed schema (including Text, Integer, Decimal, Boolean, URL, JSON, and Date & Time) and populates a filterable spreadsheet view directly from workspace files. An agent or operations manager can query contract renewal dates, counterparty names, policy limits, or invoice line items across hundreds of documents without manual data entry or fragile optical character recognition rules.

## Step-by-Step Implementation: Building Your Company Brain with Fastio MCP

Wiring an AI company brain with managed MCP support takes about ten minutes, while syncing and indexing continue in the background. The following procedure establishes the workspace, connects primary documents, and configures remote MCP endpoints for team agents.

### 1. Create a Dedicated Knowledge Workspace

Begin by creating an organization workspace dedicated to company knowledge. For example, create an "Engineering Brain" for architecture documents and coding standards, or a "Corporate Knowledge" workspace for company-wide standard operating procedures, benefits information, and customer policies.

Configure the workspace join setting based on your visibility requirements:

* **Any organization member can join (default):** By default, the workspace join setting lets any member of your organization join. This works well for company-wide handbooks, engineering standards, and public product specs.
* **No one can join automatically:** For confidential financial models, legal agreements, executive planning documents, or sensitive partner contracts, set the join setting to "No one can join automatically" so only members added directly get in, and limit member management to admins and owners, since by default any workspace member can add members.

### 2. Enable Intelligence Mode

Open the workspace settings and turn on Intelligence Mode. Once enabled, the workspace indexes existing and newly arriving documents for hybrid search (audio and video files are not text-indexed):

* Full-text keyword search matches exact technical terms, error codes, and variable names.
* Semantic meaning-based search matches concepts and intent even when queries use different vocabulary than the source text.
* Search results and conversational queries return direct citations to the underlying documents, including page numbers and source text snippets.

### 3. Ingest Operational Files via Upload or Cloud Sync

Populate the workspace with the documents your business runs on. Upload files directly, including multi-page contracts, large datasets, and architecture diagrams, up to your plan's maximum upload size (25 GB on Starter, 50 GB on Business, 100 GB on Enterprise). Audio and video files can be stored and previewed in the workspace, but they are not text-indexed.

To keep the company brain connected to existing repositories without manual re-uploading, configure Cloud Sync:

* Connect folders from Google Drive, Dropbox, Box, or OneDrive (including SharePoint document libraries through the OneDrive connector).
* Choose one-way sync (to pull external documents into the brain) or two-way sync (to reflect updates in both directions).
* Set sync execution on a schedule or trigger it on demand. Cloud Sync operates in scheduled batches rather than continuous or real-time file monitoring.
* Note that files synced from external drives adopt the permissions of the Fastio workspace, rather than the external drive sharing settings.

### 4. Configure Client MCP Endpoints

Next, expose the workspace to AI agents using Fastio's remote MCP endpoints running over Streamable HTTP while syncing and indexing continue in the background. Because the server is hosted remotely, there is no need to run local bridge daemons, configure Node.js dependencies, or manage local port forwarders.

Direct your AI clients to the appropriate remote endpoint:

* Connect Claude, Manus, Hermes Agent, and general assistant runtimes to `https://mcp.fast.io/mcp/tools`.
* Connect coding agents in IDEs or terminals (including Cursor, Claude Code, Cline, and VS Code) to `https://mcp.fast.io/mcp/code`.
* Connect ChatGPT and Codex using the Fastio plugin from the directory, or configure a custom MCP connector pointing to `https://mcp.fast.io/mcp/operations`.

Detailed configuration options and parameter references are available in the [Fastio MCP documentation](https://mcp.fast.io/docs).

### 5. Check Retrieval and Source Citations

Test the setup by prompting your AI assistant to answer a specific operational question, such as: *"What is our standard SLA for enterprise customer outage reports, and where is that defined?"*

The assistant queries the workspace via MCP, retrieves matching document snippets, and returns an answer citing the exact file name and page number. If an answer needs review, team members can open the cited file in the workspace web interface to check the context directly.

## Connecting AI Clients to Remote MCP Endpoints: Claude, Cursor, and Autonomous Agents

The Model Context Protocol standardizes how language models interact with external data sources. Fastio provides dedicated endpoints for specific agent operating environments, and each address presents the tools in the shape that kind of client works best with.

### Claude (Web, Desktop, Mobile, and Cowork)

Claude connects to Fastio using a native remote connector with browser-based OAuth authentication:

1. Open Claude, navigate to **Customize**, and select **Connectors**.
2. Select **Add custom connector** and paste `https://mcp.fast.io/mcp/tools` into the URL field.
3. Select **Connect**. A browser window opens prompting you to sign in to Fastio.
4. On the Review Permissions screen, select whether the connection should have **Read Only** or **Read & Write** access, and choose which organizations and workspaces Claude can reach.
5. In any chat conversation, turn Fastio on from the `+` menu under Connectors.

Claude can now search workspace files, read operational documents, and answer team questions with source citations.

### Cursor IDE

Software development teams using Cursor can connect their coding assistant directly to the company brain to query internal architecture guidelines, API specifications, and database schemas.

To configure Cursor, open `~/.cursor/mcp.json` (for global configuration) or `.cursor/mcp.json` (inside a specific project repository) and add the remote code endpoint:

```json
{
  "mcpServers": {
    "fast-io": {
      "url": "https://mcp.fast.io/mcp/code"
    }
  }
}
```

Cursor connects directly to the Streamable HTTP endpoint. During initial connection, Cursor guides the user through browser authentication to authorize workspace access.

### Claude Code CLI

For terminal-based engineering workflows, Claude Code connects via the command line:

```bash
claude mcp add --transport http fast-io https://mcp.fast.io/mcp/code
```

After adding the server, run `/mcp` inside Claude Code to complete authentication. In a project-specific `.mcp.json` file, declare the server using `"type": "http"` and the `/mcp/code` URL:

```json
{
  "mcpServers": {
    "fast-io": {
      "type": "http",
      "url": "https://mcp.fast.io/mcp/code"
    }
  }
}
```

### ChatGPT and Codex

For ChatGPT and Codex, the Fastio plugin provides the simplest connection path:

1. Open the plugin directory at `chatgpt.com/plugins`.
2. Search for Fastio, select **Install plugin**, and sign in to Fastio when prompted.
3. Mention `@Fastio` in any chat to query company workspaces.

For Codex CLI, run `codex plugin add fast-io@openai-curated-remote` or open `/plugins`. Alternatively, environments that require a custom MCP server can connect by enabling Developer mode in ChatGPT Settings, adding a server named Fastio with the URL `https://mcp.fast.io/mcp/operations`, and completing sign-in. In Codex CLI, run `codex mcp add fastio --url https://mcp.fast.io/mcp/operations`, followed by `codex mcp login fastio`.

### Headless and Autonomous Background Agents

Autonomous background runners, CI/CD pipelines, and custom Python or TypeScript agent scripts connect to Fastio without browser interaction. These agents connect to `https://mcp.fast.io/mcp/tools` (or `https://mcp.fast.io/mcp/code` for coding tasks) by sending a scoped API key in the authorization header:

```http
Authorization: Bearer <your_api_key>
```

All MCP communication uses Streamable HTTP. Each JSON-RPC request is transmitted as an HTTP POST request with `Accept: application/json, text/event-stream`. The client sends `initialize`, followed by the `notifications/initialized` notification, and includes the returned `Mcp-Session-Id` header on all subsequent calls.

When an agent connects with read-only access (a Read Only sign-in, or an API key whose scopes are all read-only), write-capable tools such as `storage_manage`, `workspace_manage`, and `share_manage` are left out of the tool list. The agent has no write tool to call, and a write sent through a read tool is refused before it reaches any file.

## Permission Boundaries, Audit Trails, and Knowledge Hygiene

Deploying a company brain across an entire organization requires strict control over who can read, modify, and delete operational knowledge. If access permissions are poorly defined, AI assistants risk leaking confidential executive discussions, HR records, or customer pricing details to unauthorized users.

### Workspace-Centric Permission Governance

Fastio enforces permissions at the organization, workspace, and share levels through explicit member roles:

* **Organization Roles:** Owner, admin, and member govern billing, global settings, and user provisioning.
* **Workspace Roles:** Owner, admin, member, guest, and view dictate access to files and tools inside a specific workspace.
* **Shares:** Each branded Send, Receive, or Exchange share has its own members and settings, such as guest access, password protection, and download controls.

There are no folder-level or file-level permissions within a workspace. Every member of a workspace accesses the entire document collection according to their assigned role. To keep sensitive documents restricted to specific departments, create dedicated workspaces for each group (such as "Finance & Legal", "Executive Leadership", or "Customer Success") and grant membership only to authorized team members and agents.

When users or AI agents query the company brain, search and Intelligence Mode answer strictly from the workspaces and shares the asking entity belongs to. An agent that belongs to the "Engineering Brain" workspace but not to "Finance & Legal" cannot search, read, or summarize documents stored in "Finance & Legal".

### Ownership Transfer Between Agents and Humans

In agentic workflows, autonomous agents can provision their own operational environments. An agent can build an organization and hand it to a person with a claim link. An owner can also transfer an organization or a workspace directly to another member, and the previous owner becomes an admin.

### The Detailed Activity Log

Maintaining a trustworthy company brain requires visibility into operational modifications. Fastio maintains a detailed activity log that records changes across the organization:

* Uploads, file edits, file moves, and deletions.
* Workspace membership additions, role updates, and removals.
* Share creation and configuration adjustments.

Both human team members and autonomous AI agents are recorded with actor identities and timestamps.

### Human-Agent Collaboration with Notes

Alongside primary documents, teams maintain live operational guidelines using Notes kept beside the files in the workspace, indexed for AI grounding. Notes co-edit live: people and agents with the same note open see each other's labeled cursors and edits as they type.

### Subscription Plans and Team Rollout

Organizations can evaluate Fastio with a 14-day free trial on monthly plans, which requires a credit card. Paid subscriptions provide predictable resource tiers for growing teams:

| Plan | Price | Workspace Limit | Storage & Max Upload | Included Monthly Credits |
| :--- | :--- | :--- | :--- | :--- |
| Starter | $29 a month or $290 a year | 10 workspaces (5 seats) | 1 TB storage (25 GB max upload) | 300,000 credits a month |
| Business | $99 a month or $990 a year | 100 workspaces (20 seats) | 10 TB storage (50 GB max upload) | 1,200,000 credits a month |
| Enterprise | $299 a month or $2,990 a year | 300 workspaces (50 seats) | 50 TB storage (100 GB max upload) | 4,500,000 credits a month |

Credits meter AI work only: chat, file ingestion, agent runs and document processing. Overage is $10 per 100,000 credits. Storage beyond the plan is $0.015 per GB a month and extra bandwidth $0.04 per GB, billed separately and not in credits.

## Frequently asked questions

### What is required to build an AI company brain using MCP?

Building an AI company brain with MCP requires an intelligent document repository that supports automated semantic indexing and a remote Model Context Protocol endpoint. In Fastio, you create an organization workspace, enable Intelligence Mode, upload or sync your operational files (from Google Drive, Dropbox, Box, or OneDrive), and connect your AI clients to the remote MCP server at `https://mcp.fast.io/mcp/tools` or `https://mcp.fast.io/mcp/code`. No custom vector database coding or chunking pipelines are needed.

### How do AI agents connect to a remote MCP company brain?

AI agents connect over Streamable HTTP to Fastio's remote MCP endpoints. Interactive clients like Claude use browser-based OAuth authentication, coding assistants like Cursor and Claude Code connect to `https://mcp.fast.io/mcp/code`, and autonomous headless agents authenticate to `https://mcp.fast.io/mcp/tools` using scoped API keys sent as bearer tokens in the authorization header.

### Why use MCP instead of a custom vector database for company knowledge?

A custom vector database requires writing and maintaining document parsing scripts, embedding pipelines, vector database hosting, and custom synchronization workers to handle file changes. Connecting an intelligent workspace via MCP offloads all parsing, embedding, and indexing overhead to the platform, while providing a standardized interface that works out of the box with Claude, Cursor, ChatGPT, and custom terminal agents.

### How do access permissions work across different departments in an MCP company brain?

Fastio enforces permissions per organization, workspace, and share by member role, with no folder-level or file-level permissions. To isolate sensitive departmental data, teams create separate workspaces (such as Legal, Engineering, or Executive) and assign users and agents accordingly. Semantic search and conversational intelligence answer strictly from the workspaces and shares the asking user or agent has permission to access.

### How do existing files from Google Drive, Dropbox, Box, or OneDrive stay updated in the company brain?

Cloud Sync connects folders from Google Drive, Dropbox, Box, and OneDrive (including SharePoint libraries via OneDrive) to Fastio workspaces on a schedule or on demand. Synchronized files adopt the role-based permissions of the destination Fastio workspace and are indexed as they arrive when Intelligence Mode is on.

### Can AI agents write back to the company brain or only read from it?

AI agents can perform both read and write operations depending on connection permissions. When granted Read & Write access, agents can upload documents, create shares, and edit Notes beside files using dedicated management tools. When connected in Read Only mode, the write tools for files, shares, and workspaces are omitted from the MCP manifest, so agents cannot modify files or workspace settings.

### What happens when an agent connects in Read Only mode?

When an AI agent connects to the Fastio MCP server with Read Only permissions, data-modifying tools (such as `storage_manage`, `workspace_manage`, and `share_manage`) are not included in the tool list sent to the client. The agent has no write tool to call, and a write sent through a read tool is refused, so it cannot modify or overwrite files.

### What subscription plan is required to use Fastio as an MCP company brain?

An organization on a paid subscription is required to run a company brain. Monthly subscriptions begin with a 14-day free trial that requires a credit card, available across Starter, Business, and Enterprise plans. Credits meter AI work only (chat, file ingestion, agent runs and document processing), with storage, bandwidth and seats included in the plan.

## Sources

- [EMSNow: Gartner Survey on Digital Workplace Information Friction](https://www.emsnow.com/gartner-survey-reveals-47-of-digital-workers-struggle-to-find-the-information-needed-to-effectively-perform-their-jobs/): A Gartner survey of digital workers found that 47% struggle to find information or data needed to effectively perform their jobs.

## About Fast.io

Fast.io provides shared workspaces where people and AI agents work on the same files, with built-in semantic search and citation-backed chat over what they hold. Agents reach it through a remote MCP server, a REST API at https://api.fast.io/current/, and a command line client published on npm as @vividengine/fastio-cli. MCP setup is at https://mcp.fast.io/docs: Claude and most MCP clients connect to https://mcp.fast.io/mcp/tools, ChatGPT to https://mcp.fast.io/mcp/operations, and coding agents to https://mcp.fast.io/mcp/code.
