# Codex MCP server

> Lets an AI client manage a personal markdown wiki, organize documents in hierarchical folders, and perform full-text searches.

- Repository: https://github.com/bocan/codex
- Page: https://hostedmcp.org/servers/bocan/codex
- Transport: —
- Stars: 9
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `AUTH_PASSWORD` | no | no |  |
| `MCP_API_KEY` | no | no |  |
| `MCP_ENABLED` | no | no |  |

## Tools (16)

- `search_pages`
- `get_page`
- `create_page`
- `update_page`
- `delete_page`
- `rename_page`
- `move_page`
- `list_folders`
- `list_pages`
- `create_folder`
- `delete_folder`
- `rename_folder`
- `list_attachments`
- `upload_attachment`
- `get_attachment`
- `delete_attachment`

## FAQ

### Can I use local AI models with Codex?

Yes, you can use Ollama to run local models like Llama or Mistral by configuring the host and port in the settings.

### How does Codex handle document versioning?

It uses Git-backed version control which allows you to see visual diffs and restore previous versions of your documents.
