a_semantic_searchPerforms intelligent hybrid code search combining semantic understanding with exact text matching. Ideal for finding code by meaning (e.g., 'authentication logic', 'database queries') even with typos or variations. Returns the most relevant code snippets with file locations and line numbers.Input schema{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query - can be natural language (e.g., 'where do we handle user login') or specific terms"
},
"maxResults": {
"type": "number",
"description": "Maximum number of results to return (default: from config)",
"default": 5
}
},
"required": [
"query"
]
}Annotations{
"title": "Semantic Code Search",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
} | — | Read onlyNon-destructiveIdempotentClosed world | — |
b_index_codebaseManually trigger a full reindex of the codebase. This will scan all files and update the embeddings cache. Useful after large code changes or if the index seems out of date.Input schema{
"type": "object",
"properties": {
"force": {
"type": "boolean",
"description": "Force reindex even if files haven't changed",
"default": false
}
}
}Annotations{
"title": "Reindex Codebase",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
} | — | WritesNon-destructiveIdempotentClosed world | — |
c_clear_cacheClears the embeddings cache, forcing a complete reindex on next search or manual index operation. Useful when encountering cache corruption or after major codebase changes.Input schema{
"type": "object",
"properties": {}
}Annotations{
"title": "Clear Embeddings Cache",
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": true,
"openWorldHint": false
} | — | WritesDestructiveIdempotentClosed world | — |
d_check_last_versionGet the latest version of a library/package from its official registry. Supported ecosystems: npm (JS/TS), PyPI (Python), Packagist (PHP), Crates.io (Rust), Maven (Java/Kotlin), Go, RubyGems, NuGet (.NET), Hex (Elixir), CRAN (R), CPAN (Perl), pub.dev (Dart), Homebrew (macOS), Conda (Python/R), Clojars (Clojure), Hackage (Haskell), Julia, Swift PM, Chocolatey (Windows). Returns the version string to help you avoid using outdated dependencies.Input schema{
"type": "object",
"properties": {
"package": {
"type": "string",
"description": "Package name (e.g., 'express', 'requests', 'flutter', 'brew:wget', 'conda:numpy', 'swift:apple/swift-nio'). Use prefixes for explicit ecosystem detection."
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"pypi",
"packagist",
"crates",
"maven",
"go",
"rubygems",
"nuget",
"cocoapods",
"hex",
"cran",
"cpan",
"pub",
"homebrew",
"conda",
"clojars",
"hackage",
"julia",
"swift",
"chocolatey"
],
"description": "Package ecosystem (optional - auto-detected from prefix)"
}
},
"required": [
"package"
]
}Annotations{
"title": "Check Latest Package Version",
"readOnlyHint": true,
"idempotentHint": true
} | — | Read onlyIdempotent | — |
e_set_workspaceChange the project workspace path at runtime. Use this when you detect the current workspace is incorrect or you need to switch to a different project directory. Creates cache folder automatically and optionally re-indexes the new workspace.Input schema{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Absolute path to the new workspace directory"
},
"clearCache": {
"type": "boolean",
"description": "Whether to clear existing cache before switching (default: false)"
},
"reindex": {
"type": "boolean",
"description": "Whether to trigger re-indexing after switching (default: true)"
}
},
"required": [
"path"
]
} | — | | — |
f_get_statusGet comprehensive status information about the Smart Coding MCP server. Returns version, workspace path, model configuration, indexing status, and cache information. Useful for understanding the current state of the semantic search system.Input schema{
"type": "object",
"properties": {},
"required": []
} | — | | — |