mcp_prompt_mapper

by Sumedh1599

342 downloads Not rated yet

About

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`.

Explore

- Prompt Templating: Generate custom templates for creating resources and tools.
- Custom Output Formats: Supports both YAML and JSON formatted outputs optimized for Claude.
- Cross-API Compatibility: Works seamlessly with Claude, Grok, and OpenAI APIs.
- Schema-aware Auto-complete Prompts: Ensure prompts are schema-compliant using auto-completion features.
- Streaming Input Parsing: Efficiently parse streaming inputs directly in Claude Desktop.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp_prompt_mapper
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To install mcp_prompt_mapper, you can use pip:

pip install mcp_prompt_mapper

Alternatively, if you prefer to install from the source, clone this repository and run setup.py:

git clone https://github.com/your-repo/mcp_prompt_mapper.git
cd mcp_prompt_mapper
python setup.py install

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp_prompt_mapper": {
            "mcp_prompt_mapper": {
                "command": "python",
                "args": [
                    "setup.py",
                    "install"
                ]
            }
        }
    }
}

McpServers

{
    "mcp_prompt_mapper": {
        "command": "python",
        "args": [
            "setup.py",
            "install"
        ]
    }
}

Introduction

mcp_prompt_mapper is an open-source library designed to generate optimal prompts tailored for Claude, Grok, and OpenAI APIs. It transforms input from mcp_input_analyzer into structured, efficient prompts that can be used to build various parts of the MCP server, including resources, tools, and additional prompts.

Features

- Prompt Templating: Generate custom templates for creating resources and tools. - Custom Output Formats: Supports both YAML and JSON formatted outputs optimized for Claude. - Cross-API Compatibility: Works seamlessly with Claude, Grok, and OpenAI APIs. - Schema-aware Auto-complete Prompts: Ensure prompts are schema-compliant using auto-completion features. - Streaming Input Parsing: Efficiently parse streaming inputs directly in Claude Desktop.

Installation Instructions

To install mcp_prompt_mapper, you can use pip:
pip install mcp_prompt_mapper

Alternatively, if you prefer to install from the source, clone this repository and run setup.py:

git clone https://github.com/your-repo/mcp_prompt_mapper.git
cd mcp_prompt_mapper
python setup.py install

Usage Examples

Basic Example

Here is a simple example of how to use mcp_prompt_mapper with default settings.

```python
from mcp_prompt_mapper import PromptMapper

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.