DJ

disler/just-prompt

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

738 stars 131 forks 质量 46 趋势 21

just-prompt 是一个 MCP 服务器,为顶级大型语言模型提供商(OpenAI、Anthropic、Google Gemini、Groq、Deepseek 和 Ollama )提供统一接口

概览

just-prompt 是一款模型控制协议(MCP)服务器,为包括 OpenAI、Anthropic、Google Gemini、Groq、Deepseek 和 Ollama 在内的多种大型语言模型(LLM)提供商提供统一接口。点击这里查看我们如何利用 O3 轻松使用ceo_and_board工具做出艰难决策。 服务器中可用的以下MCP工具: - : 向多个LLM模型发送提示 - 参数:- 文本:提示文本 - models_prefixed_by_provider(可选):带有提供者前缀的模型列表。如果未提供,则使用默认模型。 - : 从文件向多个LLM模型发送提示- 参数: - abs_file_path:包含提示词的文件的绝对路径(必须是绝对路径,非相对路径) - models_prefixed_by_provider(可选):带有提供者前缀的模型列表。若未提供,则使用默认模型。

概述(AI 翻译)

just-prompt 是一个模型控制协议(MCP)服务器,为包括 OpenAI、Anthropic、Google Gemini、Groq、Deepseek 和 Ollama 在内的多种大型语言模型(LLM)提供商提供统一接口。点击这里,您可以在这里查看我们如何使用 ceo_and_board 工具,轻松地在 o3 上做出艰难决策。

工具

服务器中可用的以下MCP工具:

  • prompt:向多个LLM模型发送提示

  • 参数:

  • text:提示文本

  • models_prefixed_by_provider(可选):带有提供者前缀的模型列表。若未提供,则使用默认模型。

  • prompt_from_file:从文件向多个LLM模型发送提示

  • 参数:

  • abs_file_path:指向包含提示符的文件的绝对路径(必须是绝对路径,而非相对路径)

  • models_prefixed_by_provider(可选):带有提供者前缀的模型列表。如果未提供,则使用默认模型。

  • prompt_from_file_to_file:从文件发送提示到多个LLM模型,并将响应保存为markdown文件

  • 参数:

  • abs_file_path:指向包含提示符的文件的绝对路径(必须是绝对路径,而非相对路径)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Just Prompt - A lightweight MCP server for LLM providers

just-prompt is a Model Control Protocol (MCP) server that provides a unified interface to various Large Language Model (LLM) providers including OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama. See how we use the ceo_and_board tool to make hard decisions easy with o3 here.

Tools

The following MCP tools are available in the server:

  • prompt: Send a prompt to multiple LLM models

    • Parameters:
      • text: The prompt text
      • models_prefixed_by_provider (optional): List of models with provider prefixes. If not provided, uses default models.
  • prompt_from_file: Send a prompt from a file to multiple LLM models

    • Parameters:
      • abs_file_path: Absolute path to the file containing the prompt (must be an absolute path, not relative)
      • models_prefixed_by_provider (optional): List of models with provider prefixes. If not provided, uses default models.
  • prompt_from_file_to_file: Send a prompt from a file to multiple LLM models and save responses as markdown files

    • Parameters:
      • abs_file_path: Absolute path to the file containing the prompt (must be an absolute path, not relative)
      • models_prefixed_by_provider (optional): List of models with provider prefixes. If not provided, uses default models.
      • abs_output_dir (default: “.”): Absolute directory path to save the response markdown files to (must be an absolute path, not relative)
  • ceo_and_board: Send a prompt to multiple ‘board member’ models and have a ‘CEO’ model make a decision based on their responses

    • Parameters:
      • abs_file_path: Absolute path to the file containing the prompt (must be an absolute path, not relative)
      • models_prefixed_by_provider (optional): List of models with provider prefixes to act as board members. If not provided, uses default models.
      • abs_output_dir (default: “.”): Absolute directory path to save the response files and CEO decision (must be an absolute path, not relative)
      • ceo_model (default: “openai:o3”): Model to use for the CEO decision in format “provider:model”
  • list_providers: List all available LLM providers

    • Parameters: None
  • list_models: List all available models for a specific LLM provider

    • Parameters:
      • provider: Provider to list models for (e.g., ‘openai’ or ‘o’)

Provider Prefixes

every model must be prefixed with the provider name

use the short name for faster referencing

  • o or openai: OpenAI
    • o:gpt-4o-mini
    • openai:gpt-4o-mini
  • a or anthropic: Anthropic
    • a:claude-3-5-haiku
    • anthropic:claude-3-5-haiku
  • g or gemini: Google Gemini
    • g:gemini-2.5-pro-exp-03-25
    • gemini:gemini-2.5-pro-exp-03-25
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →