Skip to content

MCP Servers

ilo can connect to any MCP server, with tools type-checked end-to-end before execution.

Create an mcp.json file:

JSON
{
"mcpServers": {
"myserver": {
"command": "node",
"args": ["server.js"],
"env": {}
}
}
}
Shell
ilo --mcp mcp.json program.ilo funcname args

MCP tools become callable functions in your ilo program, with types verified at load time.

See examples/mcp.json in the ilo repo for a working example.