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.
Project context your AI can query through MCP — with source evidence.

Personal context for every AI: search, read, and write back to your private Markdown library of articles, threads, PDFs, notes, and captured ChatGPT/Claude/Gemini/Grok conversations. Remote server, OAuth 2.1 paste-and-au

Scento Perfume API is a free fragrance API and perfume notes database for developers and AI agents. Search 1,500+ perfumes and 400+ ingredients, compare scents, find similar perfumes, map scent families and build occasio

One permissioned folder your team and your AI agents both log into.
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
コメント