Skip to main content
Glama
yash9439
by yash9439

ctp-get-context

Generate context-rich prompts from codebase directories by applying filters and formatting options for comprehensive project analysis.

Instructions

Generates a comprehensive, context-rich prompt from an entire codebase directory, applying filters and formatting options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
root_pathYesRoot directory path of the project.
include_patternsNoComma-separated glob patterns for files to include.
exclude_patternsNoComma-separated glob patterns for files to exclude.
respect_gitignoreNoWhether to respect .gitignore rules.
compressNoUse smart code compression to summarize files.
output_formatNoOutput format ('default', 'markdown', 'cxml').default
tree_depthNoMaximum depth for the project structure tree.

Latest Blog Posts

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/yash9439/codetoprompt-mcp'

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