Official · MODEL CONTEXT PROTOCOL

fkesheh code context mcp

A Model Context Protocol (MCP) server for providing code context from git repositories

WHAT IT CONNECTS

What fkesheh code context mcp gives an AI Agent

  • Uses local git repositories instead of GitHub API
  • Stores data in SQLite database
  • Splits code into semantic chunks
  • Generates embeddings for code chunks using Ollama
  • Provides semantic search over code
  • Node.js (v16+)
  • Git
  • Ollama with an embedding model
  • `DATA_DIR`: Directory for SQLite database (default: '~/.codeContextMcp/data')
  • `REPO_CACHE_DIR`: Directory for cloned repositories (default: '~/.codeContextMcp/repos')
  • `repository`: Stores information about repositories
  • `branch`: Stores information about branches
  • `file`: Stores information about files
  • `branch_file_association`: Associates files with branches
  • `file_chunk`: Stores code chunks and their embeddings

SECURITY

An MCP listing is not a security review

An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.