poml-mcp
Version:
MCP server that enhances user prompts using POML-style structure
49 lines (45 loc) • 1.42 kB
YAML
# Example configuration for POML MCP Server
# Copy this file to poml-mcp.config.yml at your project root (or set POML_MCP_CONFIG to its path).
profiles:
default:
enhance:
audience: "Engineering Team"
style: "Professional and concise"
constraints:
- "Do not include sensitive data"
- "Cite evidence when using numbers"
error:
enhance:
audience: "On-call / SRE"
include:
- "Incident context"
- "Steps to reproduce"
- "Relevant logs and stack traces"
constraints:
- "Avoid assumptions; cite verifiable evidence"
output_format: |
Summary
Evidence
Impact
Next steps
Owner
# Triggers allow overriding/enriching enhance_prompt inputs when certain patterns appear.
# If user_request contains one of these terms or matches the regex, the profile/overrides apply.
triggers:
- match:
includesAny: ["error", "exception", "stack trace", "traceback"]
profile: error
enhance:
style: "Technical and actionable"
- match:
regex: "(?i)incident|failure|bug|regression|outage"
profile: error
# You can define custom named profiles and reference them from triggers.
# profiles:
# product:
# enhance:
# audience: "Product Leadership"
# style: "Executive, decision-oriented"
# include:
# - "Impact metrics"
# - "Cost/benefit"