Packaging and publishing

Development with an AI assistant (MCP)

The running KOFA server can expose an MCP endpoint for AI assistants (Claude, Copilot, …). The endpoint contains every tool needed to develop a Komod without the KOFA source code:

MCP tool What it gives
komod_dev_guide The workflow and the list of topics; with topic the English pages of this documentation (the same knowledge base).
get_komod_sdk_source The API reference of the SDK (the public surface).
get_komod_template A filled-in template (with nuget.config).
create_sdk_download_link Download of the SDK NuGet packages.
get_logs The server's log (Operator), for debugging.

Access from outside: if KOFA is linked to the relay, MCP is reachable without a public address at https://kofa.kncsk.hu/d/<device id>/mcp, with the existing MCP key (Authorization: Bearer kofa_…).

Trying it out goes the same way on the Komodok page; the assistant can also upload and install a package.

Turning it on and managing the key: the MCP card among KOFA's settings. Enable MCP only in a trusted environment, because installing a Komod means running code.

Tip

This documentation is also a good starting point for the assistant: the ports, the API and the data types pages are machine-generated, so they are accurate.