Skip to content

Commit 03cbb38

Browse files
committed
docs(mcp-server): clarify limits and url inputs
1 parent 03d6de6 commit 03cbb38

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/mcp-server/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,18 @@ export type InputFile =
7272
7373
## Limits
7474
75+
These limits apply only to inline JSON/base64 payloads. Small files can be sent inline, but large
76+
files should be passed as `path` or `url`. The MCP server uploads those via tus (the default), so
77+
the request body stays small and no extra MCP/LLM token budget is consumed.
78+
7579
- Hosted default request body limit: **1 MB** (JSON).
7680
- Hosted default `maxBase64Bytes`: **512_000** (decoded bytes).
7781
- Self-hosted default request body limit: **10 MB** (configurable).
7882
7983
## URL inputs
8084
81-
- By default URL files are **downloaded and uploaded via tus** (no instruction mutation).
85+
- By default URL files are **downloaded and uploaded via tus**. This keeps instructions unchanged
86+
and avoids large inline payloads (the transfer happens out-of-band).
8287
- If instructions already contain an `/http/import` step, the MCP server sets/overrides its `url`.
8388
- If multiple URLs and a single `/http/import` step exists, it supplies a `url` array.
8489

0 commit comments

Comments
 (0)