LMStudio MCP Bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CACHE_TTL | No | Cache duration (seconds). | 300 |
| LOG_LEVEL | No | Logging level: error|warn|info|debug. | info |
| LMSERVER_NAME | No | MCP Server Name. | LMStudio |
| LM_STUDIO_URL | No | LM Studio API endpoint. | http://localhost:1234 |
| LM_STUDIO_MODEL | No | Model to use. | openai/gpt-oss-20b |
| LM_STUDIO_TIMEOUT | No | Request timeout (ms). | 30000 |
| LM_STUDIO_MAX_RETRIES | No | Retry attempts on failure. | 3 |
| RATE_LIMIT_MAX_REQUESTS | No | Max requests per minute. | 60 |
| GRACEFUL_SHUTDOWN_TIMEOUT | No | Shutdown grace period (ms). | 5000 |
| RATE_LIMIT_MAX_CONCURRENT | No | Max concurrent requests. | 10 |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_docsC | Generate comprehensive documentation for code with various styles |
| summarizeC | Create concise summaries of code or text with configurable length |
| extract_tagsC | Extract semantic tags and keywords from code |
| analyze_codeC | Perform comprehensive code analysis for issues and improvements |
| refactor_suggestionsC | Suggest code refactoring improvements |
| generate_testsC | Generate comprehensive test cases for code |
| process_markdownC | Process and streamline markdown documentation files |
| summarize_markdownC | Extract key findings and create concise summaries from markdown documentation |
| tag_markdownC | Extract semantic tags and categories from markdown documentation |
| analyze_markdownC | Analyze markdown documentation for quality, completeness, and improvements |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
The set is essentially two mirrored clusters (markdown vs. code) and the overlapping pairs — summarize_markdown/summarize, tag_markdown/extract_tags, analyze_markdown/analyze_code — are easy to misselect when input is mixed text. process_markdown is the weakest: its 'process and streamline' description collides with both summarize_markdown and analyze_markdown, leaving no clear boundary.
There is a partial *_markdown suffix convention, but it breaks down for the code-side counterparts (summarize, extract_tags) and shifts to noun-phrase names for refactor_suggestions. Verb style varies between imperative verbs (analyze, generate) and bare nouns, so the pattern is readable but not predictable.
Ten tools is a reasonable, well-scoped size for an LLM-backed code/markdown assistant. There is minor redundancy from the markdown-specific twins of generic tools, but nothing feels like pure padding or missing bulk.
Coverage spans summarize/tag/analyze/generate for code and markdown, but refactor_suggestions and analyze_code produce advice with no tool to apply fixes or write results, and there is no explain-code, bug-fix, or markdown-generation operation. These are workable gaps but they leave dead ends in the typical review-to-change workflow.