[mcp_servers.interlink]
command = "interlink-mcp"
args = ["--host", "codex"]
[[hooks.SessionStart]]
[[hooks.SessionStart.hooks]]
type = "mcp_tool"
server = "interlink"
tool = "bind_codex_session"
input = { thread_id = "${session_id}" }
[[hooks.UserPromptSubmit]]
[[hooks.UserPromptSubmit.hooks]]
type = "mcp_tool"
server = "interlink"
tool = "bind_codex_session"
input = { thread_id = "${session_id}" }
[[hooks.PreToolUse]]
matcher = "^mcp__interlink__"
[[hooks.PreToolUse.hooks]]
type = "mcp_tool"
server = "interlink"
tool = "bind_codex_session"
input = { thread_id = "${session_id}" }
[[hooks.Stop]]
[[hooks.Stop.hooks]]
type = "mcp_tool"
server = "interlink"
tool = "bind_codex_session"
input = { thread_id = "${session_id}" }