mcp_prompt_mapper
@Sumedh1599
关于 mcp_prompt_mapper
Generates optimal Claude/OpenAI-ready prompts to build each part of the MCP server (resources, tools, prompts) from the input generated by `mcp_input_analyzer`.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp_prompt_mapper": {
"command": "python",
"args": [
"setup.py",
"install"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mCP Prompt Mapper?
mcp_prompt_mapper is an open‑source library that generates optimal prompts for Claude, Grok, and OpenAI APIs. It takes input from the companion mcp_input_analyzer and transforms it into structured, efficient prompts for building resources, tools, and additional prompts within an MCP server.
How to use mCP Prompt Mapper?
Install via pip (pip install mcp_prompt_mapper) or from source. In code, import PromptMapper, optionally specify output_format='json' or 'yaml', then call generate_prompts(input_data) with a dictionary. Examples for basic, YAML output, and streaming input are provided.
Key features of mCP Prompt Mapper
- Prompt templating for resources and tools
- Custom output formats: JSON and YAML
- Cross‑API compatibility with Claude, Grok, OpenAI
- Schema‑aware auto‑complete prompts
- Streaming input parsing for Claude Desktop
Use cases of mCP Prompt Mapper
- Generate optimised prompts from the
mcp_input_analyzerfor MCP server components - Create schema‑compliant resource and tool templates in JSON or YAML
- Build prompts that work across multiple LLM APIs (Claude, Grok, OpenAI)
- Process streaming input directly in Claude Desktop
FAQ from mCP Prompt Mapper
What APIs does mCP Prompt Mapper support?
It supports Claude, Grok, and OpenAI APIs.
What output formats are available?
Prompts can be generated in JSON (default) or YAML format.
How do I install mCP Prompt Mapper?
Use pip install mcp_prompt_mapper or clone the repository and run python setup.py install.
What input format does generate_prompts expect?
It accepts a dictionary of input data, typically from mcp_input_analyzer.
Is mCP Prompt Mapper production‑ready?
The library is in early development; some tests may be failing. Contributions are welcome.
AI 与智能体 分类下的更多 MCP 服务器
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
评论