Skip to content

[pull] main from firecrawl:main - #74

Merged
pull[bot] merged 4 commits into
innFactory:mainfrom
firecrawl:main
Sep 17, 2026
Merged

pull[bot] merged 4 commits into
innFactory:mainfrom
firecrawl:main

Conversation

@pull

@pull pull Bot commented Sep 17, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 馃挅 Please sponsor : )

erikengervall and others added 4 commits September 17, 2026 18:51
Every request this server made to the Firecrawl API carried the constant
origin `mcp-fastmcp`. It now carries `mcp-<client>@<server version>`, from
the `clientInfo` the MCP client sends at initialize, which fastmcp hands to
each tool call as `context.client.version`. A stateless HTTP call never sees
the client's initialize, so it falls back to the User-Agent product token as
`mcp-ua-<product>@<version>`, captured at authentication, and to
`mcp-fastmcp@<version>` without one. The `mcp` token stays in every form, so
nothing that classifies MCP traffic by it changes.

- src/origin.ts owns the shape (slug rules, bounds, fallbacks) with unit tests
- the developer, research and monitor tools stamp the same origin instead of
  their own constants
- the smoke tests pin a User-Agent and read the version from package.json

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The upload-url phase of a hosted firecrawl_parse call with filePath went out
without an origin, so that request could not be attributed to the client. The
hosted POST helper now takes the origin and sends it as the X-Origin header on
both the credentialed and the keyless path, and the smoke test asserts it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The developer, research and monitor modules declare their own SessionData,
so the origin reader's optional clientUserAgent had no property in common
with them and tsc refused the call. Each now names the field.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Stamp the MCP client in the request origin
@pull pull Bot locked and limited conversation to collaborators Sep 17, 2026
@pull pull Bot added the 猡碉笍 pull label Sep 17, 2026
@pull
pull Bot merged commit 4c63412 into innFactory:main Sep 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant