openai-tool2mcp
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
openai-tool2mcp
openai-tool2mcp is a lightweight, open-source bridge that wraps OpenAI's powerful built-in tools as Model Context Protocol (MCP) servers. It enables you to use high-quality OpenAI tools like web search and code interpreter with Claude and other MCP-compatible models.
- š Use OpenAI's robust web search in Claude App
- š» Access code interpreter functionality in any MCP-compatible LLM
- š Seamless protocol translation between OpenAI and MCP
- š ļø Simple API for easy integration
- š Full compatibility with the MCP SDK
š OpenAI Search Integration Demo with Claude App! š
https://github.com/user-attachments/assets/f1f10e2c-b995-4e03-8b28-61eeb2b2bfe9
OpenAI tried to keep their powerful, LLM-optimized tools locked within their own agent platform, but they couldn't stop the unstoppable open-source movement of MCP!
The Developer's Dilemma
AI developers currently face a challenging choice between two ecosystems:
openai-tool2mcp bridges this gap by letting you use OpenAI's mature, high-quality tools within the open MCP ecosystem.
š Features
- Easy Setup: Get up and running with a few simple commands
- OpenAI Tools as MCP Servers: Wrap powerful OpenAI built-in tools as MCP-compliant servers
- Seamless Integration: Works with Claude App and other MCP-compatible clients
- MCP SDK Compatible: Uses the official MCP Python SDK
- Tool Support:
- š Web Search
- š» Code Interpreter
- š Web Browser
- š File Management
- Open Source: MIT licensed, hackable and extensible
š Installation
Prerequisites
- Python 3.10+
- OpenAI API key with access to the Assistant API
- (Recommended) uv package manager for MCP compatibility
š ļø Quick Start
- Set your OpenAI API key:
- Start the MCP server with OpenAI tools:
- Use with Claude for Desktop:
Configure your Claude for Desktop to use the server by editing the claude_desktop_config.json:
The config file is located at:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%AppData%\Claude\claude_desktop_config.json
š» Usage Examples
Basic Server Configuration
Run it with uv
as recommended by MCP:
MCP-Compatible Configuration for Claude Desktop
Create a standalone script:
Configure Claude Desktop to use this script with uv
:
š How It Works
The library serves as a bridge between the OpenAI Assistant API and the MCP protocol:
š MCP SDK Integration
openai-tool2mcp
is now fully compatible with the MCP SDK. You can use it with the Claude for Desktop app by:
- Installing the package with
pip install openai-tool2mcp
- Configuring your
claude_desktop_config.json
to include:
The config file is located at:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%AppData%\Claude\claude_desktop_config.json
š¤ Contributing
We welcome contributions from the community! Here's how you can help:
- Fork the repository
- Clone your fork to your local machine
- Create a branch for your feature or bugfix
- Make your changes and commit them
- Push to your fork and submit a pull request
Please make sure to follow our coding standards and add tests for any new features.
Development Setup
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Acknowledgements
- The OpenAI team for their excellent tools and APIs
- The MCP community for developing an open standard for tool usage
- All contributors who have helped improve this project
ā ļø Project Status
This project is in active development. While the core functionality works, expect frequent updates and improvements. If you encounter any issues, please submit them on our issue tracker.
openai-tool2mcp is part of the broader MCPortal initiative to bridge OpenAI's tools with the open-source MCP ecosystem.
This server cannot be installed
A lightweight bridge that wraps OpenAI's built-in tools (like web search and code interpreter) as Model Context Protocol servers, enabling their use with Claude and other MCP-compatible models.
- š OpenAI Search Integration Demo with Claude App! š
- The Developer's Dilemma
- š Features
- š Installation
- š ļø Quick Start
- š» Usage Examples
- š How It Works
- š MCP SDK Integration
- š¤ Contributing
- š License
- š Acknowledgements
- ā ļø Project Status