table of contents
| 0C-MCP(1) | User Commands | 0C-MCP(1) |
NAME¶
0c-mcp - connect stdio MCP clients to the 0c Zhuyin input method
SYNOPSIS¶
0c-mcp [-dir directory]
DESCRIPTION¶
0c-mcp lets AI assistants that only speak the Model Context Protocol over standard input and output manage the personal vocabulary of the 0c (靈犀注音) Zhuyin input method. It reads JSON-RPC messages line by line from standard input, forwards each one to the local API at http://127.0.0.1:<port>/mcp and writes the responses to standard output.
The local API is off by default; enable it with 0c-update api enable. The access token is read from the user's data directory for every request, so the client configuration does not need to contain it and keeps working after the token is regenerated.
OPTIONS¶
- -dir directory
- The user's data directory that holds api.json and api-token.json. The default is ~/.local/share/zuin.
SEE ALSO¶
| 2026-11-02 | 0c-ime 0.2.8 |