An author issues the agent a credential from the installed service. It is bound to one system and allows only writing and reading plans and pushing within it. Where the agent starts, set OURDOC_MCP_API_ORIGIN to the service address and OURDOC_MCP_TOKEN_FILE to the path of a private file holding the credential. The same credential is the password for git push.
OurDoc refuses token files that allow group or other access. Run chmod 600 "$OURDOC_MCP_TOKEN_FILE" before use.