mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
4058b54573
* fix: relative path returned from MCP * fix: MCP create_attachment uploadUrl and size validation Make uploadUrl absolute against team.url so MCP clients can resolve it without a base, tighten the size schema to match the REST endpoint (int, nonnegative, finite), and stub cookies on the MCP API context so LocalStorage's CSRF-aware getPresignedPost works for Bearer-authed MCP requests. Adds tests covering the success path, persistence, size limits, schema rejections, and read-only scope enforcement. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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