Back to Home
blakazulu icon

search-mcp

Verified Safe

by blakazulu

Overview

A local-first Model Context Protocol (MCP) server providing semantic search and indexing capabilities for codebases, enabling AI assistants to understand and interact with project code and documentation.

Installation

Run Command
npx @liraz-sbz/search-mcp

Environment Variables

  • DATABASE_HOST
  • DATABASE_PORT
  • DATABASE_NAME
  • DATABASE_USER
  • DATABASE_PASSWORD
  • JWT_SECRET
  • SESSION_EXPIRY
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET

Security Notes

The server demonstrates strong security practices for a local-first application. It uses a stdio transport, limiting external network exposure by default. Comprehensive path validation (e.g., `safeJoin`, `normalizePathUnicode`, symlink checks) is implemented to prevent path traversal and arbitrary file deletion. SQL injection is mitigated using `escapeSqlString`, and input schemas prevent oversized or malformed inputs (DoS protection). Concurrency is managed with `IndexingLock` to prevent race conditions during index operations.

Similar Servers

Stats

Interest Score16
Security Score9
Cost ClassMedium
Avg Tokens1560
Stars3
Forks0
Last Update2025-12-20

Tags

Code SearchAIIndexingDeveloper ToolsSemantic SearchTypeScript