Bob Demo MCP Server

Bob Demo MCP Server

A comprehensive MCP server that demonstrates Bob's capabilities through 9 specialized tools for file operations, code analysis, and git operations.

Category
Visit Server

README

Bob Demo MCP Server

A comprehensive MCP (Model Context Protocol) server that demonstrates Bob's capabilities through 9 specialized tools for file operations, code analysis, and git operations.

Features

šŸ“ File Operations (3 tools)

  • list_directory - Browse project files and folders with optional recursive listing
  • read_file_content - Read files with line numbers and optional line range selection
  • search_in_files - Search across multiple files using regex patterns with context

šŸ” Code Analysis (3 tools)

  • analyze_project_structure - Get comprehensive project insights including file types, technologies, and structure
  • find_code_definitions - Find functions, classes, methods, and interfaces in code
  • analyze_code_complexity - Measure code metrics including lines, functions, and complexity

šŸ”€ Git Operations (3 tools)

  • get_git_diff - View changes and diffs with statistics
  • get_repository_info - Get repository status, branch info, and commit details
  • analyze_commit_history - Analyze commit patterns and contributor statistics

Installation

# Install dependencies
npm install

# Build the server
npm run build

Usage

This server is designed to be used with Bob AI Assistant through the MCP protocol. Once configured in Bob's MCP settings, the tools will be automatically available.

Configuration

Add to Bob's MCP settings (~/.bob/settings/mcp_settings.json):

{
  "mcpServers": {
    "bob-demo": {
      "command": "node",
      "args": ["/Users/ahmedchaudhry/Documents/IBM Bob/MCP/bob-demo-server/build/index.js"],
      "disabled": false,
      "alwaysAllow": [],
      "disabledTools": []
    }
  }
}

Example Usage

Once configured, you can ask Bob naturally:

  • "List all files in the current directory"
  • "Analyze this project's structure"
  • "Find all TODO comments in the code"
  • "Show me what I've changed in git"
  • "What functions are defined in this file?"
  • "How complex is this code?"

Bob will automatically use the appropriate tools to answer your questions.

Development

# Watch mode for development
npm run watch

# Build
npm run build

Architecture

bob-demo-server/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts              # Main server entry point
│   ā”œā”€ā”€ tools/
│   │   ā”œā”€ā”€ file-operations.ts    # File operation tools
│   │   ā”œā”€ā”€ code-analysis.ts      # Code analysis tools
│   │   └── git-operations.ts     # Git operation tools
│   └── utils/
│       ā”œā”€ā”€ file-utils.ts         # File system utilities
│       ā”œā”€ā”€ git-utils.ts          # Git command utilities
│       └── parser-utils.ts       # Code parsing utilities
ā”œā”€ā”€ build/                    # Compiled JavaScript output
ā”œā”€ā”€ package.json
ā”œā”€ā”€ tsconfig.json
└── README.md

Requirements

  • Node.js 18 or higher
  • Git (for git operation tools)
  • TypeScript 5.3 or higher

License

MIT

Author

Bob AI Assistant

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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

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