loading…
Search for a command to run...
loading…
An MCP server that converts raw text prompts into structured JSON prompts using heuristic keyword extraction — no API keys required.
An MCP server that converts raw text prompts into structured JSON prompts using heuristic keyword extraction — no API keys required.
An MCP server that converts raw text prompts into structured JSON prompts using heuristic keyword extraction — no API keys required.
convert_prompt_to_jsonTakes a raw text prompt and returns a structured JSON object with extracted fields:
purpose — what the prompt is trying to achievegoal — the specific desired outcomeaudience — who the output is forcontext — background information or constraintstone — desired tone/style (formal, casual, technical, etc.)instructions — step-by-step directions found in the promptformat — desired output format (list, paragraph, code, etc.)original_prompt — the raw input preserved as-isedit_prompt_jsonTakes an existing structured JSON prompt, a field name, and a new value. Returns the updated JSON.
npm install
npm run build
Add to your mcp.json:
{
"mcpServers": {
"json-promptor": {
"command": "node",
"args": ["json-promptor-mcp/dist/index.js"]
}
}
}
Input prompt:
Write a formal blog post for developers explaining how to use Docker, as a numbered list.
Output:
{
"purpose": "write a formal blog post for developers explaining how to use docker, as a numbered list",
"goal": "",
"audience": "developers",
"context": "",
"tone": "formal",
"instructions": "",
"format": "numbered list",
"original_prompt": "Write a formal blog post for developers explaining how to use Docker, as a numbered list."
}
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"json-promptor-mcp": {
"command": "npx",
"args": []
}
}
}