Skip to main content
Glama
gaurav-oberoi

mcp-knowledge-base

mcp-knowledge-base

Ein Model Context Protocol (MCP)-Server, der eine Notiz-Wissensdatenbank für MCP-Clients bereitstellt – Claude Desktop, IDEs oder beliebige Agenten. Er demonstriert die zwei Dinge, die ein MCP-Server bietet: Tools (Aktionen, die das Modell aufrufen kann) und Ressourcen (Daten, die das Modell lesen kann). TypeScript, läuft über stdio.

mcp typescript

Was er bereitstellt

Tools (src/server.ts):

Tool

Zweck

search_notes

Stichwortsuche in der Wissensdatenbank (Titel/Tags/Inhalt gewichtet)

add_note

eine neue Notiz hinzufügen

get_note

eine Notiz anhand der ID abrufen

Ressourcen: Jede Notiz ist unter note://{id} lesbar, mit einer Auflistung – so kann ein Client die Wissensdatenbank als Daten durchsuchen, nicht nur Tools aufrufen.

Die Domänenlogik (der Notizspeicher + Suchranking) befindet sich in src/notes.ts, getrennt von der Protokollschicht.

Related MCP server: approveit MCP Server

Verwendung mit einem MCP-Client

Erstellen Sie es und richten Sie dann einen Client auf die Binärdatei aus. Zum Beispiel in der claude_desktop_config.json von Claude Desktop:

{
  "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

Tests

npm test

Zwei Ebenen, beide offline:

  • Unit – der Notizspeicher und das Suchranking.

  • Integration – ein echter MCP-Client spricht mit dem Server über einen In-Memory-Transport (so wie ein Client über stdio): Er listet Tools auf, ruft search_notes/add_note/get_note auf und liest eine note://-Ressource. Insgesamt 9 Tests.

Lizenz

MIT

Maintenance

ActivitySlowing
ResponsivenessSyncing

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

Related MCP Servers

  • -
    license
    C
    quality
    D
    maintenance
    Enables creating and managing text notes through MCP resources and tools. Provides note creation capabilities and automatic summarization of all stored notes.
    1
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A 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.

Latest Blog Posts

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