SuperAPIAI Directory

HatmanStack/ragstack-mcp

github.com · AI developer platforms

RAGStack MCP Server is a Model Context Protocol (MCP) server for the RAGStack knowledge base. It enables AI assistants to search the knowledge base, perform Q&A with source citations, upload documents and audio/video, scrape website content, and view metadata statistics and configuration information. It connects to RAGStack through a GraphQL endpoint and API Key, and supports configuration and use in MCP clients such as Claude Desktop, Amazon Q, Cursor, and VS Code (Cline, Continue).

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

RAGStack MCP Server is a Model Context Protocol (MCP) server for the RAGStack knowledge base, used to connect knowledge base capabilities to AI assistants that support MCP.

Purpose Enable AI assistants to directly operate the RAGStack knowledge base: retrieve documents, answer questions based on the knowledge base, upload documents and media, scrape websites, and view metadata and configuration.

Key capabilities

  • Knowledge base retrieval and Q&A: search_knowledge_base searches for relevant documents; chat_with_knowledge_base returns AI-generated answers with source citations.
  • Website scraping: start_scrape_job supports SUBPAGES (only URLs under the starting path), HOSTNAME (all pages on the same subdomain), and DOMAIN (all subdomains of the domain); scraping modes include AUTO (fast mode first, fallback to full mode for SPAs), FAST (HTTP only, faster but may miss JavaScript content), and FULL (headless browser, processes all JavaScript). Also includes get_scrape_job_status and list_scrape_jobs.
  • Document and media upload: upload_document_url obtains a presigned upload URL and supports documents (PDF, DOCX, XLSX, HTML, TXT, CSV, JSON, XML, EML, EPUB, Markdown), images (JPG, PNG, GIF, WebP, AVIF, BMP, TIFF), video (MP4, WebM), and audio (MP3, WAV, M4A, OGG, FLAC); video/audio are transcribed with AWS Transcribe and segmented for search.
  • Image upload flow: upload_image_url obtains a presigned URL (step 1); generate_image_caption uses a vision model to generate an AI description (step 2, optional); finally complete the upload and trigger indexing (step 3).
  • Read-only configuration query: get_configuration returns settings by category, including chat models, quotas, system prompts, document access, metadata extraction, query-time filtering, public access, document processing, media processing, budget alert thresholds, etc.; modifications must be made through the admin console (Cognito authentication required).
  • Metadata tools: get_metadata_stats returns metadata key names, types, occurrence counts, example values, and status; get_filter_examples returns AI-generated filter examples (name, description, use case, JSON filter syntax); get_key_library returns the complete metadata key library; check_key_similarity checks whether a new key is similar to existing keys; analyze_metadata triggers metadata analysis (long-running task, approximately 1-2 minutes, samples up to 1000 vectors and uses LLM analysis). The filter syntax supports $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin, $exists, and $and, $or.

Usage Obtain the GraphQL endpoint and API Key from the RAGStack dashboard Settings → API Key, then add the server in the MCP client configuration file: For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows); for Amazon Q, edit ~/.aws/amazonq/mcp.json; for Cursor, go to Settings → MCP Servers → Add Server or edit .cursor/mcp.json; for VS Code + Cline, edit .vscode/cline_mcp_settings.json; for VS Code + Continue, edit the mcpServers array in ~/.continue/config.json. After configuration, you can ask questions in natural language, for example, search the knowledge base, ask about document content, crawl websites, upload files, view metadata keys, or view the current configuration.

Use cases Scenarios that require letting an AI assistant retrieve and answer questions based on its own knowledge base, incorporate websites or documents/audio and video materials into the knowledge base, analyze metadata, and generate filter conditions.

Limitations The configuration tool is read-only; modifying settings requires the admin console and Cognito authentication; analyze_metadata is a long-running task; FAST crawling may miss JavaScript content; video/audio transcription relies on AWS Transcribe. Specific environment variables, installation commands, and complete configuration examples are not fully provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools