mirror of
https://github.com/outline/outline.git
synced 2026-08-03 13:27:25 +03:00
* fix: Return a compact success payload from MCP mutation tools Mutation tools serialized the entire resource — and for documents the full markdown body — back to the client on every write, which the caller already has. They now acknowledge the write with the identifying fields needed to reference the resource. The one exception is update_document with editMode "patch", which still echoes the resulting content so the caller can verify what was replaced. For move_document and restore_document the breadcrumb is now resolved after the transaction commits, so it reflects the new location rather than the cached pre-move document structure. * test: Update MCP scope enforcement tests for the new response shape * test: Assert the success acknowledgement across all mutation tool variants
Tools are the building blocks of functionality for our internal MCP server.
Each tool is a self-contained unit of functionality that can be invoked by the MCP client to perform a specific task. To test the MCP with Claude in development make sure to run with the following command to ensure that the MCP server trusts the mkcert root CA certificate.
NODE_EXTRA_CA_CERTS=$(mkcert -CAROOT)/rootCA.pem claude