Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCKDOCS_ROOTNoOverrides the workspace root directory that the MCP server uses. If not set, the server uses the client's workspace root or working directory.
LOCKDOCS_CACHENoOverrides the default OS cache directory used for storing indexes and fetched packages.
LOCKDOCS_FETCHNoSet to '1' to enable fetching of missing packages from public registries (equivalent to the --fetch flag).0

Instructions

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

lockdocs answers from the exact dependency versions pinned in this project's lockfiles, using the installed packages' own docs and type declarations, with anonymous release-tag docs fetched on first use unless offline. Cached docs work offline. Call resolve to see versions, docs with a question (and optionally package) before using an API you are unsure of in this version, and api for the exact signature of a symbol like z.object or tokio::spawn. Every section cites package@version path:line.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolveA

List the exact dependency versions this project pins (from package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lock, Cargo.lock, uv.lock, poetry.lock, requirements*.txt, go.mod) and whether their docs are available locally. Call it to learn which version of a library the code actually uses before writing code against it.

docsA

Answer a question from the docs of the exact installed version of a dependency: README, changelog, docs folder (public release-tag docs fetched on first use unless offline), and API reference (signatures + doc comments from .d.ts, Python, Rust and Go sources). Returns the most relevant sections within a token budget (hybrid keyword + embedding search), each cited as package@version path:line. Use it before using a library API you are not sure about for this version. Omit package to search all direct dependencies.

apiA

The exact signature and doc comment of one symbol in the installed version, with overloads, members (for classes, interfaces, structs, traits) and other matches. Accepts zod.z.object, z.object, tokio::spawn, axum::Router::route, pydantic.BaseModel.model_dump, gin.Context.JSON.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation4/5

Each tool has a distinct role: resolve reports pinned versions, docs does natural-language retrieval over a version's documentation, and api returns the exact signature of a single symbol. The docs/api boundary is the only mild overlap, but the descriptions make the intent (broad recall vs. precise symbol lookup) reasonably clear.

Naming Consistency3/5

All three names are short, lowercase single tokens, which is readable, but they mix grammatical forms (verb 'resolve' vs. nouns 'docs' and 'api') and there is no verb_noun pattern to predict new tools from. Internal style is consistent enough not to cause confusion.

Tool Count5/5

Three tools is tightly scoped to the domain of version-pinned documentation lookup, and each one covers a genuinely separate step (discover versions, ask questions, inspect a symbol). Nothing appears redundant or missing at this count.

Completeness5/5

The surface covers the full workflow: finding exact installed versions and whether docs exist locally, answering free-form doc questions, and retrieving precise API signatures across JS/Python/Rust/Go ecosystems. Being read-only by design, there are no obvious lifecycle gaps.

Maintenance

ActivityActive
ResponsivenessLimited data