Prompt Ops

Provides a two-turn prompt optimization workflow via MCP using meta-prompting to produce refined prompts.
  • typescript

2

GitHub Stars

typescript

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "heyjustinai-prompt-ops-mcp": {
      "command": "npx",
      "args": [
        "prompt-ops-mcp"
      ]
    }
  }
}

You are using the Prompt Ops MCP server to optimize prompts through a two-turn meta-prompting workflow. This MCP server takes a basic prompt, returns optimization guidelines, and then applies those guidelines to produce a ready-to-use, enhanced prompt. It integrates smoothly with MCP clients like Cursor to improve prompt quality and effectiveness.

How to use

You can connect to the Prompt Ops MCP server from your MCP client (for example Cursor) by configuring an MCP server entry that points to the standard input/output (stdio) interface. This server uses a two-turn workflow: Turn 1 provides your original prompt and returns optimization guidelines, Turn 2 returns an optimized prompt ready for use.

Key tool within this MCP is promptenhancer, which supports two parameters: originalPrompt for Turn 1 and optimizedPrompt for Turn 2. Use the two-turn pattern to iteratively refine prompts and tailor them to your needs.

To integrate with Cursor, add an MCP server entry that uses the stdio interface to launch the optimizer. You will run the server via a CLI invocation, and your client will send commands following the MCP protocol to perform Turn 1 and Turn 2 operations.

How to install

Prerequisites you need on your machine are Node.js and npm. You will install the MCP server package globally or run it via npx.

# Check Node.js and npm are installed
node -v
npm -v

# Install the MCP server globally (recommended for quick access)
npm install -g prompt-ops-mcp

# Or clone the source, install dependencies, and build
# Replace <repository-url> with the actual repository URL
git clone <repository-url>
cd prompt-ops-mcp
npm install
npm run build

# Run the server directly with npx or from the global install
npx prompt-ops-mcp
# or if installed globally
prompt-ops-mcp

Additional content

MCP configuration supports a stdio-based entry that launches the server from the command line. When integrating with an MCP client, specify the stdio configuration so the client can send prompts and receive optimized results in two turns.

If you are documenting the integration in your client settings, you can reference the following example for the Cursor MCP configuration. It uses npx to run the prompt optimizer as a local CLI tool.

Available tools

promptenhancer

A tool that handles two parameters for the two-turn optimization: originalPrompt for Turn 1 and optimizedPrompt for Turn 2. It guides the optimizer to produce structured, improved prompts.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational