Akib Dabgar MCP Server

Akib Dabgar MCP Server

A personal knowledge hub MCP server that enables LLMs to query structured information about Akib Dabgar's skills, experience, projects, and goals using Dynamic Context Retrieval for efficient context usage.

Category
Visit Server

README

Akib Dabgar MCP Server

A production-ready, TypeScript-based Model Context Protocol (MCP) server built for Akib Dabgar. The server acts as a structured personal knowledge hub, allowing LLM clients (such as Claude Desktop, ChatGPT, Claude Code, and Codex) to query details about Akib's skills, experience, projects, education, and career aspirations.

To maximize context-window efficiency and execution speed, the server implements Dynamic Context Retrieval (DCR), selectively parsing and returning only relevant sections of Akib's profile knowledge base instead of dumping the entire profile into the context.


šŸš€ Features

  • Dynamic Context Retrieval (DCR): Implements keyword tokenization and weight-based section scoring to rank and retrieve only the most relevant headings/sections matching the query.
  • MCP Tools: Exposes a query_profile tool that takes natural language queries and returns optimized Markdown snippets.
  • MCP Resources: Maps all markdown files in the knowledge/ database to knowledge:// URIs, enabling client LLMs to read raw content when needed.
  • MCP Prompts: Exposes an akib_profile_assistant prompt that pre-loads system prompt instructions, response policies, and optional topic-specific retriever context.
  • TypeScript ESM Architecture: Clean, modular, typed codebase utilizing modern Node.js and ES Modules.

šŸ“ Folder Structure

ā”œā”€ā”€ knowledge/
│   ā”œā”€ā”€ dcr/                 # DCR architecture specifications
│   │   ā”œā”€ā”€ overview.md
│   │   ā”œā”€ā”€ retrieval-strategy.md
│   │   ā”œā”€ā”€ ranking-rules.md
│   │   ā”œā”€ā”€ query-examples.md
│   │   ā”œā”€ā”€ response-policy.md
│   │   └── limitations.md
│   ā”œā”€ā”€ about.md             # Core bio, location, professional summary
│   ā”œā”€ā”€ skills.md            # Technical and soft skills
│   ā”œā”€ā”€ projects.md          # Akib's project history (ChainIT Pay, etc.)
│   ā”œā”€ā”€ experience.md        # Work experience details (eSparkBiz)
│   ā”œā”€ā”€ education.md         # Saurashtra University degree
│   ā”œā”€ā”€ career-goals.md      # Professional goals
│   ā”œā”€ā”€ interests.md         # Architecture, scalable systems, AI
│   └── faq.md               # Common questions & answers
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ retriever/
│   │   └── DynamicContextRetriever.ts # DCR query analysis and section ranking
│   ā”œā”€ā”€ services/
│   │   └── KnowledgeService.ts        # Markdown loader and segment parser
│   ā”œā”€ā”€ tools/
│   │   └── index.ts                   # Tool schema definitions and handlers
│   └── index.ts                       # Server entry point, transport & handlers
ā”œā”€ā”€ package.json
ā”œā”€ā”€ tsconfig.json
└── README.md                # Project documentation (this file)

šŸ› ļø Getting Started

Prerequisites

  • Node.js (v18.0.0 or higher recommended)
  • npm (v9.0.0 or higher)

Installation

Clone the repository and install the dependencies:

npm install

Build

Compile the TypeScript codebase to the build/ directory:

npm run build

āš™ļø Running the Server

Start the MCP Server on standard I/O (Stdio):

npm start

For development with hot-reloading:

npm run dev

šŸ”Œ Client Configuration

To connect this server to commonly used MCP clients:

1. Claude Desktop

Add the server configuration to your claude_desktop_config.json (located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "akib-profile-server": {
      "command": "node",
      "args": [
        "d:/text/jpg/Projects/knowledge/build/index.js"
      ],
      "env": {}
    }
  }
}

2. Cursor IDE

  1. Open Cursor Settings -> Features -> MCP.
  2. Click + Add New MCP Server.
  3. Fill in the configuration:
    • Name: Akib Profile Server
    • Type: stdio
    • Command: node d:/text/jpg/Projects/knowledge/build/index.js
  4. Click Save.

3. Claude Code (CLI)

Add the server using the mcp command:

claude mcp add akib-profile-server node d:/text/jpg/Projects/knowledge/build/index.js

šŸ” How to Test

Using the MCP Inspector

You can test the server interactively by running the MCP Inspector:

npx @modelcontextprotocol/inspector node build/index.js

Manual Verification via Stdio

You can verify the JSON-RPC interface by piping requests to stdin:

  1. List Tools:

    echo {"jsonrpc":"2.0","method":"tools/list","id":1,"params":{}} | node build/index.js
    
  2. Query Profile (DCR in action):

    echo {"jsonrpc":"2.0","method":"tools/call","id":2,"params":{"name":"query_profile","arguments":{"query":"What databases does Akib know?"}}} | node build/index.js
    
  3. List Prompts:

    echo {"jsonrpc":"2.0","method":"prompts/list","id":3,"params":{}} | node build/index.js
    
  4. Get Prompt:

    echo {"jsonrpc":"2.0","method":"prompts/get","id":4,"params":{"name":"akib_profile_assistant","arguments":{"topic":"skills"}}} | node build/index.js
    

šŸ’” Architectural Highlights

  • Granular Parsing: KnowledgeService splits markdown files by headings, parsing them into indexable KnowledgeSection blocks. This ensures high-granularity DCR mapping.
  • Smart Token & Synonym Routing: DynamicContextRetriever tokenizes query keywords, strips stopwords, and uses a keyword-to-file boost matrix combined with bidirectional heading/content string matches.
  • Robust Path Security: Target resource URIs are normalized and restricted within the root knowledge/ directory to prevent directory traversal vulnerabilities.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured