Skip to main content
Glama

Acemcp

by yeuxuan

search_context

Find relevant code snippets in your project using natural language queries. Automatically indexes and searches your codebase to locate semantically related code with file paths and line numbers.

Instructions

Search for relevant code context based on a query within a specific project. This tool automatically performs incremental indexing before searching, ensuring results are always up-to-date. Returns formatted text snippets from the codebase that are semantically related to your query. Supports cross-platform paths including Windows WSL.

Input Schema

NameRequiredDescriptionDefault
project_root_pathYesAbsolute path to the project root directory. Supports cross-platform paths: Windows (C:/Users/...), WSL UNC (\\wsl$\Ubuntu\home\...), Unix (/home/...), WSL-to-Windows (/mnt/c/...). Paths are automatically normalized.
queryYesNatural language search query to find relevant code context. This tool performs semantic search and returns code snippets that match your query. Examples: 'logging configuration setup initialization logger' (finds logging setup code), 'user authentication login' (finds auth-related code), 'database connection pool' (finds DB connection code), 'error handling exception' (finds error handling patterns), 'API endpoint routes' (finds API route definitions). The tool returns formatted text snippets with file paths and line numbers showing where the relevant code is located.

Input Schema (JSON Schema)

{ "properties": { "project_root_path": { "description": "Absolute path to the project root directory. Supports cross-platform paths: Windows (C:/Users/...), WSL UNC (\\\\wsl$\\Ubuntu\\home\\...), Unix (/home/...), WSL-to-Windows (/mnt/c/...). Paths are automatically normalized.", "type": "string" }, "query": { "description": "Natural language search query to find relevant code context. This tool performs semantic search and returns code snippets that match your query. Examples: 'logging configuration setup initialization logger' (finds logging setup code), 'user authentication login' (finds auth-related code), 'database connection pool' (finds DB connection code), 'error handling exception' (finds error handling patterns), 'API endpoint routes' (finds API route definitions). The tool returns formatted text snippets with file paths and line numbers showing where the relevant code is located.", "type": "string" } }, "required": [ "project_root_path", "query" ], "type": "object" }

Other Tools from Acemcp

Related Tools

    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/yeuxuan/Ace-Mcp-Node'

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