⚙️ How to Set Up a Local MCP Server with Cursor IDE
Follow the steps below to run your own MCP server locally and test it using custom tool commands in Cursor IDE.
🛠️ Files Included
-
mcp_server.py
The Python script that runs the local MCP server. -
mcp_local_mcp_server_settings_for_Cursor_IDE.json
Configuration to register the MCP server in Cursor IDE.
🚀 Steps to Set Up the MCP Server
-
Ensure Python is Installed
Run the following in your terminal to check:python3 --version
🔥 How to Get a Firecrawl API Key
Follow the steps below to obtain your Firecrawl API key and start integrating it into your applications.
🚀 Steps to Generate an API Key
-
Go to the API Key Page
Open https://www.firecrawl.dev/app/api-keys in your web browser. -
Sign In to Firecrawl
If you're not already logged in:- Enter your email and password.
- If you don’t have an account, sign up using the Sign Up or Create Account option.
-
Access the API Keys Management Page
After logging in, you’ll be redirected to the API keys management dashboard. -
Create a New API Key
Click the Create New API Key or Generate API Key button (it’s typically easy to find). -
Configure Your Key
You may be prompted to:- Give your API key a name.
- Choose the permissions/scopes.
- Define any usage limits or restrictions.
-
Generate the Key
Confirm your settings by clicking Create or Generate. -
Save the API Key
The new API key will be shown on screen.
⚠️ Important: Copy and securely save the key immediately. It may only be shown once. -
Verify Key Creation
Your key should now appear in your list of active API keys on the page. -
Use the API Key
Include it in your API requests as per the Firecrawl documentation.
🔒 Security Notice
Always keep your API key secure.
Never commit it to public repositories or share it publicly
