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.
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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.