Skip to main content
Glama
akibdabgar07

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesThe natural language question or keywords regarding Akib Dabgar (e.g., "What databases does Akib know?", "Tell me about ChainIT Pay").

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description mentions 'Dynamic Context Retrieval' and returning only relevant sections, which adds useful behavioral context beyond the read-only nature implied by 'query'. No annotations are provided, so the description carries the full burden, and it does so adequately.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core purpose, and contains no redundant information. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-query tool with no output schema, the description explains the retrieval behavior. It lacks details on error handling or empty results, but given the simplicity, it is largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter 'query' is well-described in the schema with an example. The tool description does not add additional meaning beyond what the schema already provides. With 100% schema coverage, baseline score 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries Akib Dabgar's professional profile and returns only relevant sections. The verb 'query' combined with resource 'profile' is specific and unambiguous. No sibling tools exist, so no differentiation needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for any question about the profile, but does not explicitly state when not to use or provide alternatives. Since there are no sibling tools, the context is sufficient for an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev1.0.0
    • First observedquery_profile

TDQS

A4.2/5.0
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

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

  • F
    license
    B
    quality
    C
    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
    26
    -
  • 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.
    -

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/akibdabgar07/self-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server