CodeToPrompt MCP Server
About
An MCP server for the codetoprompt library, enabling integration with LLM agents.
Details
- Author
- yash9439
- Categories
- Developer Tools, AI
Jump to
Setup
Install CodeToPrompt MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/yash9439/codetoprompt-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
An MCP server for the codetoprompt library, enabling integration with LLM agents.
CodeToPrompt MCP Serverexposes the powerful features of thecodetopromptlibrary through the Model Context Protocol (MCP). This allows LLM agents and other MCP-compatible clients to programmatically generate prompts, analyze codebases, and retrieve specific file contents.
This will automatically installcodetopromptand the requiredmcplibrary.
This server is designed to be used with an MCP client, such as the Claude Desktop App.
To use this server with Claude, add it to yourclaude_desktop_config.jsonfile:
{ "mcpServers": { "CodeToPrompt": { "command": "ctp-mcp" } } }
Once configured, you can invoke the tools from your conversation with the LLM.
- ctp-get-context: The primary tool for generating a comprehensive prompt from a directory. It supports all ofcodetoprompt's filtering, formatting, and compression options.
- ctp-analyse-project: Provides a detailed statistical analysis of a codebase, including token counts, line counts, and breakdowns by file type.
- ctp-get-files: Retrieves the content of specific files, formatted as a prompt. This is useful for targeted queries.
We welcome contributions! Please refer to the maincodetoprompt repositoryfor contribution guidelines.
This project is licensed under the MIT License. See theLICENSEfile for full details.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Automatically generates documentation for code repositories by analyzing directory structures and code files using the OpenRouter API.
Provides fast C++ code intelligence for LLMs using the clangd language server.
Diagnoses token waste in Claude Code sessions with 6 anomaly types and severity scoring. Fully local.
A server for code modification and generation using Large Language Models.
Your AI Code Review Council - Get diverse perspectives from multiple AI models in parallel.
CLI token optimizer and AI context generator with built-in MCP server. Scans codebases to extract routes, schema, components, and dependencies 9x–13x token reduction for Claude Code, Cursor, Copilot, Codex, and Windsurf.
An MCP server that wraps the OpenAI Codex CLI, exposing its functionality through the MCP API.
A coding assistant server that provides context-aware code suggestions, documentation integration, and technology detection.
Rewrites coding prompts for optimal results with AI IDEs like Cursor AI, powered by Claude by Anthropic.
Performs complementary code analysis by combining Claude Code and Google's Gemini AI.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




