Claude’s scripts can’t call MCP tools, meaning everything has to be CLIs or libraries. At which point you lose the “everything has self-documenting input-output schema” that Codemode is going for.
> Claude’s scripts can’t call MCP tools
Why is that?
Because the scripts run outside the harness, they would have to create their own MCP clients and manually connect to the same servers to run MCP tools. While Pi codemode runs inside the harness itself, so the script can call MCP tools directly and have the call go through the harness.
Claude scripts can be anything and can call any library.
They can't natively call MCP tools. Claude importing a library, reading the global MCP config, creating a new MCP client, etc. is not the same as Pi codemode being able to do that inline