Smart Prompts MCP Server is an MCP server that fetches and manages prompt templates stored in public or private GitHub repositories. It connects AI assistants directly to version-controlled markdown prompt libraries containing YAML frontmatter metadata. Developers, prompt engineers, and technical teams use this server to standardize reusable AI instructions, organize prompt collections by category and tags, and compose complex multi-step prompt workflows. The server provides tools to query, inspect, and write prompt templates back to GitHub using the Model Context Protocol. By pulling from a remote Git repository, it enables teams to share prompt engineering assets without local manual synchronization, manage parameterized templates with Handlebars variable substitution, and leverage GitHub version history for collaborative prompt iteration across desktop and editor-based AI clients.
Category: AI & LLM Tooling
Tags: github, prompt-engineering, prompts, template-management
Visit Smart Prompts MCP Server
bash git clone https://github.com/jezweb/smart-prompts-mcp.git cd smart-prompts-mcp npm install npm run build 2. Create a .env file in the project root with your GitHub settings, setting GITHUB_OWNER, GITHUB_REPO, and optionally GITHUB_TOKEN. 3. Add the server to your Claude Desktop configuration file (claude_desktop_config.json): json { "mcpServers": { "smart-prompts": { "command": "node", "args": ["/absolute/path/to/smart-prompts-mcp/dist/index.js"], "env": { "GITHUB_OWNER": "your-username", "GITHUB_REPO": "your-prompts-repo", "GITHUB_TOKEN": "ghp_your_token_here" } } } } 4. Restart Claude Desktop or your MCP client to load the server tools.Part of MCP Servers
Clone the repository from GitHub, run npm install, and execute npm run build. Then configure your GitHub repository variables and add the node executable command pointing to the built dist/index.js file in your MCP client configuration.
It provides tools to search prompt categories, retrieve specific prompts by name, inspect repository connectivity, combine multiple templates into composite instructions, and commit new prompt files directly to a designated GitHub repository.
It works with any client supporting the Model Context Protocol over standard input and output, including Claude Desktop and Roo Cline in VS Code.
Yes, Smart Prompts MCP Server is open source and licensed under the MIT License on GitHub.