Skip to main content
Glama
Akib Dabgar MCP Server

Akib Dabgar MCP Server

by akibdabgar07

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.


Related MCP server: Developer Portfolio MCP Server

šŸ“ 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.

Available Tools

1 tool
query_profileA

Query Akib Dabgar's professional profile, skills, experience, projects, or interests. Uses Dynamic Context Retrieval to return only the relevant sections matching the query.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion between tools. The single tool 'query_profile' has a clearly distinct purpose.

    Naming Consistency5/5

    The sole tool uses a consistent verb_noun pattern ('query_profile'). With only one tool, naming is perfectly consistent.

    Tool Count3/5

    A single tool is at the lower end of the borderline range. For a personal profile server, a single query tool may suffice but feels slightly thin compared to typical MCP servers.

    Completeness4/5

    The dynamic context retrieval allows querying all aspects of the profile (skills, experience, projects, interests) in one tool, covering the read-only domain well. Minor gap: no tool to list all sections or get a full profile dump.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs šŸ¤–. wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!
      2
      27
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      This MCP server provides LLMs with a live, curated knowledge base of AI agent research, world models, and source-code reviews, enabling personalized and context-aware responses. Users can either connect to the hosted knowledge or build and host their own vault.
      -