Back to Home
bramburn icon

mcp-fs-server

by bramburn

Overview

Provides a Model Context Protocol (MCP) server that indexes code repositories for real-time semantic search, leveraging Ollama embeddings and Qdrant for vector storage.

Installation

Run Command
node build/index.js

Environment Variables

  • REPO_PATH
  • QDRANT_URL
  • QDRANT_API_KEY
  • QDRANT_COLLECTION
  • OLLAMA_MODEL

Security Notes

Hardcoded PostHog API key is present in both the MCP server and the VS Code extension's analytics services. This exposes a private API key, although it's for analytics. A more significant concern is the `FileHandler.handleExecuteCommand` in the VS Code extension, which executes arbitrary VS Code commands (`vscode.commands.executeCommand`) based on webview input without apparent whitelisting. This poses a critical vulnerability, as a malicious webview could trigger arbitrary code execution or system modifications within the VS Code environment. While the `ClipboardManager` has a `SENSITIVE_FILE_BLOCKLIST`, this arbitrary command execution could potentially bypass such file-based security checks.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens700
Stars0
Forks0
Last Update2025-12-17

Tags

MCP ServerSemantic SearchCode IndexingOllamaQdrant