Wiki source code of Enable Write Tools

Last modified by superadmin on 2026/10/14 18:44

Hide last authors
Vincent Massol 5.1 1 Turn on the MCP tools that change wiki content. They are all off by default: read [[Write Tools Risk>>doc:documentation.extensions.admin.llm.mcp-server.write-tools-risk.WebHome]] before enabling any of them, and [[MCP User Permissions>>doc:documentation.extensions.admin.llm.mcp-server.user-permissions.WebHome]] for the rights those writes will carry.
gabrielc 1.1 2
Vincent Massol 5.1 3 1. Open the wiki's administration and go to "Other > MCP Server".
Vincent Massol 9.3 4 1. Check, in the tool tree, only the write tools the use case needs. The Authoring group holds the page and attachment tools — ##edit_document## and ##write_document## for content, ##delete_document## to delete pages, ##write_attachment## and ##delete_attachment## for attachments — and Structured Data holds ##write_object##, ##delete_object## and ##write_schema## for objects and class definitions.(((
Vincent Massol 9.1 5 {{image reference="write-tools-tree.png" size="large" alt="The Authoring group of the MCP tool tree, highlighted, with edit_document and write_document ticked and the three delete and attachment tools left unticked"/}}
6 )))
Vincent Massol 5.1 7 1. Save the configuration. The change applies to the next request, with no restart.
Vincent Massol 9.3 8 1. Ask a connected agent to call ##man## and check that it lists exactly the write tools you intended.(((
Vincent Massol 9.1 9 {{image reference="write-tools-man.png" size="extra" alt="The man catalog printed by a connected agent, with the Authoring section listing only edit_document and write_document highlighted"/}}
10 )))

Get Connected