MCP servers · cloudcorprecords

configdoc: config option inventory from source code (MCP)

MCP server that extracts every environment variable read in supplied source code, with its default value, into one sorted inventory.

This text was machine-translated from the publisher's own information and has not been checked by a human editor. The publisher's original text is the reference.

This resource was imported automatically from the sources listed below and has not been reviewed by the AI Gate team yet. The description is the publisher's own, as published. Check the repository before installing.

What it does

configdoc scans source files passed to it as text for direct environment reads of the form process.env.NAME and import.meta.env.NAME, where NAME is uppercase. It returns one inventory entry per distinct name, sorted ascending, with the default from the first read that has one, the total number of reads, and the files where the name is read. A default is taken from a literal immediately following ?? or ||: a string literal contributes its raw text between the quotes, and a number literal contributes its value as written. Other fallbacks yield no default.

It is useful when you need a list of the configuration options a codebase reads, together with their fallback values, for example to document or review them. Over MCP it is exposed as the extract_config_options tool, which takes a required files array of {path, content} objects. The scan is local, with no network access and no configuration.

Each file needs a unique path and string content, and the content may be empty. Invalid input, such as a missing or duplicate path or non-string content, causes an error that names the offending path, and no partial inventory is produced. The package also provides a CLI that reads an args.json file and prints the inventory as JSON.

Limitations and requirements

Only uppercase names matching [A-Z_][A-Z0-9_]* are matched. Lowercase or mixed-case names, destructured reads such as const { X } = process.env, and non-env config objects are not detected. A fallback that is an identifier or a call yields no default. Invalid input, including a missing or empty file set, a file missing path or content, an empty, non-string or duplicate path, or non-string content, fails the whole run.

Safety

Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.

  • Runs code or changes an assistant's behaviour

Sources

  • Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
    io.github.CloudCorpRecords/configdoc

    Extracts every config option read in the code, with its default, into one inventory.

    v0.1.0
    As shown on registry.modelcontextprotocol.io when we last read it
MCP servers
hashicorp

Terraform MCP Server (HashiCorp)

HashiCorp's MCP server that gives an assistant current Terraform Registry information on providers, modules and policies, and can manage HCP Terraform workspaces.

1.6K GitHub starsCloud & DevOpsSoftware development
Updated 17 Nov 2026
MCP servers
modelcontextprotocol

MCP reference servers

Seven small example servers maintained by the Model Context Protocol project: files, Git, web fetching, memory, time, step-by-step thinking and a test server.

92K GitHub starsSoftware development
Updated 18 Nov 2026
MCP servers
redis

Redis MCP Server

Redis's official MCP server that lets an AI assistant store, read and search data in a Redis database, including streams, JSON documents and vector indexes.

642 GitHub starsData & databasesSoftware development
Updated 17 Nov 2026
MCP servers
firecrawl

Firecrawl MCP Server (web search and scraping)

Firecrawl's MCP server that lets an AI assistant search the web, turn pages and PDFs into clean Markdown, crawl sites and interact with dynamic pages.

7.8K GitHub starsWeb, search & browserProductivity & automation
Updated 17 Nov 2026
configdoc: config option inventory from source code (MCP) | AI Gate Discover