> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/connect/create-nodes/build-your-node/reference/codex-files.md). Agents can also search and read this documentation through its [MCP server](https://docs.n8n.io/~gitbook/mcp).

# Codex files

The codex file contains metadata about your node. This file is the JSON file at the root of your node. For example, the [`GithubIssues.node.json`](https://github.com/n8n-io/n8n-nodes-starter/blob/master/nodes/GithubIssues/GithubIssues.node.json) file in the n8n starter.

The codex filename must match the node base filename. For example, given a node base file named `MyNode.node.ts`, the codex would be named `MyNode.node.json`.

| Parameter      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `node`         | Identifies the node, in the format `<package-name>.<node-name>`. `<package-name>` is the `name` in your `package.json`, which starts with `n8n-nodes-` or `@<scope>/n8n-nodes-`. `<node-name>` is the `name` in your main node file. A package can contain more than one node, for example an action node and its trigger. The `<node-name>` part tells them apart, so each node's codex file has a different value, such as `n8n-nodes-github-issues.githubIssues` and `n8n-nodes-github-issues.githubIssuesTrigger`. n8n's built-in nodes use the same format, for example `n8n-nodes-base.github` and `n8n-nodes-base.githubTrigger`. |
| `nodeVersion`  | The node version. This should have the same value as the `version` parameter in your main node file. For example, `"1.0"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `codexVersion` | The codex file version. The current version is `"1.0"`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `categories`   | The settings in the `categories` array determine which category n8n adds your node to in the GUI. See [Node categories](#node-categories) for more information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `resources`    | The `resources` object contains links to your node documentation. n8n automatically adds help links to credentials and nodes in the GUI.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

## Node categories <a href="#node-categories" id="node-categories"></a>

You can define one or more categories in your node configuration JSON. This helps n8n put the node in the correct category in the nodes panel.

Choose from these categories:

* Data & Storage
* Finance & Accounting
* Marketing & Content
* Productivity
* Miscellaneous
* Sales
* Development
* Analytics
* Communication
* Utility

You must match the syntax. For example, `Data & Storage` not `data and storage`.

## Related resources

* [Node building reference](https://docs.n8n.io/connect/create-nodes/build-your-node/reference.md)
