What does the server tool do?
The server exposes a single tool called `get_knowledge_base` that retrieves the entire knowledge base from `data/kb.json` as a formatted string.
@kofiadom
基本信息
An intro to MCP: an MCP server with a knowledge base tool containerized with Docker and connected to a client-side python application using SSE
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
MCP Knowledge Base Assistant is a demonstration of the Model Context Protocol (MCP) that connects an OpenAI-powered client to a knowledge base server. It shows how to build an AI assistant that answers questions about company policies by accessing a knowledge base through MCP.
Install prerequisites (Python 3.11+, OpenAI API key), clone the repo, create a virtual environment, install dependencies, and set OPENAI_API_KEY in a .env file. Run the server with python server.py (or Docker), then run python client.py in another terminal. The client sends a sample query; modify client.py to ask different questions.
get_knowledge_base)The server exposes a single tool called `get_knowledge_base` that retrieves the entire knowledge base from `data/kb.json` as a formatted string.
Python 3.11 or higher, an OpenAI API key, and the dependencies listed in `requirements.txt`. Docker is optional for containerized server execution.
The knowledge base is stored in `data/kb.json`, a local JSON file containing question-answer pairs about company policies. You can add more pairs to expand it.
The client uses Python async context managers (`async with`) to automatically initialize and clean up all resources when exiting the context, following MCP best practices.
The server communicates via SSE (Server-Sent Events) transport on port 8050. Authentication is handled through the OpenAI API key set in the environment.
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

Exact, shared memory for AI agents: a hierarchical database where totals always add up, every write is attributed to the agent and person behind it, and any figure traces back to its source file. Agents create databases,

Mess in, magic out: pour in your D&D and TTRPG notes and LoreKeeper keeps them as a private store for your world. Ask Claude or ChatGPT about it, or build a sourcebook.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

The Cloud is the AI-native workspace that gives every AI — Claude, ChatGPT, Gemini, and other Frontier & Free or Local models — shared memory and real agents. Not cloud computing: thecloud.so is one workspace where your
评论