mcp-knowledge-base
mcp-knowledge-base
Model Context Protocol (MCP) サーバーで、ノートのナレッジベースを MCP クライアント(Claude Desktop、IDE、または任意のエージェント)に公開します。MCP サーバーが提供する2つの機能、ツール(モデルが呼び出せるアクション)とリソース(モデルが読み取れるデータ)を示しています。TypeScript で書かれ、stdio 上で動作します。
公開内容
ツール (src/server.ts):
ツール | 目的 |
| ナレッジベース全体のキーワード検索(タイトル/タグ/本文を重み付け) |
| 新しいノートを追加 |
| ID で1件のノートを取得 |
リソース: 各ノートは note://{id} で読み取れ、一覧も提供されます。つまりクライアントはツールを呼び出すだけでなく、ナレッジベースをデータとして閲覧できます。
ドメインロジック(ノートストアと検索ランキング)は src/notes.ts にあり、プロトコル層から分離されています。
Related MCP server: approveit MCP Server
MCP クライアントで使う
ビルドしてから、クライアントをバイナリに向けます。たとえば Claude Desktop の claude_desktop_config.json では:
{
"mcpServers": {
"knowledge-base": { "command": "node", "args": ["/abs/path/to/dist/index.js"] }
}
}npm install && npm run build
node dist/index.js # speaks MCP over stdioテスト
npm test2つの層があり、どちらもオフラインで動作します:
ユニット — ノートストアと検索ランキング。
統合 — 実際の MCP
Clientがインメモリトランスポートを介してサーバーと通信します(stdio 経由のクライアントと同じ方法)。ツールの一覧表示、search_notes/add_note/get_noteの呼び出し、note://リソースの読み取りを行います。合計9テスト。
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
Notes, files, GitHub, and Drive through one MCP connection.
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- -licenseCqualityDmaintenanceEnables creating and managing text notes through MCP resources and tools. Provides note creation capabilities and automatic summarization of all stored notes.1
- -licenseNot gradedqualityNot gradedmaintenanceA simple notes system that allows creating, storing, and accessing text notes through MCP resources and tools, with built-in prompt support for generating summaries of stored notes.
- FlicenseNot gradedqualityDmaintenanceProvides MCP tools to create and retrieve notes stored in memory.
- FlicenseNot gradedqualityCmaintenanceEnables users to create and manage notes through Claude Desktop using MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gaurav-oberoi/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server