A

any-chat-completions-mcp

Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI,...

44 views
0 installs
Updated Feb 11, 2026
Not audited
Tools I Recommend
Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.
  1. Open the FastMCP connection interface

    • Click the "Install Now" button to open the FastMCP / connection setup form.
  2. Choose the provider you want to add

    • Decide which OpenAI-compatible chat provider you will connect (e.g., OpenAI, PyroPrompts, Perplexity or another provider).
  3. Obtain the provider API key (AI_CHAT_KEY)

    • Sign in to the provider’s account dashboard or developer settings.
    • Locate the “API Keys” / “Developer keys” / “Integrations” section.
    • Create a new API key if needed and copy the secret value (note: many dashboards show secrets only once — copy it immediately).
    • Paste that secret into the FastMCP field labeled AI_CHAT_KEY.

    (Examples — use the appropriate provider flow)

    • OpenAI: create/copy an API key from your OpenAI account and use that value for AI_CHAT_KEY.
    • PyroPrompts: create/copy an API key from your PyroPrompts account and use that for AI_CHAT_KEY.
    • Perplexity: create/copy an API key from your Perplexity account and use that for AI_CHAT_KEY.
  4. Set the friendly provider name (AI_CHAT_NAME)

    • In the FastMCP form set AI_CHAT_NAME to a human-friendly label, e.g., "OpenAI", "PyroPrompts", or "Perplexity". This is used for display in the Claude/LibreChat UI.
  5. Set the model identifier (AI_CHAT_MODEL)

    • Enter the model id/name you want to use (example: gpt-4o, ash, sonar, or the provider’s model name).
    • Use the exact model identifier that the provider documents for their API.
  6. Set the provider base URL (AI_CHAT_BASE_URL)

  7. (Optional) Add any additional environment values

    • If you need to supply PATH or other envs (examples show PATH in LibreChat), add them in the FastMCP interface under the env key/value inputs.
  8. Save / Install the connection

    • Click the FastMCP form’s save/install/confirm button to persist the env variables and complete installation.
  9. Test the connection

    • Open Claude Desktop, LibreChat, or your target client and look for the new chat tool (it will use AI_CHAT_NAME).
    • Run a simple chat request to confirm the API key, model, and base URL are working.
  10. Security notes

    • Treat API keys as secrets. Do not share them in public repositories.
    • If a key is exposed or fails, revoke it in the provider dashboard and create a new key, then update AI_CHAT_KEY in FastMCP.
  11. Adding multiple providers

    • Repeat steps 2–9 for each provider you want to add, giving each connection a distinct AI_CHAT_NAME, AI_CHAT_KEY, AI_CHAT_MODEL, and AI_CHAT_BASE_URL.

Quick Start

View on GitHub

More for AI and Machine Learning

View All →

More for Developer Tools

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.