Skip to main content
Glama

Smart Prompts MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_TTLNoCache time-to-live (5 minutes)300000
GITHUB_PATHNoPath within repo (optional)
GITHUB_REPOYesRepository nameprompts
GITHUB_OWNERYesGitHub username or organizationjezweb
GITHUB_TOKENNoPersonal access token (for private repos)
GITHUB_BRANCHNoBranch to fetch frommain
ENABLE_USAGE_TRACKINGNoEnable usage trackingtrue
CACHE_REFRESH_INTERVALNoRefresh interval (1 minute)60000
ENABLE_SEMANTIC_SEARCHNoEnable semantic searchtrue
ENABLE_PROMPT_COMPOSITIONNoEnable prompt compositiontrue

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
compose_promptCompose multiple prompts together
search_promptsSearch for prompts by keyword
suggest_promptsGet AI-powered prompt suggestions

Resources

Contextual data attached and managed by the client

NameDescription
All PromptsList all available prompts
Prompt CategoriesList all prompt categories
Prompt TagsList all prompt tags
Usage StatisticsGet prompt usage statistics
Recent PromptsGet recently used prompts

Tools

Functions exposed to the LLM to take actions

NameDescription
prompts_help

Get help understanding how to use the Smart Prompts tools effectively. Returns guidance on tool usage, examples, and best practices.

search_prompts

๐Ÿ” ALWAYS START HERE: Search for prompts by keyword, category, or tags. Returns matching prompts with their metadata. This is the recommended first step before using get_prompt or creating new prompts. Helps avoid duplicates and find exactly what you need.

list_prompt_categories

๐Ÿ“‹ Overview: List all available prompt categories with prompt counts. Use this to explore the library structure and see what categories exist before searching or creating prompts. Great for discovering new areas.

get_prompt

๐Ÿ“– Get Full Prompt: Retrieve a specific prompt by its exact name. โš ๏ธ IMPORTANT: Use search_prompts first to find the correct prompt name, then use this tool. Returns the complete prompt content with metadata and template variables.

create_github_prompt

โœจ Create New Prompt: Create a new prompt and save it directly to the GitHub repository. ๐ŸŽฏ WORKFLOW: Always use search_prompts first to check if a similar prompt already exists. Only create new prompts when needed to avoid duplicates.

compose_prompts

๐Ÿ”— Combine Prompts: Combine multiple existing prompts into a single prompt. Perfect for creating complex multi-step workflows. ๐Ÿ“‹ WORKFLOW: Use search_prompts to find prompt names first, then compose them.

check_github_status

Check GitHub connection status and write access. Use this to verify GitHub operations are available.

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/jezweb/smart-prompts-mcp'

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