> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qontext.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing files via MCP

> Manage files via MCP to read, search, write, and organize your context

## Overview

Use [MCP](/interfaces/MCP) clients to let agents read, search, and update your context repository through structured tools. Qontext exposes a hosted MCP server at:

```text theme={null}
https://api.qontext.ai/mcp
```

Connect this server to tools like [Claude](/clients/claude), [ChatGPT](/clients/chatgpt), or your own MCP client to work with the same governed context that users see in the **Context** tab.

***

## Reading

MCP clients can list folders, inspect the repository structure, and read files directly.

Supported read operations include:

* List the contents of a folder
* Recursively browse a folder or the full context repository
* Read one or more Markdown files
* Resolve relevant context by file path before expanding into related files

***

## Searching

MCP clients can search across the context repository when the relevant file path is unknown.

Supported search operations include:

* Search file contents across the repository
* Find files by name, path, or content
* Use hybrid search to combine semantic relevance with exact matches

***

## Writing

MCP clients can create and update context programmatically, subject to the client’s access controls.

Supported write operations include:

* Create a new Markdown file
* Overwrite an existing file
* Create folders
* Rename, edit, move, or delete a single file or folder

***

<Info>
  Qontext automatically logs queries executed by your MCP clients. The MCP access history for a given file can be viewed in the [Retrieval history](/features/retrieval-logs) section of the UI.
</Info>
