MCP ExplorerExplorer

Openai Agents With Mcp

@Nehcknarfon 10 months ago
1 MIT
FreeCommunity
AI Systems
Demo for OpenAI Agents SDK using Baidu Maps MCP Server with model support.

Overview

What is Openai Agents With Mcp

openai-agents-with-mcp is a demo project that integrates OpenAI Agents SDK with Baidu Maps MCP Server, allowing users to utilize advanced AI models such as DeepSeek-V3 for various applications.

Use cases

Use cases include developing intelligent navigation systems, enhancing location-based services, and creating interactive map applications that leverage AI for improved user experiences.

How to use

To use openai-agents-with-mcp, set up your environment by installing Python 3.13, initializing the project, creating a virtual environment, and installing required packages. Finally, configure your API keys in a .env file.

Key features

Key features include integration with Baidu Maps MCP Server, support for multiple AI models like DeepSeek-V3, and a straightforward setup process for developers.

Where to use

openai-agents-with-mcp can be used in fields such as geographic information systems, AI-driven mapping solutions, and any application that requires advanced data processing and analysis.

Content

OpenAI Agents SDK with MCP (Baidu Maps MCP Server) Demo

OpenAI Agents SDK 调用百度地图 MCP Server Demo,支持替换模型为 DeepSeek-V3 等

System Requirements

  • Latest version of uv installed

Setting Up Your Environment

cd openai-agents-with-mcp
# Install Python 3.13
uv python install 3.13
# Initialize project
uv init
# Create virtual environment
uv venv
# Activate virtual environment
# On Windows:
.venv\Scripts\activate
# On Unix or MacOS:
source .venv/bin/activate
# Install required packages
uv add openai-agents "mcp[cli]"
# Remove boilerplate files
rm main.py

Setting Up Your API Key

  1. Create .env file
  2. Add your api keys to the .env file:
OPENAI_API_KEY=sk-...
DEEPSEEK_API_KEY=sk-...
BAIDU_MAPS_API_KEY=...

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers