github-file-search-mcp-
If you are the rightful owner of github-file-search-mcp- and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcpreview.com.
This project demonstrates how to implement the Model Context Protocol (MCP) to create a GitHub code search tool that could be used by AI assistants.
GitHub Code Explorer using Model Context Protocol
This project demonstrates how to implement the Model Context Protocol (MCP) to create a GitHub code search tool that could be used by AI assistants.
What is Model Context Protocol?
Model Context Protocol is a standardized way for AI models to interact with external tools and services. It defines:
- How functions are described to AI models
- How AI models decide which functions to call
- How parameters are structured and validated
- How results are returned in a consistent format
Features
- Search for code across GitHub repositories
- View file contents from repositories
- Search for GitHub repositories
- Function discovery endpoint
- AI assistant simulation interface
Installation
- Clone this repository
- Install dependencies:
npm install
- Optional: Set up a GitHub API token as the environment variable
GH_TOKEN
for higher rate limits
Usage
-
Start the server:
npm start
or for development with auto-reload:
npm run dev
-
Open your browser and navigate to http://localhost:3000
-
Click "Load Available Functions" to see the API capabilities
-
Type a query in the input box and press Enter to simulate an AI conversation
API Endpoints
GET /api/mcp/functions
- List all available functionsPOST /api/mcp
- Call a function with parameters
Implementation Details
The application consists of:
- A Node.js/Express backend that wraps the GitHub API
- A browser client that simulates an AI assistant using the API
- MCP-compatible function definitions with JSON Schema
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages.
markdownify-mcp
by zcaceres
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format.
deepwiki-mcp
by regenrek
This is an unofficial Deepwiki MCP Server that processes Deepwiki URLs, crawls pages, converts them to Markdown, and returns documents or lists by page.
mcp-playwright
by executeautomation
A Model Context Protocol server that provides browser automation capabilities using Playwright.
browser-use-mcp-server
by co-browser
An MCP server that enables AI agents to control web browsers using browser-use.
fetch-mcp
by zcaceres
This MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
web-eval-agent
by Operative-Sh
operative.sh's MCP Server is a tool for autonomous debugging of web applications directly from your code editor.