Skip to main content
Glama
gaurav-oberoi

mcp-knowledge-base

mcp-knowledge-base

A Model Context Protocol (MCP) server that exposes a notes knowledge base to MCP clients — Claude Desktop, IDEs, or any agent. It demonstrates the two things an MCP server provides: tools (actions the model can call) and resources (data the model can read). TypeScript, runs over stdio.

mcp typescript

What it exposes

Tools (src/server.ts):

Tool

Purpose

search_notes

keyword search across the knowledge base (title/tags/content weighted)

add_note

add a new note

get_note

fetch one note by id

Resources: every note is readable at note://{id}, with a listing — so a client can browse the knowledge base as data, not just call tools.

The domain logic (the notes store + search ranking) lives in src/notes.ts, separate from the protocol layer.

Related MCP server: approveit MCP Server

Use it with an MCP client

Build it, then point a client at the binary. For example, in Claude Desktop's 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

Tests

npm test

Two layers, both offline:

  • Unit — the notes store and search ranking.

  • Integration — a real MCP Client talks to the server over an in-memory transport (the same way a client would over stdio): it lists tools, calls search_notes/add_note/get_note, and reads a note:// resource. 9 tests total.

License

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