| layout | default |
|---|---|
| title | Chapter 1: Getting Started and Core Setup |
| nav_order | 1 |
| parent | Firecrawl MCP Server Tutorial |
Welcome to Chapter 1: Getting Started and Core Setup. In this part of Firecrawl MCP Server Tutorial: Web Scraping and Search Tools for MCP Clients, you will build an intuitive mental model first, then move into concrete implementation details and practical production tradeoffs.
This chapter gets Firecrawl MCP running with minimum viable configuration.
- launch Firecrawl MCP with cloud credentials
- verify tool availability in your client
- capture initial connectivity checks
env FIRECRAWL_API_KEY=fc-YOUR_API_KEY npx -y firecrawl-mcp- API key is valid
- client connects to server process
- at least one scrape/search call succeeds
- logs show no repeated auth or rate-limit failures
You now have a working Firecrawl MCP baseline.
Next: Chapter 2: Architecture, Transports, and Versioning
The FastMCP class in src/types/fastmcp.d.ts handles a key part of this chapter's functionality:
) => unknown | Promise<unknown>;
export class FastMCP<Session = unknown> {
constructor(options: {
name: string;
version?: string;
logger?: Logger;
roots?: { enabled?: boolean };
authenticate?: (
request: { headers: IncomingHttpHeaders }
) => Promise<Session> | Session;
health?: {
enabled?: boolean;
message?: string;
path?: string;
status?: number;
};
});
addTool(tool: {
name: string;
description?: string;
parameters?: unknown;
execute: ToolExecute<Session>;
}): void;
start(args?: TransportArgs): Promise<void>;
}
}
This class is important because it defines how Firecrawl MCP Server Tutorial: Web Scraping and Search Tools for MCP Clients implements the patterns covered in this chapter.
flowchart TD
A[FastMCP]