Skip to main content
Glama
TechQuanta

Prompt Refiner MCP

by TechQuanta
README.md
# Prompt Refiner MCP

Built openly by [TechQuanta Community](https://github.com/TechQuanta). Contributions are welcome through the repository's issues and pull requests.

An independent FastMCP server for Prompt Refiner's one-prompt plus optional
controls contract. It refines prompt intent, structure, constraints, and
output instructions before a prompt reaches an LLM. It never calls an AI
provider, reads local files, or runs generated prompts.

## Run

```bash
python -m venv .venv
.venv\Scripts\activate
python -m pip install -e .
prompt-builder-mcp
```

MCP client configuration:

```json
{"mcpServers":{"prompt-builder":{"command":"prompt-builder-mcp"}}}
```

Tools: `get_schema`, `validate_brief`, and `build_prompt_variants`.

Before connecting a client, inspect the server locally:

```bash
prompt-builder-mcp --list-tools
prompt-builder-mcp --schema
```

## Horizon Deploy

Use the repository form with these values:

| Field | Value |
| --- | --- |
| Server name | `prompt-builder` |
| Entrypoint | `server.py` |
| Requirements | `requirements.txt` |
| Transport | Streamable HTTP |

The root `server.py` adds the `src/` package path, binds to `HOST` (default
`0.0.0.0`) and `PORT` (default `8000`), and serves the MCP endpoint at
`/mcp`. It is intended for hosted deployment and does not replace the local
stdio entry point.

For local HTTP testing:

```powershell
python server.py
```

For a local stdio client:

```powershell
prompt-builder-mcp
```

TDQS

A3.5/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: retrieving the schema, validating a brief, and generating prompt variants. There is no meaningful overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: get_schema, validate_brief, build_prompt_variants. The naming is predictable and uniform.

Tool Count5/5

Three tools is a reasonable, focused count for a narrow domain like prompt refining. Each tool serves a distinct step in the workflow without unnecessary bloat.

Completeness5/5

The toolset covers the full core workflow: understanding the schema, validating input, and producing the deliverable. No obvious missing operations are needed for the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo issues