prompt -app
Prompts as MCP tools
claude mcp add --transport stdio zlatanpham-prompt-mcp-app node server.js \ --env DATABASE_URL="postgres://user:password@localhost:5432/dbname" \ --env NEXTAUTH_URL="http://localhost:3000" \ --env NEXTAUTH_SECRET="your-nextauth-secret" \ --env ANALYTICS_ENABLED="false"
How to use
This MCP server provides tooling to manage AI prompts as MCP tools. It enables converting one-shot prompts into reusable tools, testing those tools through a clean Chat interface, and exporting them in MCP-compatible formats for integration with clients like Claude desktop, Cursor, or Cline. The server is designed to work with the T3 stack-based frontend and Prisma-backed PostgreSQL database, allowing you to create, test, and organize prompt-derived tools in projects for easy MCP client integration. Use the server to generate a prompt-to-tool workflow, validate behavior in a test chat, and export the resulting tools as MCP-compatible artifacts for downstream clients.
How to install
Prerequisites:
- Node.js >= 18.x
- pnpm >= 8.x
- Docker Desktop (optional, for local Postgres)
- Clone the repository or download the project files.
- Install dependencies:
pnpm install
- Create a .env file from the example and configure environment variables (database, auth, etc.):
cp .env.example .env
- If using a local Postgres database, start it (via Docker or your preferred method) and ensure the DATABASE_URL in .env points to it.
- Start the development server:
pnpm run dev
- Open the app in your browser at http://localhost:3000 to begin creating prompts, converting them to tools, and testing them.
Additional notes
Tips and caveats:
- Ensure the DATABASE_URL in your environment is reachable; migrations may run automatically during setup.
- The app supports exporting tools in MCP format for various clients; use the export feature to generate client-ready artifacts.
- If you modify environment variables, restart the server for changes to take effect.
- For testing prompts, use the built-in Chat interface to iterate on prompt behavior before exporting.
- If you encounter authentication issues, verify NEXTAUTH_SECRET and NEXTAUTH_URL match your deployment environment.
- When running locally, ensure port 3000 is available or adjust the NEXTAUTH_URL accordingly.
Related MCP Servers
context7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
next-devtools
Next.js Development for Coding Agent
turn-based-game
A turn-based games app built with Next.js and TypeScript that features Tic-Tac-Toe and Rock Paper Scissors games with AI opponents powered by the Model Context Protocol (MCP), offering three difficulty levels.
mcp-bundler
Is the MCP configuration too complicated? You can easily share your own simplified setup!
mcp-dingding-bot
MCP Server for send text/markdown message via dingding (aka dingtalk) group custom robot
alris
Alris is an AI automation tool that transforms natural language commands into task execution.