Skip to main content
Glama
amalikn

smart-coding-mcp

by amalikn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SMART_CODING_DEVICENoInference device (`cpu`, `webgpu`, `auto`)cpu
SMART_CODING_VERBOSENoEnable detailed loggingfalse
SMART_CODING_BATCH_SIZENoFiles to process in parallel100
SMART_CODING_CHUNK_SIZENoLines of code per chunk25
SMART_CODING_MAX_RESULTSNoMax search results returned5
SMART_CODING_WATCH_FILESNoAuto-reindex on file changesfalse
SMART_CODING_CHUNKING_MODENoCode chunking (`smart`, `ast`, `line`)smart
SMART_CODING_MAX_FILE_SIZENoMax file size in bytes (1MB)1048576
SMART_CODING_EMBEDDING_MODELNoAI embedding modelnomic-ai/nomic-embed-text-v1.5
SMART_CODING_MAX_CPU_PERCENTNoMax CPU usage during indexing (10-100%)50
SMART_CODING_SEMANTIC_WEIGHTNoWeight for semantic vs exact matching0.7
SMART_CODING_AUTO_INDEX_DELAYNoDelay before background indexing (ms), `false` to disable5000
SMART_CODING_EXACT_MATCH_BOOSTNoBoost multiplier for exact text matches1.5
SMART_CODING_EMBEDDING_DIMENSIONNoMRL dimension (64, 128, 256, 512, 768)128

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
a_semantic_searchA

Performs 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.

b_index_codebaseA

Manually 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.

c_clear_cacheA

Clears the embeddings cache, forcing a complete reindex on next search or manual index operation. Useful when encountering cache corruption or after major codebase changes.

d_check_last_versionA

Get 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.

e_set_workspaceA

Change 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.

f_get_statusA

Get 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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/amalikn/smart-coding-mcp'

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