Skip to main content
Glama

MCP Prompt Server

code_refactoring

Improve code quality across languages by refactoring for specific focus areas like performance, readability, or modularity. Use this tool to optimize and maintain code efficiently.

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" }

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