Cline MCP Server
Enables Cline + LM Studio to perform web searches, download images, fetch webpages, execute shell commands, and parse PDF files without needing any API keys.
README
Cline MCP Server
An MCP (Model Context Protocol) server that gives Cline + LM Studio superpowers: web search, image downloading, webpage reading, command execution, and PDF parsing — all without needing API keys.
Tools
| Tool | Description |
|---|---|
web_search |
Search the web via DuckDuckGo (no API key needed) |
fetch_webpage |
Fetch and extract readable text from any URL |
download_image |
Download images from URLs to local files |
execute_command |
Run shell commands with safety checks |
read_pdf |
Extract text from local or remote PDF files |
Setup
1. Build the server
cd ~/cline-mcp-server
npm install
npm run build
2. Configure Cline to use this MCP server
Open your Cline MCP settings file. Depending on your setup, this is typically at:
- VS Code:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Cursor:
~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Add this entry to the mcpServers object:
{
"mcpServers": {
"cline-tools": {
"command": "node",
"args": ["/Users/pirrima001/cline-mcp-server/dist/index.js"],
"disabled": false
}
}
}
3. Restart Cline
After saving the config, restart the Cline extension (or reload the VS Code window). You should see the new tools available in Cline's MCP tools list.
Usage Examples
Once connected, Cline (even with LM Studio) can:
Search the web:
"Search for the latest React 19 features"
Read a webpage:
"Fetch the content from https://docs.python.org/3/tutorial/"
Download images:
"Download the image at https://example.com/photo.jpg to ./downloads/photo.jpg"
Run commands:
"Run
ls -lain my home directory"
Read PDFs:
"Extract the text from ./documents/paper.pdf"
Development
# Run in development mode (no build needed)
npm run dev
# Build for production
npm run build
# Run the built server
npm start
How It Works
- Web search scrapes DuckDuckGo's HTML results page (no API key required)
- Webpage fetching uses Cheerio to extract clean text, stripping ads/nav/scripts
- Image download streams the file to disk with content-type validation
- Command execution has a blocklist for dangerous patterns (rm -rf /, fork bombs, etc.)
- PDF reading works with both local files and URLs
Requirements
- Node.js 18+ (tested with 18.19.1)
- No API keys needed — everything works out of the box
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.