MCP Prompt Server

code_refactoring

Optimize and improve existing code by restructuring it for enhanced performance, readability, and modularity, tailored to specific programming languages and focus areas.

Input Schema

NameRequiredDescriptionDefault
codeYes要重构的代码
focus_areasYes重点关注的重构领域(如性能、可读性、模块化等)
languageYes编程语言

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "code": { "description": "要重构的代码", "type": "string" }, "focus_areas": { "description": "重点关注的重构领域(如性能、可读性、模块化等)", "type": "string" }, "language": { "description": "编程语言", "type": "string" } }, "required": [ "language", "code", "focus_areas" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Prompt Server

Related Tools

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/gdli6177/mcp-prompt-server'

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