MCP Knowledge Server
Provides tools to search and retrieve Markdown documents stored in GitHub repositories, enabling AI assistants to access structured knowledge from a GitHub-backed knowledge base.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Knowledge Serversearch company knowledge for architecture patterns"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
# MCP Knowledge Server
A production-ready Remote Model Context Protocol (MCP) Server built with Cloudflare Workers that provides AI assistants with fast, structured, read-only access to Markdown knowledge stored in GitHub.
Instead of searching raw Markdown files on every request, the server indexes document metadata into Cloudflare KV, enabling low-latency retrieval while keeping hosting costs minimal.
Features
Remote MCP Server
Cloudflare Workers deployment
GitHub-backed knowledge base
Multi-profile isolation
Company
Personal
Freelance
Metadata indexing
KV caching
Stateless architecture
Fast keyword search
Markdown document retrieval
Bearer token authentication
Cron-based index rebuilding
Manual reindex support
Related MCP server: pure-admin-docs-mcp
Architecture
GitHub Repository
company/
personal/
freelance/
│
▼
manifest.json
│
▼
Cloudflare Worker
│
┌───────────┴───────────┐
│ │
Search Index Document Fetch
│ │
▼ ▼
Cloudflare KV GitHub Raw Files
│
▼
MCP Client
(Cursor / Claude / VS Code)Knowledge Structure
company/
projects/
skills/
glossary/
architecture/
troubleshooting/
manifest.json
personal/
...
freelance/
...Every Markdown document contains structured frontmatter:
---
id: project-mcp
title: MCP Knowledge Server
type: project
tags:
- mcp
- cloudflare
keywords:
- retrieval
- markdown
summary: Remote MCP server powered by Cloudflare Workers.
priority: 1
updated_at: 2026-07-01
---MCP Tools
list_profiles
Returns all available knowledge profiles.
company
personal
freelancesearch_knowledge
Search metadata across a selected profile.
Example:
{
"profile": "personal",
"query": "cloudflare workers",
"limit": 5
}Returns
title
summary
tags
related documents
confidence
document id
get_document
Retrieve the complete Markdown document.
{
"profile": "company",
"id": "proj-mcp-server"
}reindex_profile
Rebuild the search index from the latest GitHub manifest.
Why Metadata Indexing?
Searching raw Markdown for every request quickly becomes expensive.
Instead:
Markdown Files
│
▼
manifest.json
│
▼
Metadata Index
│
▼
Cloudflare KV
│
▼
Instant SearchOnly the requested document is fetched from GitHub.
Tech Stack
Cloudflare Workers
Model Context Protocol (MCP)
Cloudflare KV
TypeScript
Zod
GitHub Raw Content
Wrangler
GitHub Actions
Project Structure
src/
├── cache/
├── fetcher/
├── indexer/
├── mcp/
│ ├── tools/
│ └── server.ts
├── registry/
├── types.ts
└── index.tsLocal Development
pnpm install
wrangler devInspect the server:
npx @modelcontextprotocol/inspectorDeployment
wrangler deploySecurity
The server uses Bearer Token authentication.
Authorization: Bearer <TOKEN>Roadmap
Version 1
Metadata indexing
GitHub integration
KV cache
MCP tools
Profile isolation
Version 2
Vector Search
Semantic search
OAuth
Multi-user support
Relationship graph
Fuzzy search
Design Goals
Fast
Stateless
Low-cost
Production-ready
Easy to maintain
AI-friendly
Cloud-native
This server cannot be deployed
Maintenance
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Cloudflare Workers MCP server: embedding-search
An MCP server that gives your AI access to the source code and docs of all public github repos
Cloudflare Workers MCP server: agent-memory
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables semantic search over local files or GitHub repositories by indexing content into a serverless vector database, allowing AI assistants to understand meaning rather than just keywords.24MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that syncs Markdown docs from a GitHub repository and provides search, reading, and listing capabilities for AI agents.-
- FlicenseAqualityBmaintenanceAn MCP server that provides AI assistants with long-term semantic memory using a Markdown-based knowledge base with hybrid search (vector + FTS5) and syntax-aware chunking. It supports idempotent ingestion, project isolation, and integrity linting.4-
- AlicenseNot gradedqualityAmaintenanceA lightweight MCP server for semantic search over markdown knowledge bases, enabling AI coding agents to index, search, and answer questions from local markdown documents.MIT