Skip to main content
Glama
kvnpetit

SRC (Structured Repo Context)

by kvnpetit

index_codebase

Create vector embeddings for semantic code search across 50+ programming languages. Use this initial indexing tool to prepare your codebase for AI-assisted analysis and cross-file relationship understanding.

Instructions

Index a codebase for semantic code search. USE THIS FIRST before search_code. Required once per project - creates vector embeddings for 50+ languages. After initial indexing, use update_index for incremental updates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryNoPath to the directory to index (defaults to current directory).
forceNoForce re-indexing even if index exists
excludeNoAdditional glob patterns to exclude
concurrencyNoNumber of files to process in parallel (default: 4)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kvnpetit/structured-repo-context-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server