mirror of
https://github.com/outline/outline.git
synced 2026-11-22 05:51:43 +03:00
* fix: Align CSRF cookie resolution between attach and verify paths The middleware that attaches the token picked one cookie name based on whether the request was secure, while the verifier accepted either name. Resolve the name through a single helper so both paths always agree, and warn at startup when proxy headers are untrusted on an https install. * Remove excessive tests * fix: Describe the request scheme on the MCP-derived API context Helpers shared between the MCP tools and the HTTP routes read the scheme from the context, which the MCP stub did not provide. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: Do not warn about proxy headers when the app terminates TLS itself The socket is already encrypted in that case, so the request scheme is known without X-Forwarded-Proto. Extract the certificate check that main was doing inline so both call sites stay in step. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * simplify --------- Co-authored-by: Claude Opus 5 (1M context) <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