MCP Context Master
Automatically analyzes project dependencies to discover and download the most relevant documentation, enabling developers to quickly set up comprehensive project context.
README
MCP Context Master
An intelligent Model Context Protocol (MCP) server that revolutionizes project bootstrapping by automatically discovering and downloading the most relevant contextual documentation for your development projects.
Overview
Context Master transforms how developers start new projects by providing intelligent context gathering through:
- Smart Project Analysis - Automatically analyzes your project dependencies
- Intelligent Priority System - Advanced scoring to recommend only the most valuable documentation
- Automated Documentation - Downloads comprehensive project context as organized markdown files
- Project Intelligence - Understands your tech stack and suggests the best resources
Key Features
- 🧠 Intelligent Analysis: Automatically analyzes package.json, requirements.txt, and project structure
- 🎯 Smart Prioritization: Advanced scoring system that identifies which libraries truly need documentation
- 🔍 Enhanced GitHub Search: Multi-criteria search with relevance scoring and health indicators
- 📥 Automated Downloads: Bulk download of prioritized documentation with smart naming
- 📊 Project Intelligence: Understands your tech stack and provides tailored recommendations
- 🚀 One-Command Setup: Complete project context setup with a single
setup_project_contextcall
Structure
- Context Files: Downloaded
.mdfiles containing comprehensive project documentation - Project Documentation: Additional documentation for understanding your project dependencies
Installation
Quick Start
# Clone the repository
git clone https://github.com/onigetoc/mcp-context-master.git
cd mcp-context-master
# Install dependencies
npm install
# Build the project
npm run build
Environment Setup
Create a .env file with your GitHub token:
GITHUB_TOKEN=ghp_your_token_here
Get your GitHub token from: https://github.com/settings/tokens
Configuration
MCP Client Configuration
Add to your MCP client configuration:
For Kiro IDE (.kiro/settings/mcp.json):
{
"mcpServers": {
"mcp-context-master": {
"command": "node",
"args": [
"C:\\path\\to\\mcp-context-master\\build\\index.js"
],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
For Claude Desktop:
{
"mcpServers": {
"mcp-context-master": {
"command": "node",
"args": ["/path/to/mcp-context-master/build/index.js"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}
Available Tools
1. setup_project_context ⭐ Main Tool
Initialize and setup Context Master for a project. Analyzes your project dependencies and downloads documentation for important libraries.
2. add_project_context
Fetch and download context for a single library and add it to the project.
3. list_available_contexts
List all available context files in your project.
4. read_specific_context
Read the content of a specific context file.
5. read_template
Read a Context Master template file from your project.
6. search_github
Search GitHub repositories for project context.
7. coding_assistant
Detect your current coding assistant and determine the appropriate context to use.
Usage Examples
Initialize a New Project
To set up Context Master for your project:
User: "Initialize context master for my project"
Tool: setup_project_context will analyze your package.json/requirements.txt and download relevant documentation
Add Context for a Specific Library
To add documentation for a library:
User: "Add project context for remotion"
Tool: add_project_context will search and download remotion documentation
List Downloaded Context
To see what documentation you have:
User: "List available contexts"
Tool: list_available_contexts will show all downloaded context files
View Documentation
To read a specific context file:
User: "Read the react context"
Tool: read_specific_context will display the documentation
Requirements
- Node.js 18+
- GitHub token (for repository search)
- Internet connection (for documentation downloads)
- MCP client (Claude Desktop, VSCode, Kiro, etc.)
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。