A Model Context Protocol (MCP) server implementation that integrates with Dumpling AI for data scraping, content processing, knowledge management, AI agents, and code execution capabilities. - Complete integration with all Dumpling AI API endpoints - Data APIs for YouTube transcripts, search, autocomplete, maps, places, news, and reviews - Web scraping with support for scraping, crawling, screensh
Add this skill
npx mdskills install Dumpling-AI/mcp-server-dumplingaiComprehensive MCP server with 28 well-documented tools spanning scraping, AI, and code execution
1# Dumpling AI MCP Server23A Model Context Protocol (MCP) server implementation that integrates with Dumpling AI for data scraping, content processing, knowledge management, AI agents, and code execution capabilities.45[](https://smithery.ai/server/@Dumpling-AI/mcp-server-dumplingai)67## Features89- Complete integration with all Dumpling AI API endpoints10- Data APIs for YouTube transcripts, search, autocomplete, maps, places, news, and reviews11- Web scraping with support for scraping, crawling, screenshots, and structured data extraction12- Document conversion tools for text extraction, PDF operations, video processing13- Extract data from documents, images, audio, and video14- AI capabilities including agent completions, knowledge base management, and image generation15- Developer tools for running JavaScript and Python code in a secure environment16- Automatic error handling and detailed response formatting1718## Installation1920### Installing via Smithery2122To install mcp-server-dumplingai for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@Dumpling-AI/mcp-server-dumplingai):2324```bash25npx -y @smithery/cli install @Dumpling-AI/mcp-server-dumplingai --client claude26```2728### Running with npx2930```bash31env DUMPLING_API_KEY=your_api_key npx -y mcp-server-dumplingai32```3334### Manual Installation3536```bash37npm install -g mcp-server-dumplingai38```3940### Running on Cursor4142Configuring Cursor ๐ฅ๏ธ Note: Requires Cursor version 0.45.6+4344To configure Dumpling AI MCP in Cursor:45461. Open Cursor Settings472. Go to Features > MCP Servers483. Click "+ Add New MCP Server"494. Enter the following:5051```52{53 "mcpServers": {54 "dumplingai": {55 "command": "npx",56 "args": ["-y", "mcp-server-dumplingai"],57 "env": {58 "DUMPLING_API_KEY": "<your-api-key>"59 }60 }61 }62}63```6465> If you are using Windows and are running into issues, try `cmd /c "set DUMPLING_API_KEY=your-api-key && npx -y mcp-server-dumplingai"`6667Replace `your-api-key` with your Dumpling AI API key.6869## Configuration7071### Environment Variables7273- `DUMPLING_API_KEY`: Your Dumpling AI API key (required)7475## Available Tools7677### Data APIs7879#### 1. Get YouTube Transcript (`get-youtube-transcript`)8081Extract transcripts from YouTube videos with optional timestamps.8283```json84{85 "name": "get-youtube-transcript",86 "arguments": {87 "videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",88 "includeTimestamps": true,89 "timestampsToCombine": 3,90 "preferredLanguage": "en"91 }92}93```9495#### 2. Search (`search`)9697Perform Google web searches and optionally scrape content from results.9899```json100{101 "name": "search",102 "arguments": {103 "query": "machine learning basics",104 "country": "us",105 "language": "en",106 "dateRange": "pastMonth",107 "scrapeResults": true,108 "numResultsToScrape": 3,109 "scrapeOptions": {110 "format": "markdown",111 "cleaned": true112 }113 }114}115```116117#### 3. Get Autocomplete (`get-autocomplete`)118119Get Google search autocomplete suggestions for a query.120121```json122{123 "name": "get-autocomplete",124 "arguments": {125 "query": "how to learn",126 "country": "us",127 "language": "en",128 "location": "New York"129 }130}131```132133#### 4. Search Maps (`search-maps`)134135Search Google Maps for locations and businesses.136137```json138{139 "name": "search-maps",140 "arguments": {141 "query": "coffee shops",142 "gpsPositionZoom": "37.7749,-122.4194,14z",143 "language": "en",144 "page": 1145 }146}147```148149#### 5. Search Places (`search-places`)150151Search for places with more detailed information.152153```json154{155 "name": "search-places",156 "arguments": {157 "query": "hotels in paris",158 "country": "fr",159 "language": "en",160 "page": 1161 }162}163```164165#### 6. Search News (`search-news`)166167Search for news articles with customizable parameters.168169```json170{171 "name": "search-news",172 "arguments": {173 "query": "climate change",174 "country": "us",175 "language": "en",176 "dateRange": "pastWeek"177 }178}179```180181#### 7. Get Google Reviews (`get-google-reviews`)182183Retrieve Google reviews for businesses or places.184185```json186{187 "name": "get-google-reviews",188 "arguments": {189 "businessName": "Eiffel Tower",190 "location": "Paris, France",191 "limit": 10,192 "sortBy": "relevance"193 }194}195```196197### Web Scraping198199#### 8. Scrape (`scrape`)200201Extract content from a web page with formatting options.202203```json204{205 "name": "scrape",206 "arguments": {207 "url": "https://example.com",208 "format": "markdown",209 "cleaned": true,210 "renderJs": true211 }212}213```214215#### 9. Crawl (`crawl`)216217Recursively crawl websites and extract content with customizable parameters.218219```json220{221 "name": "crawl",222 "arguments": {223 "baseUrl": "https://example.com",224 "maxPages": 10,225 "crawlBeyondBaseUrl": false,226 "depth": 2,227 "scrapeOptions": {228 "format": "markdown",229 "cleaned": true,230 "renderJs": true231 }232 }233}234```235236#### 10. Screenshot (`screenshot`)237238Capture screenshots of web pages with customizable viewport and format options.239240```json241{242 "name": "screenshot",243 "arguments": {244 "url": "https://example.com",245 "width": 1280,246 "height": 800,247 "fullPage": true,248 "format": "png",249 "waitFor": 1000250 }251}252```253254#### 11. Extract (`extract`)255256Extract structured data from web pages using AI-powered instructions.257258```json259{260 "name": "extract",261 "arguments": {262 "url": "https://example.com/products",263 "instructions": "Extract all product names, prices, and descriptions from this page",264 "schema": {265 "products": [266 {267 "name": "string",268 "price": "number",269 "description": "string"270 }271 ]272 },273 "renderJs": true274 }275}276```277278### Document Conversion279280#### 12. Doc to Text (`doc-to-text`)281282Convert documents to plaintext with optional OCR.283284```json285{286 "name": "doc-to-text",287 "arguments": {288 "url": "https://example.com/document.pdf",289 "options": {290 "ocr": true,291 "language": "en"292 }293 }294}295```296297#### 13. Convert to PDF (`convert-to-pdf`)298299Convert various file formats to PDF.300301```json302{303 "name": "convert-to-pdf",304 "arguments": {305 "url": "https://example.com/document.docx",306 "format": "docx",307 "options": {308 "quality": 90,309 "pageSize": "A4",310 "margin": 10311 }312 }313}314```315316#### 14. Merge PDFs (`merge-pdfs`)317318Combine multiple PDFs into a single document.319320```json321{322 "name": "merge-pdfs",323 "arguments": {324 "urls": ["https://example.com/doc1.pdf", "https://example.com/doc2.pdf"],325 "options": {326 "addPageNumbers": true,327 "addTableOfContents": true328 }329 }330}331```332333#### 15. Trim Video (`trim-video`)334335Extract a specific clip from a video.336337```json338{339 "name": "trim-video",340 "arguments": {341 "url": "https://example.com/video.mp4",342 "startTime": 30,343 "endTime": 60,344 "output": "mp4",345 "options": {346 "quality": 720,347 "fps": 30348 }349 }350}351```352353#### 16. Extract Document (`extract-document`)354355Extract specific content from documents in various formats.356357```json358{359 "name": "extract-document",360 "arguments": {361 "url": "https://example.com/document.pdf",362 "format": "structured",363 "options": {364 "ocr": true,365 "language": "en",366 "includeMetadata": true367 }368 }369}370```371372#### 17. Extract Image (`extract-image`)373374Extract text and information from images.375376```json377{378 "name": "extract-image",379 "arguments": {380 "url": "https://example.com/image.jpg",381 "extractionType": "text",382 "options": {383 "language": "en",384 "detectOrientation": true385 }386 }387}388```389390#### 18. Extract Audio (`extract-audio`)391392Transcribe and extract information from audio files.393394```json395{396 "name": "extract-audio",397 "arguments": {398 "url": "https://example.com/audio.mp3",399 "language": "en",400 "options": {401 "model": "enhanced",402 "speakerDiarization": true,403 "wordTimestamps": true404 }405 }406}407```408409#### 19. Extract Video (`extract-video`)410411Extract content from videos including transcripts, scenes, and objects.412413```json414{415 "name": "extract-video",416 "arguments": {417 "url": "https://example.com/video.mp4",418 "extractionType": "transcript",419 "options": {420 "language": "en",421 "speakerDiarization": true422 }423 }424}425```426427#### 20. Read PDF Metadata (`read-pdf-metadata`)428429Extract metadata from PDF files.430431```json432{433 "name": "read-pdf-metadata",434 "arguments": {435 "url": "https://example.com/document.pdf",436 "includeExtended": true437 }438}439```440441#### 21. Write PDF Metadata (`write-pdf-metadata`)442443Update metadata in PDF files.444445```json446{447 "name": "write-pdf-metadata",448 "arguments": {449 "url": "https://example.com/document.pdf",450 "metadata": {451 "title": "New Title",452 "author": "John Doe",453 "keywords": ["keyword1", "keyword2"]454 }455 }456}457```458459### AI460461#### 22. Generate Agent Completion (`generate-agent-completion`)462463Get AI agent completions with optional tool definitions.464465```json466{467 "name": "generate-agent-completion",468 "arguments": {469 "prompt": "How can I improve my website's SEO?",470 "model": "gpt-4",471 "temperature": 0.7,472 "maxTokens": 500,473 "context": ["The website is an e-commerce store selling handmade crafts."]474 }475}476```477478#### 23. Search Knowledge Base (`search-knowledge-base`)479480Search a knowledge base for relevant information.481482```json483{484 "name": "search-knowledge-base",485 "arguments": {486 "kbId": "kb_12345",487 "query": "How to optimize database performance",488 "limit": 5,489 "similarityThreshold": 0.7490 }491}492```493494#### 24. Add to Knowledge Base (`add-to-knowledge-base`)495496Add entries to a knowledge base.497498```json499{500 "name": "add-to-knowledge-base",501 "arguments": {502 "kbId": "kb_12345",503 "entries": [504 {505 "text": "MongoDB is a document-based NoSQL database.",506 "metadata": {507 "source": "MongoDB documentation",508 "category": "databases"509 }510 }511 ],512 "upsert": true513 }514}515```516517#### 25. Generate AI Image (`generate-ai-image`)518519Generate images using AI models.520521```json522{523 "name": "generate-ai-image",524 "arguments": {525 "prompt": "A futuristic city with flying cars and neon lights",526 "width": 1024,527 "height": 1024,528 "numImages": 1,529 "quality": "hd",530 "style": "photorealistic"531 }532}533```534535#### 26. Generate Image (`generate-image`)536537Generate images using various AI providers.538539```json540{541 "name": "generate-image",542 "arguments": {543 "prompt": "A golden retriever in a meadow of wildflowers",544 "provider": "dalle",545 "width": 1024,546 "height": 1024,547 "numImages": 1548 }549}550```551552### Developer Tools553554#### 27. Run JavaScript Code (`run-js-code`)555556Execute JavaScript code with optional dependencies.557558```json559{560 "name": "run-js-code",561 "arguments": {562 "code": "const result = [1, 2, 3, 4].reduce((sum, num) => sum + num, 0); console.log(`Sum: ${result}`); return result;",563 "dependencies": {564 "lodash": "^4.17.21"565 },566 "timeout": 5000567 }568}569```570571#### 28. Run Python Code (`run-python-code`)572573Execute Python code with optional dependencies.574575```json576{577 "name": "run-python-code",578 "arguments": {579 "code": "import numpy as np\narr = np.array([1, 2, 3, 4, 5])\nmean = np.mean(arr)\nprint(f'Mean: {mean}')\nreturn mean",580 "dependencies": ["numpy", "pandas"],581 "timeout": 10000,582 "saveOutputFiles": true583 }584}585```586587## Error Handling588589The server provides robust error handling:590591- Detailed error messages with HTTP status codes592- API key validation593- Input validation using Zod schemas594- Network error handling with descriptive messages595596Example error response:597598```json599{600 "content": [601 {602 "type": "text",603 "text": "Error: Failed to fetch YouTube transcript: 404 Not Found"604 }605 ],606 "isError": true607}608```609610## Development611612```bash613# Install dependencies614npm install615616# Build617npm run build618619```620621## License622623MIT License - see LICENSE file for details624
Full transparency โ inspect the skill content before installing.