1. Conduid
  2. Developer Tools
  3. Codetoprompt MCP
MCP server · Developer Tools

Codetoprompt MCP

An MCP server for the codetoprompt library, enabling integration with LLM agents.

Unclaimed MIT last commit a year ago devtoolscodetopromptmcp-server
57Fair

Scored 5 months ago · breakdown

About Codetoprompt MCP

Codetoprompt MCP is an MCP server published by yash9439 in the Developer Tools category: an MCP server for the codetoprompt library, enabling integration with LLM agents.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/yash9439/codetoprompt-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Codetoprompt MCP

Powered by Claude · Grounded in docs

I know everything about Codetoprompt MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

CodeToPrompt MCP Server

PyPI version

CodeToPrompt MCP Server exposes the powerful features of the codetoprompt library 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.


🔧 Installation

Install from PyPI:

pip install codetoprompt-mcp

This will automatically install codetoprompt and the required mcp library.


🚀 Usage with an MCP Client

This server is designed to be used with an MCP client, such as the Claude Desktop App.

Example: Claude Desktop Configuration

To use this server with Claude, add it to your claude_desktop_config.json file:

{
  "mcpServers": {
    "CodeToPrompt": {
      "command": "ctp-mcp"
    }
  }
}

Once configured, you can invoke the tools from your conversation with the LLM.

Available Tools

  • ctp-get-context: The primary tool for generating a comprehensive prompt from a directory. It supports all of codetoprompt'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.

🤝 Contributing

We welcome contributions! Please refer to the main codetoprompt repository for contribution guidelines.

📄 License

This project is licensed under the MIT License. See the LICENSE file for full details.

README fetched from the repository 4 days ago. The original is authoritative.

Questions

About Codetoprompt MCP

How do I install Codetoprompt MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Codetoprompt MCP safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codetoprompt MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.