OpenAI Complete MCP Server

OpenAI Complete MCP Server

mcp-openai-complete•byaiamblichus

An MCP server that bridges an LLM client to an OpenAI-compatible API for text completions.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Exposes a single "complete" tool that generates text completions from a prompt.
  • •Handles asynchronous processing to avoid blocking and supports cancellation of ongoing requests.
  • •Runs as a server on stdio so MCP clients can communicate with it.
  • •Lets the completion tool be tuned with parameters like max tokens, temperature, top_p, and penalties.

BEST FOR

  • •Connecting an LLM client to base models behind an OpenAI-compatible API for text completion.
  • •Exposing prompt completion as a single MCP tool with tunable sampling parameters.

ABOUT MCP-OPENAI-COMPLETE

OpenAI Complete MCP Server is cataloged as an MCP server attributed to aiamblichus. An MCP server that bridges an LLM client to an OpenAI-compatible API for text completions. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OpenAI Complete MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server support chat completions?

No. It focuses on text completion and does not provide chat completion support.

How does the server communicate with MCP clients?

It starts on stdio, making it available for MCP clients to communicate with.

Upstream README

View this exact version on GitHub

README.md · 7d78901d025f · Fetched 2026-11-13 12:43:05 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

OpenAI Complete MCP Server

An MCP (Model Context Protocol) server that provides a clean interface for LLMs to use text completion capabilities through the MCP protocol. This server acts as a bridge between an LLM client and any OpenAI's compatible API. The primary use case is for base models, as the server does not provide support for chat completions.

Features

  • Provides a single tool named "complete" for generating text completions
  • Properly handles asynchronous processing to avoid blocking
  • Implements timeout handling with graceful fallbacks
  • Supports cancellation of ongoing requests

Installation

# Clone the repository
git clone <repository-url>
cd mcp-openai-complete

# Install dependencies
pnpm install

# Build the project
pnpm run build

Configuration

The following environment variables are required:

OPENAI_API_KEY=your-hyperbolic-api-key
OPENAI_API_BASE=https://api.hyperbolic.xyz/v1
OPENAI_MODEL=meta-llama/Meta-Llama-3.1-405B

Usage

Start the server:

pnpm start

This will start the server on stdio, making it available for MCP clients to communicate with.

Docker Usage

Building the Docker Image

docker build -t mcp-openai-complete .

Running the Container

# Run with environment variables
docker run -it --rm \
  -e OPENAI_API_KEY="your-api-key" \
  -e OPENAI_MODEL="gpt-3.5-turbo-instruct" \
  mcp-openai-complete

You can also use a .env file:

# Run with .env file
docker run -it --rm \
  --env-file .env \
  mcp-openai-complete

Parameters for the "complete" tool

  • prompt (string, required): The text prompt to complete
  • max_tokens (integer, optional): Maximum tokens to generate, default: 150
  • temperature (number, optional): Controls randomness (0-1), default: 0.7
  • top_p (number, optional): Controls diversity via nucleus sampling, default: 1.0
  • frequency_penalty (number, optional): Decreases repetition of token sequences, default: 0.0
  • presence_penalty (number, optional): Increases likelihood of talking about new topics, default: 0.0

Development

For development with auto-reloading:

npm run dev

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OpenAI Complete MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-openai-complete)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent