Transports

HTTP transport

The http configuration customizes the HTTP server. Set it to true to use defaults, or provide an object to override specific options:

xmcp.config.ts

These are the default values. Override only what you need to customize.

STDIO transport

The stdio configuration customizes the STDIO transport. Set it to true to use defaults, or provide an object to override specific options:

By default you enable STDIO transport by setting it to true.

xmcp.config.ts

You can also customize the debug mode and this would enable it as well.

xmcp.config.ts

Troubleshooting

Keep in mind that clients like Claude Desktop are not compatible with STDIO logging and would cause a JSON parsing error.

On this page

One framework to rule them all

    Transports | xmcp Documentation