MCP Simple OpenAI Assistant
@andybrandt
About MCP Simple OpenAI Assistant
MCP server that gives Claude ability to use OpenAI's GPTs assistants
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-simple-openai-assistant": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"mcp-simple-openai-assistant",
"--client",
"claude"
]
}
}
}Tools
8(Create OpenAI Assistant) - Create a new assistant with a name, instructions, and model.
(List OpenAI Assistants) - List all available assistants associated with your API key.
(Retrieve OpenAI Assistant) - Get detailed information about a specific assistant.
(Update OpenAI Assistant) - Modify an existing assistant's name, instructions, or model.
(Create New Assistant Thread) - Creates a new, persistent conversation thread with a user-defined name and description for easy identification and reuse. This is the recommended way to start a new conversation.
(List Managed Threads) - Lists all locally managed conversation threads from the database, showing their ID, name, description, and last used time.
(Delete Managed Thread) - Deletes a conversation thread from both OpenAI's servers and the local database.
(Ask Assistant in Thread and Stream Response) - The primary tool for conversation. Sends a message to an assistant within a thread and streams the response back in real-time.
Overview
What is MCP Simple OpenAI Assistant?
MCP Simple OpenAI Assistant is a Model Context Protocol server that lets tools like Claude Desktop create, manage, and converse with OpenAI assistants. It handles the full lifecycle of assistants and conversation threads, with local SQLite persistence for thread metadata since the OpenAI API does not expose a thread listing endpoint.
How to use MCP Simple OpenAI Assistant?
Install via pip install mcp-simple-openai-assistant or using Smithery’s CLI. Set the OPENAI_API_KEY environment variable and configure your MCP client (e.g., Claude Desktop) to run python -m mcp_simple_openai_assistant. The primary workflow: use create_new_assistant_thread to start a named conversation, list_threads to find existing threads, and ask_assistant_in_thread to stream responses.
Key features of MCP Simple OpenAI Assistant
- Create, list, retrieve, and update OpenAI assistants
- Create, list, and delete persistent conversation threads
- Stream real-time responses from
ask_assistant_in_thread - Local SQLite database for thread management
- Simple pip or Smithery installation
Use cases of MCP Simple OpenAI Assistant
- An AI assistant (e.g., Claude) creating its own OpenAI assistant for delegated tasks
- Building multi-turn conversations with named, reusable threads
- Managing multiple assistants and threads across sessions without losing context
- Integrating OpenAI assistant capabilities into any MCP-compatible host
FAQ from MCP Simple OpenAI Assistant
What dependencies does the server require?
Python 3.8+, an OpenAI API key, and internet access. The server is installed via pip and runs as a Python module.
How are threads stored and retrieved?
Thread IDs and metadata (name, description, last used time) are saved locally in an SQLite database. This allows listing and reusing threads even though the OpenAI API does not support listing them.
Why does ask_assistant_in_thread use streaming?
OpenAI assistant responses can take a long time. Streaming provides real-time progress updates to the client, avoiding timeouts and improving user experience.
What authentication does it use?
The server reads the OPENAI_API_KEY environment variable. No other authentication or transport is exposed beyond the MCP standard (stdio).
Are there any known limitations?
The README lists planned improvements: listing available models, fine‑tuning assistant parameters (temperature, top_p), reading full thread history, and file upload support. These are not yet implemented.
More AI & Agents MCP servers
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
MCP Manager for Claude Desktop
zueaisimple web ui to manage mcp (model context protocol) servers in the claude app
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
Comments