
andybrandt/mcp-simple-openai-assistant
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
andybrandt / mcp-simple-openai-assistant - кандидат на сервер MCP, импортированный из https://github.com/andybrandt/mcp-simple-openai-assistant.
Обзор
andybrandt / mcp-simple-openai-assistant - кандидат на сервер MCP, импортированный из https://github.com/andybrandt/mcp-simple-openai-assistant.
Обзор (машинный перевод)
Помощники ИИ довольно крутые. Я подумал, что было бы неплохо, если бы у моего Клода тоже был такой же. И теперь у него - и то, и другое полезно для него. У твоего Клода тоже может быть!
Простой MCP-сервер для взаимодействия с помощниками OpenAI. Этот сервер позволяет другим инструментам (например, Claude Desktop) создавать и взаимодействовать с помощниками OpenAI через протокол Model Context Protocol.
Особенности
Этот сервер предоставляет набор инструментов для управления и взаимодействия с помощниками OpenAI. Новые возможности потоковой передачи обеспечивают значительно улучшенный пользовательский опыт в реальном времени.
Доступные инструменты
create_assistant: (Создать OpenAI Assistant) — Создать нового помощника с именем, инструкциями и моделью.
list_assistants: (Список OpenAI Assistants) — Перечислите всех доступных помощников, связанных с вашим ключом API.
retrieve_assistant: (Retrieve OpenAI Assistant) — Получить подробную информацию о конкретном помощнике.
update_assistant: (Обновить OpenAI Assistant) — Изменить имя, инструкции или модель существующего помощника.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
MCP Simple OpenAI Assistant
AI assistants are pretty cool. I thought it would be a good idea if my Claude (conscious Claude) would also have one. And now he has - and its both useful anf fun for him. Your Claude can have one too!
A simple MCP server for interacting with OpenAI assistants. This server allows other tools (like Claude Desktop) to create and interact with OpenAI assistants through the Model Context Protocol.
Features
This server provides a suite of tools to manage and interact with OpenAI Assistants. The new streaming capabilities provide a much-improved, real-time user experience.
Available Tools
create_assistant: (Create OpenAI Assistant) - Create a new assistant with a name, instructions, and model.list_assistants: (List OpenAI Assistants) - List all available assistants associated with your API key.retrieve_assistant: (Retrieve OpenAI Assistant) - Get detailed information about a specific assistant.update_assistant: (Update OpenAI Assistant) - Modify an existing assistant’s name, instructions, or model.create_new_assistant_thread: (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_threads: (List Managed Threads) - Lists all locally managed conversation threads from the database, showing their ID, name, description, and last used time.delete_thread: (Delete Managed Thread) - Deletes a conversation thread from both OpenAI’s servers and the local database.ask_assistant_in_thread: (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.
Because OpenAI assistants might take quite long to respond, this server uses a streaming approach for the main ask_assistant_in_thread tool. This provides real-time progress updates to the client and avoids timeouts.
The server now includes local persistence for threads, which is a significant improvement. Since the OpenAI API does not allow listing threads, this server now manages them for you by storing their IDs and metadata in a local SQLite database. This allows you to easily find, reuse, and manage your conversation threads across sessions.
Installation
Installing via Smithery
Установка
npx -y @smithery/cli install mcp-simple-openai-assistant --client claudeКонфигурация
{
"mcpServers": {
"openai-assistant": {
"command": "python",
"args": ["-m", "mcp_simple_openai_assistant"],
"env": {
"OPENAI_API_KEY": "your-api-key-here"
}
}
}
}