Aerostack
settings

Knowledge Base + MCP Edge Function — Devops

DevOps

RAG-powered knowledge base with built-in MCP server. Connect to Claude Desktop, Cursor, or any MCP client. Ingest docs, chat, and search via MCP tools.

aerostack @aerostack verified
Updated Mar 13, 2025
GitHub

Edge function Knowledge Base + MCP RAG-powered knowledge base with built-in MCP server. Connect to Claude Desktop, Cursor, or any MCP client. Ingest docs, chat, and search via MCP tools.. Deployed on Cloudflare Workers — zero cold starts, globally distributed. Mount it via your Aerostack workspace to call it from any AI agent.

terminal — aerostack cli
$ npx aerostack add aerostack/knowledge-mcp
smart_toy

Use with AI Assistants

MCP

Connect Claude, Cursor, or any MCP-compatible client — then call this function by slug

① Add MCP Server

Add this once — access all Aerostack functions from your AI tool.

claude_desktop_config.json
{
  "mcpServers": {
    "aerostack": {
      "url": "https://mcp.aerostack.dev",
      "type": "http"
    }
  }
}

② Call this function

Ask your AI to use the call_function tool with this slug:

call_function
call_function({
  slug: "knowledge-mcp",
  args: {}
})

Knowledge Base + MCP Server

Full knowledge base with a built-in Model Context Protocol server. Connect directly from Claude Desktop or Cursor.

Endpoints

Method Path Description
POST /ingest Upload content to knowledge base
POST /chat Ask questions with RAG context
POST /search Semantic search
GET /.well-known/mcp.json MCP server manifest
POST /mcp MCP JSON-RPC handler
GET /health Status check

MCP Tools

  • search_knowledge — search the knowledge base
  • ask_question — ask a question with AI-generated answer

Metadata

upgrade Version 1.0.0
gavel License MIT
language Language javascript
cloud Provider cloudflare-worker

Tags

rag mcp knowledge-base claude cursor
deployed_code

Build and publish your own functions

Write a TypeScript function, deploy it to the edge, and share it with thousands of developers — in minutes.

More Devops Functions

Browse Devops Functions →

Frequently asked questions

What does the Knowledge Base + MCP function do? +

Knowledge Base + MCP is a serverless edge function for devops automation written in cloudflare-worker. Deploy it to Cloudflare Workers via your Aerostack workspace.

How do I deploy the Knowledge Base + MCP function? +

Install the Aerostack CLI and run: ```bash aerostack deploy function @aerostack/knowledge-mcp ``` It will be live on Cloudflare Workers in seconds.

What runtime does Knowledge Base + MCP use? +

Knowledge Base + MCP runs on cloudflare-worker on the Cloudflare Workers edge runtime — zero cold starts, globally distributed.

Can I customise the Knowledge Base + MCP function? +

Yes. Fork the function from your Aerostack dashboard, modify the source, and redeploy. All changes are version-controlled.