LabscoMCP early access ↗
andybrandtMCP SERVER

MCP Simple OpenAI Assistant

Talk to an OpenAI Assistant from your own client, with conversation threads named, saved locally and reusable across sessions.

by andybrandt ↗Model Routing, Multi-Model Consultation & Cost ControlCommunity

LABSCO SUMMARY

The local thread database is what makes this more than an API wrapper: conversations get names instead of ids, and they are still there tomorrow.

OpenAI's Assistants API gives you thread ids, which are unusable from a chat client — nobody remembers which of two opaque strings held the conversation about the migration. Storing them locally with a name and a description turns threads into something you can ask for. The deletion path is the other detail done right: removing a thread from both sides together avoids the usual state where the local list shows conversations that no longer exist upstream. Understand the shape: this reaches a second model from inside your client, so a call here is a call you pay OpenAI for, on top of whatever is running the client.

What it is

A client for OpenAI's Assistants API with a local thread store on top: create and modify assistants, and keep named persistent conversations that survive the session.

What you get

  • create_assistant, list_assistants, retrieve_assistant and update_assistant cover the assistant itself — name, instructions and model can be changed after creation.
  • Threads are named and described rather than referred to by id: create_new_assistant_thread takes a name, list_threads reads them from the local database, and update_thread renames one.
  • ask_assistant_in_thread sends a message into a specific thread and streams the reply back, so context accumulates where you put it.
  • delete_thread removes the conversation from OpenAI's servers and the local database together, rather than leaving one of the two behind.

Requirements

An OpenAI API key in OPENAI_API_KEY, and Python: install the package with pip and your client launches it as python -m mcp_simple_openai_assistant. Usage bills against your own OpenAI account.

Setup effort

One command plus a key — pip install mcp-simple-openai-assistant, then supply credentials