Custom Directories

Customize where xmcp looks for tools, prompts, and resources.

For the complete documentation index, see llms.txt. Markdown variants of every page are available by appending .md to the URL.

Customize where xmcp looks for tools, prompts, and resources by configuring the paths option. If not specified, these are the defaults:

xmcp.config.ts

Disabling directories

To disable a specific directory, set it to false:

xmcp.config.ts

Troubleshooting

If you delete a directory without updating the config, xmcp will throw an error and prompt you to update it.

On this page

One framework to rule them all