OpenAI Complete MCP Server
@aiamblichus
About OpenAI Complete MCP Server
MCP server for OpenAI text completion
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-openai-complete": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-openai-complete",
"."
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is OpenAI Complete MCP Server?
The OpenAI Complete MCP Server is an MCP server that provides a clean interface for LLMs to use text completion capabilities through the MCP protocol. It acts as a bridge between an LLM client and any OpenAI-compatible API. The primary use case is for base models, as it does not support chat completions.
How to use OpenAI Complete MCP Server?
Install by cloning the repository, installing dependencies with pnpm install, building with pnpm run build, and starting with pnpm start. Alternatively, use Docker: build the image and run the container with environment variables. The server exposes a single "complete" tool with parameters such as prompt (required), max_tokens, temperature, top_p, frequency_penalty, and presence_penalty.
Key features of OpenAI Complete MCP Server
- Provides a single "complete" tool for text completions.
- Handles asynchronous processing without blocking.
- Implements timeout handling with graceful fallbacks.
- Supports cancellation of ongoing requests.
- Works with any OpenAI-compatible API.
Use cases of OpenAI Complete MCP Server
- Using base models for text completion via MCP protocol.
- Integrating text completion capabilities into MCP-enabled clients.
- Leveraging OpenAI-compatible API endpoints for completions.
FAQ from OpenAI Complete MCP Server
What does this server do?
It bridges an LLM client to any OpenAI-compatible API for text completions, exposing a "complete" tool via MCP.
Does it support chat completions?
No, it only supports text completions (base models), not chat completions.
What are the required environment variables?
OPENAI_API_KEY, OPENAI_API_BASE, and OPENAI_MODEL are required.
What parameters does the "complete" tool
More AI & Agents MCP servers
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
Comments