Refactoring MCP
The Refactoring MCP server provides HTTP API and CLI tools for generating, storing, and managing structured protocol and governance refactoring prompts along with guidance documentation.
Core Capabilities:
Service Monitoring: Check server status, version, uptime, and metadata via
service_statustoolDocumentation Access: List all guidance documents, fetch individual documents by key (spec_prompts, prd, trd, mcp_server, trd_questions, agents), or download all documents as a bundle
Prompt Generation: Generate protocol or governance prompts using built-in builders with schema validation and optional parameters
Prompt Management: List stored prompts with metadata (ID, type, project name, timestamp) and retrieve specific prompts by ID with in-memory storage
Server Operations: Start and monitor via CLI (
refactoring-mcpornpm start) with configurable port settingsIntegration: Use with MCP clients through standard configuration and integrate with automation workflows for downstream tooling consumption
Testing: Run validation tests to ensure prompt builders, store, and validators function correctly
Primary Use Cases: Provide automation-ready API access to refactoring governance templates, enable consistent prompt generation for MCP workflows, and support platform engineers and reviewers with standardized refactoring messaging.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Refactoring MCPgenerate a governance prompt for updating our API rate limits"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Refactoring MCP — PRD
This project turns the Refactoring MCP prompt and governance specification templates into a dedicated MCP server so teams can host structured prompt generation via HTTP and automation scripts.
1. MCP Server Goal
What is this project?
A dedicated MCP server (built on@modelcontextprotocol/sdk) that exposes MCP tools for generating protocol and governance prompt payloads following the Refactoring MCP standards.What problem does it solve?
Documentation-only templates are hard to integrate; this MCP server exposes prompt builders via HTTP so downstream automation and review tooling can consume the specs.Who is the primary user?
Platform engineers, MCP reviewers, or automation scripts needing consistent refactoring governance messaging via MCP workflows.
2. Success Definition
How do we know this project is successful?
The npm package publishes, the MCP server starts, and prompts can be generated and stored via therefactoring_mcp_*tools.What measurable outcome must be achieved?
npm testsucceeds,npm start(orrefactoring-mcp) brings the MCP service online, and at least one prompt record can be created through the MCP tools.What does failure look like?
Prompt definitions remain stuck in Markdown without API access, or the automated validation/tests do not run.
3. Core MCP Server Action
What is the single most important action a user performs?
Start the MCP server (vianpm startorrefactoring-mcp), host the API, and POST a protocol/governance prompt definition for downstream tooling.What moment should make the user say “this works”?
A successfulPOST /api/promptsfollowed by aGET /api/prompts/:idthat returns the prompt text and metadata.
4. Non-Goals
What will this project NOT attempt to do?
It does not persist prompts beyond in-memory, support authentication, or orchestrate remote agents.What features are explicitly out of scope?
Any persistent database, full LLM orchestration, or advanced scheduling can be deferred to future MCPs.
5. Constraints
Time constraints: Keep the MVP lean for npm publishing—no long-running refactors.
Scope constraints: Single MCP server (Express + prompt builders) without sprawling CLI features.
Resource constraints: Only trusted dependencies (Express, built-in Node modules) are permitted.
Validation Check
Can the project goal be explained in one sentence? Yes — “Expose Refactoring MCP prompts via an Express API and CLI for automation-ready tooling.”
Can success be evaluated without subjective judgment? Yes — endpoints respond successfully and tests pass.
6. MCP Server Usage
Installation
npm install -g refactoring-mcp(ornpm install refactoring-mcpfor local use).
Run (stdio)
refactoring-mcpornpm startboots the MCP server on port 3000 by default.Use
--port <number>(or-p) or set thePORTenv var to change the listening port.
Example MCP Client Config
{
"command": "npx",
"args": ["-y", "refactoring-mcp"]
}Tools
service_status→ return service metadata (name, version, uptime, timestamp).refactoring_mcp_list_documents→ list the guidance documents that describe this MCP.refactoring_mcp_get_document→ fetch a specific guidance document by key.refactoring_mcp_get_bundle→ download all guidance documents in one bundle.refactoring_mcp_generate_prompt→ build a protocol or governance prompt, validate the schema, and store the payload.refactoring_mcp_list_prompts→ inspect saved prompt metadata and timestamps.refactoring_mcp_get_prompt→ retrieve a stored prompt byid.
Documents
spec→docs/spec-prompts.md(protocol & governance spec templates).trd→TRD.md(technical boundaries for the MCP server).mcp_server→docs/mcp-server.md(server responsibilities and customization steps).agents→examples/AGENTS.md(agent instructions tied to this MCP).trd_questions→prompts/trd.questions.md(prompt template for drafting the TRD).
Tool Overview
service_statuskeeps MCP agents aware of the running version and uptime of the server.refactoring_mcp_*tools encapsulate prompt generation, doc discovery, and persisted prompt storage so other agents can consume the MCP output.
MCP Server Runtime
refactoring-mcp(installed globally) ornpm startstarts the MCP server so agents can access prompt specs.Override the port with
--port,-p, or thePORTenvironment variable.
Testing & Validation
npm testrunstsc(build) and thennode --test ./dist/test/*.test.js, covering the prompt builders, store, and validators.
Available Tools
7 toolsrefactoring_mcp_generate_promptGenerate Refactoring MCP PromptB
Generate a protocol or governance prompt using the Refactoring MCP builders and persist the output.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| options | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| spec | No | |
| errors | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden but provides minimal behavioral details. It mentions 'persist the output', hinting at storage or creation, but doesn't disclose permissions needed, side effects, rate limits, or what 'persist' entails (e.g., where saved, overwrite risks). This is inadequate for a tool that likely creates persistent data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads key information ('generate a protocol or governance prompt') and avoids redundancy. Every word contributes to the purpose, making it appropriately sized with zero waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given complexity (2 parameters, no annotations, nested 'options' object) and an output schema (which reduces need to explain returns), the description is incomplete. It covers the basic action but lacks details on behavioral traits, parameter usage, and context vs siblings. It's minimally viable but has clear gaps in guidance and transparency.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate but adds no parameter details. It mentions 'protocol or governance prompt', aligning with the 'type' enum, but doesn't explain 'options' or their purpose. With 2 parameters (one required, one with enum) and no schema descriptions, the baseline is 3 as it partially addresses 'type' but leaves 'options' unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('generate') and resource ('protocol or governance prompt'), specifying it uses 'Refactoring MCP builders' and 'persist the output'. It distinguishes from siblings like 'refactoring_mcp_get_prompt' (retrieval) and 'refactoring_mcp_list_prompts' (listing), but doesn't explicitly contrast them, so it's not a perfect 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios for 'protocol' vs 'governance' types, prerequisites, or when to choose other tools like 'refactoring_mcp_get_prompt' for retrieval. Usage is implied by the action but lacks explicit context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refactoring_mcp_get_bundleRefactoring MCP BundleB
Return all Refactoring MCP guidance documents in one bundle.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| bundle | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool returns documents in a bundle but doesn't explain what a 'bundle' entails (e.g., format, structure, size limits) or any operational traits like performance, authentication needs, or error handling. This leaves significant gaps in understanding how the tool behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's function without any fluff or redundant information. It's front-loaded and wastes no words, making it easy to parse quickly while conveying the essential action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has zero parameters, 100% schema coverage, and an output schema exists, the description's job is lighter. However, it lacks details on what the 'bundle' output entails (e.g., format, content scope), and with no annotations, it doesn't address behavioral aspects like safety or performance. This makes it minimally adequate but incomplete for full understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the input schema has 100% description coverage (though empty). The description doesn't need to add parameter details, as there are none to document. It appropriately focuses on the tool's purpose without unnecessary parameter explanations, meeting the baseline for a parameterless tool.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Return') and resource ('all Refactoring MCP guidance documents in one bundle'), making it easy to understand what it does. However, it doesn't explicitly differentiate from sibling tools like 'refactoring_mcp_list_documents' or 'refactoring_mcp_get_document', which likely serve related but distinct purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With sibling tools like 'refactoring_mcp_list_documents' and 'refactoring_mcp_get_document', it's unclear whether this tool is for bulk retrieval, comprehensive overviews, or other specific contexts, leaving users to guess based on the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refactoring_mcp_get_documentRefactoring MCP DocumentB
Fetch a Refactoring MCP document by key.
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| document | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states 'Fetch', implying a read operation, but doesn't disclose behavioral traits such as authentication needs, rate limits, error handling, or what 'by key' entails (e.g., is it a unique identifier?). The description is minimal and lacks crucial operational context for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's appropriately sized and front-loaded, with every word contributing to the core purpose. No wasted verbiage or structural issues.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has an output schema (which handles return values), the description's minimalism is somewhat acceptable. However, with no annotations and low schema description coverage, it lacks completeness for operational use—e.g., it doesn't clarify the document types or usage context. The presence of an output schema raises the baseline, but gaps in behavioral and parameter details keep it at an adequate level.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds minimal meaning beyond the input schema. It mentions 'by key', which hints that the 'document' parameter acts as a key, but the schema already defines it as an enum of document types. With schema description coverage at 0%, the description doesn't compensate by explaining what each enum value represents or how the key is used. Since there's only one parameter, the baseline is 4, but the lack of added semantic value reduces it to 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Fetch' and the resource 'Refactoring MCP document by key', making the purpose understandable. However, it doesn't distinguish this tool from its sibling 'refactoring_mcp_get_prompt' or 'refactoring_mcp_get_bundle', which likely fetch different types of resources. The description is specific but lacks sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With siblings like 'refactoring_mcp_list_documents' and 'refactoring_mcp_get_prompt', there's no indication of when fetching a document is preferred over listing or fetching prompts. No context or exclusions are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refactoring_mcp_get_promptFetch a stored promptB
Retrieve a stored Refactoring MCP prompt by ID.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| prompt | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the action ('Retrieve') but lacks details on permissions, error handling, rate limits, or what 'stored' implies (e.g., access controls). This is a significant gap for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste, front-loading the core action ('Retrieve') and resource. It's appropriately sized for a simple tool, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has an output schema (which handles return values), low parameter complexity, and no annotations, the description is minimally complete. It states what the tool does but lacks behavioral and usage context, making it adequate but with clear gaps in guidance and transparency.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 0%, but the description adds minimal value by implying the 'id' parameter is used to identify a prompt. However, it doesn't explain the ID format, source, or constraints, leaving the schema to fully define the parameter. With one parameter and low coverage, this meets the baseline but doesn't compensate adequately.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Retrieve') and resource ('a stored Refactoring MCP prompt'), making the purpose specific and understandable. However, it doesn't explicitly differentiate from sibling tools like 'refactoring_mcp_list_prompts' or 'refactoring_mcp_get_document', which would be needed for a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention siblings like 'refactoring_mcp_list_prompts' for listing prompts or 'refactoring_mcp_get_document' for other resources, leaving the agent to infer usage context without explicit direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refactoring_mcp_list_documentsRefactoring MCP DocumentsB
List the published Refactoring MCP guidance documents.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| documents | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool lists documents but does not specify if this is a read-only operation, if it requires authentication, what the output format is (though an output schema exists), or any rate limits. This leaves significant gaps in understanding the tool's behavior beyond its basic function.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence that directly states the tool's purpose without any redundant or verbose language. It is front-loaded and efficiently conveys the essential information, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (zero parameters, output schema provided), the description is adequate but minimal. It covers the basic purpose but lacks behavioral context (e.g., permissions, output details) that would be helpful for an agent, especially since no annotations are present. The existence of an output schema mitigates some gaps, but overall completeness is moderate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and the input schema coverage is 100%, so there is no need for parameter explanation in the description. The baseline for zero parameters is 4, as the description appropriately does not include unnecessary param details, and the schema fully handles the lack of inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List') and resource ('published Refactoring MCP guidance documents'), making the tool's purpose understandable. However, it does not differentiate from sibling tools like 'refactoring_mcp_list_prompts' or 'refactoring_mcp_get_document', which would require specifying scope or format distinctions to achieve a score of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. For instance, it does not clarify if this should be used for browsing all documents versus using 'refactoring_mcp_get_document' for specific ones, or how it relates to 'refactoring_mcp_list_prompts'. The description lacks any context or exclusions for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refactoring_mcp_list_promptsList stored Refactoring MCP promptsB
Return metadata for all prompts stored in the MCP server.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| prompts | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states it 'returns metadata' but doesn't specify what that metadata includes (e.g., names, IDs, timestamps), whether it's paginated, if there are rate limits, or any authentication requirements. This leaves significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no wasted words. It's front-loaded with the core action and resource, making it easy to parse quickly. Every part of the sentence contributes directly to understanding the tool's function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 0 parameters, 100% schema coverage, and an output schema exists, the description is adequate for a basic list operation. However, without annotations and with sibling tools present, it lacks guidance on usage and behavioral details like metadata structure or pagination, making it minimally viable but incomplete for optimal agent use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and the input schema has 100% description coverage (though empty). The description doesn't need to compensate for any parameter gaps, so it meets the baseline. However, it doesn't add any parameter-related context beyond what's implied by 'all prompts', which is minimal but sufficient.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Return metadata') and resource ('all prompts stored in the MCP server'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this from sibling tools like 'refactoring_mcp_get_prompt' or 'refactoring_mcp_list_documents', which would require mentioning it returns a list/collection rather than individual items.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'refactoring_mcp_get_prompt' for retrieving a single prompt or 'refactoring_mcp_list_documents' for listing documents instead of prompts, leaving the agent without context for tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
service_statusRefactoring MCP StatusB
Return the MCP server metadata and uptime.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| uptime | Yes | |
| service | Yes | |
| version | Yes | |
| timestamp | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states what the tool returns but doesn't disclose any behavioral traits, such as whether it's a read-only operation, if it has rate limits, authentication needs, or potential side effects. For a status-checking tool, this is a significant gap, as users might assume it's safe without explicit confirmation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise and front-loaded, consisting of a single sentence that directly states the tool's function without any fluff. Every word earns its place by clearly conveying the action and resource, making it efficient and easy to parse for an AI agent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (0 parameters, simple purpose) and the presence of an output schema (which should cover return values), the description is minimally adequate. However, it lacks context on usage scenarios or behavioral traits, which could be important for a status tool in a server environment. It meets the baseline but doesn't go beyond to provide full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and the input schema has 100% description coverage (though empty), so there's no need for parameter details in the description. The description appropriately avoids redundant information, earning a high score for not cluttering with unnecessary param semantics, as it focuses on the tool's purpose instead.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Return') and resource ('MCP server metadata and uptime'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'refactoring_mcp_get_bundle' or 'refactoring_mcp_get_document', which might also retrieve metadata, though those seem focused on specific content rather than server status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention context, prerequisites, or exclusions, such as whether it's for monitoring, debugging, or initialization. With sibling tools like 'refactoring_mcp_list_documents' that might serve different purposes, this lack of guidance could lead to confusion in tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
7 tool updates
v1.0.0- First observed
refactoring_mcp_generate_prompt - First observed
refactoring_mcp_get_bundle - First observed
refactoring_mcp_get_document - First observed
refactoring_mcp_get_prompt - First observed
refactoring_mcp_list_documents - First observed
refactoring_mcp_list_prompts - First observed
service_status
TDQS
Each tool has a clearly distinct purpose: generate_prompt creates new prompts, get_bundle retrieves all documents, get_document fetches a specific document, get_prompt retrieves a specific prompt, list_documents lists documents, list_prompts lists prompts, and service_status provides server metadata. There is no overlap in functionality, making tool selection unambiguous.
Six of the seven tools follow a consistent 'refactoring_mcp_verb_noun' pattern (e.g., refactoring_mcp_generate_prompt, refactoring_mcp_list_documents), which is highly predictable. However, 'service_status' deviates from this pattern by using a different prefix and structure, slightly reducing consistency.
With 7 tools, the count is well-scoped for a refactoring MCP server focused on document and prompt management. Each tool serves a specific role (e.g., generation, retrieval, listing, status), and none appear redundant, making the set appropriately sized for its domain.
The tool set covers core operations for managing refactoring MCP documents and prompts, including listing, retrieving, generating, and bundling. A minor gap exists in the lack of update or delete tools for documents or prompts, which could limit lifecycle management, but agents can likely work around this with the provided tools.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Statically audits MCP tool surfaces for token cost, schema quality, and design issues.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
The OpenZeppelin Solidity Contracts MCP server integrates OpenZeppelin's security and style rules into AI-driven development workflows, enabling AI assistants to generate safe, correct, and production-ready smart contracts. It automatically validates generated code against OpenZeppelin standards (including imports, modifiers, naming conventions, and security checks) and supports various contract types including ERC-20, ERC-721, ERC-1155, Stablecoins, RWA, Governor, and Account contracts through prompt-driven workflows.
327 dev tools via REST API and MCP. Generate Dockerfiles, schemas, K8s, APIs, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/tac0de/refactoring-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server