File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ dotenv.config({ debug: false, quiet: true });
1212
1313interface SessionData {
1414 /**
15- * FC API key (`fc-… `) or OAuth access token (`fco_… `) sent as
16- * `Authorization: Bearer … ` to the Firecrawl API.
15+ * FC API key (`fc-... `) or OAuth access token (`fco_... `) sent as
16+ * `Authorization: Bearer ... ` to the Firecrawl API.
1717 */
1818 firecrawlApiKey ? : string ;
1919 [ key : string ] : unknown ;
@@ -268,7 +268,7 @@ const server = new FastMCP<SessionData>({
268268 if (process.env.CLOUD_SERVICE === 'true') {
269269 if (!headerCred) {
270270 throw new Error(
271- 'Firecrawl credentials required: OAuth access token (Authorization: Bearer fco_… ) or API key (x-firecrawl-api-key)'
271+ 'Firecrawl credentials required: OAuth access token (Authorization: Bearer fco_... ) or API key (x-firecrawl-api-key)'
272272 );
273273 }
274274 return { firecrawlApiKey: headerCred };
@@ -291,7 +291,7 @@ const server = new FastMCP<SessionData>({
291291
292292 if (httpStreaming && !credential && !process.env.FIRECRAWL_API_URL) {
293293 console.error(
294- 'HTTP MCP transport requires FIRECRAWL_API_URL and/or credentials (OAuth: Authorization Bearer fco_… , or FIRECRAWL_API_KEY / FIRECRAWL_OAUTH_TOKEN)'
294+ 'HTTP MCP transport requires FIRECRAWL_API_URL and/or credentials (OAuth: Authorization Bearer fco_... , or FIRECRAWL_API_KEY / FIRECRAWL_OAUTH_TOKEN)'
295295 );
296296 process.exit(1);
297297 }
You can’t perform that action at this time.
0 commit comments