MCP Servers
This repository contains two MCP (Model Context Protocol) servers:
- File Finder MCP - for searching files
- Whisper STT MCP - for converting speech to text
File Finder MCP Server
This is a Model Context Protocol (MCP) server that provides file search functionality. It allows you to search for files that contain a specified text fragment in their names.
Prerequisites
- Node.js (version 14 or higher)
- npm (version 6 or higher)
- Python 3.6 or higher (for HTTP server)
Installation
- Clone or download this repository
- Go to the project directory
- Install dependencies:Copy
- Assemble the project:Copy
Starting the server
The project provides several options for launching the MCP server:
Option 1: Direct launch of MCP server
You can run the MCP server directly using Node.js:
or
This will start the server and it will listen for JSON-RPC requests on stdin/stdout.
Option 2: Launch HTTP server and MCP proxy
This option uses a Python HTTP server and an MCP proxy that forwards requests to the HTTP server:
- First, start the HTTP server:orCopyCopy
- Then in another terminal, run MCP proxy:orCopyCopy
Option 3: Integration with VS Code (Cline extension)
To integrate the server with VS Code and the Cline extension:
- Find the MCP settings file:
- Windows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
- macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Linux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Windows:
- Add the following configuration to the
mcpServers
object in the settings file:
To use HTTP proxy:
Replace <ПОЛНЫЙ_ПУТЬ_К_ПРОЕКТУ>
with the actual path to your project directory.
- Restart VS Code to load the updated settings.
Available tools
MCP server provides one tool:
search_files
: Searches for files that contain the specified fragment in their names- Parameters:
fragment
(string, required): Text fragment to search for in file names
- Parameters:
Example of use
This example finds all files that contain ".py" in their names.
HTTP server (main.py)
In the root directory of the project there is a file main.py
, which implements an HTTP server for searching files. This server provides a REST API for searching files that contain a specified fragment in their names.
Starting HTTP server
- Go to the root directory of the project
- Start the server using Python:Copy
- The server will be launched at http://localhost:8080
Using the API
To search for files, send a GET request to /search
with the q
query parameter:
This query will return a JSON array with information about all files that contain ".json" in their names. Each element of the array contains the following fields:
name
: file namepath
: absolute path to the filesize
: file size in bytescreated
: date and time of file creation
Example answer:
Whisper STT MCP Server
This is a Model Context Protocol (MCP) server that provides speech-to-text functionality using the faster-whisper library. It allows transcribing audio data into text with automatic language detection.
Prerequisites
- Node.js (version 14 or higher)
- npm (version 6 or higher)
- Python 3.6 or higher
- faster-whisper (install with
pip install faster-whisper
)
Installation
- Clone or download this repository
- Go to the project directory
- Install dependencies:Copy
- Assemble the project:Copy
Starting the server
The project provides several options for running the Whisper MCP server:
Option 1: Direct launch of MCP server
You can run the MCP server directly using Node.js:
or
This will start the server and it will listen for JSON-RPC requests on stdin/stdout.
Option 2: Launch HTTP server and MCP proxy
This option uses a Python HTTP server and an MCP proxy that forwards requests to the HTTP server:
- First, start the HTTP server:orCopyCopy
- Then in another terminal, run MCP proxy:orCopyCopy
Option 3: Integration with VS Code (Cline extension)
To integrate the server with VS Code and the Cline extension:
- Find the MCP settings file:
- Windows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
- macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings\cline_mcp_settings.json
- Linux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- Windows:
- Add the following configuration to the
mcpServers
object in the settings file:
To use HTTP proxy:
Replace <ПОЛНЫЙ_ПУТЬ_К_ПРОЕКТУ>
with the actual path to your project directory.
- Restart VS Code to load the updated settings.
Available tools
MCP server provides one tool:
transcribe_audio
: Transcribes audio data to text using faster-whisper- Parameters:
audio_base64
(string, required): Audio data in base64 formatlanguage
(string, optional): Language code (e.g. "en", "ru"). If not specified, the language will be detected automatically.
- Parameters:
Example of use
This example converts audio data to text, assuming the audio is in Russian.
HTTP server (whisper_server.py)
In the root directory of the project there is a file whisper_server.py
, which implements an HTTP server for converting speech to text. This server provides a REST API for transcribing audio data into text.
Starting HTTP server
- Go to the root directory of the project
- Start the server using Python:Copy
- The server will be launched at http://localhost:8081
Using the API
To transcribe audio, send a POST request to /transcribe
with a JSON body containing:
audio
: a base64 encoded string containing audio datalanguage
(optional): language code (e.g. "en", "ru")
Example request:
The answer will contain:
text
: full transcribed textsegments
: array of segments with timestampslanguage
: a specific languagelanguage_probability
: probability of detecting a language
Example answer:
Troubleshooting
- If you get the "No connection found for server" error, make sure you restart VS Code after updating your MCP settings.
- If the server does not respond, check that the path in the MCP settings is correct and points to the compiled JavaScript file.
- Make sure the server is built correctly by running
npm run build
before attempting to use it. - To use an HTTP proxy, make sure that the appropriate HTTP server is running (on port 8080 for file-finder or 8081 for whisper-stt).
- If you have problems with faster-whisper, make sure the library is installed correctly and you have the necessary dependencies to work with GPU (if you are using GPU).
Project structure
Below is a list of the main project files and their purposes:
Root directory
src/index.ts
- TypeScript MCP file search server source code (direct implementation)src/index-http.ts
- Source code for TypeScript MCP proxy for HTTP file search serversrc/whisper-index.ts
- Source code for TypeScript MCP speech-to-text server (direct implementation)src/whisper-index-http.ts
- Source code for TypeScript MCP proxy for HTTP speech-to-text serverbuild/index.js
- Compiled JavaScript code of MCP server for searching filesbuild/index-http.js
- Compiled JavaScript code of MCP proxy for searching filesbuild/whisper-index.js
- Compiled JavaScript code of MCP server for converting speech to textbuild/whisper-index-http.js
- Compiled JavaScript code of MCP proxy for converting speech to texttsconfig.json
- TypeScript configurationpackage.json
- Description of the package and dependenciesmain.py
- Python HTTP server for file retrievalwhisper_server.py
- Python HTTP server for speech to text conversionREADME.md
- Project documentation (this file)
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Enables searching for files by name fragments via JSON-RPC or an HTTP REST API, with options for direct use or integration with other tools like VS Code.
Related Resources
Related MCP Servers
- -securityFlicense-qualityFacilitates real-time tool discovery and documentation retrieval for command-line tools within a VSCode extension, using Express and SSE for secure and dynamic content streaming.Last updated -4TypeScript
- -securityAlicense-qualityA VS Code extension provides a MCP server that exposes Roslyn language features. It enables tools like find usages, go to definition, quick info, etc.Last updated -81TypeScriptAGPL 3.0
- AsecurityFlicenseAqualityProvides integration with Everything Search Engine allowing powerful file search capabilities through the Model Context Protocol with advanced search options like regex, case sensitivity, and sorting.Last updated -13JavaScript
- -securityFlicense-qualityAn MCP server that connects to your Notion knowledge base, allowing you to query and retrieve information directly from VSCode using the Cline extension.Last updated -Python