mcp-mysql-server / setup / openai-agents
Setup guide

Set up mcp-mysql-server in OpenAI Agents SDK

communityunknownunknownno verified config · noindex

基于 @modelcontextprotocol/sdk + mysql2 的 MySQL MCP Server,让 Claude Code 直接操作 MySQL 数据库。


01Configuration
# mcp-mysql-server via OpenAI Agents SDK # transport: unknown # launch: the server's install method

OpenAI Agents SDK connects to MCP servers in code. Use its MCP client with the command/URL below; exact API varies by version.


02Steps
  1. Make sure OpenAI Agents SDK is installed and up to date.
  2. Wire the server into OpenAI Agents SDK using its MCP client API.
  3. Provide any required API keys/credentials as environment variables.
  4. Restart OpenAI Agents SDK and confirm mcp-mysql-server’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-06-30 00:51Z
sourcesGitHub repo search [p4]

Next step

Ship mcp-mysql-server to your agents as a governed Loadout — config, scopes, and approval rules in one place.

Build a Loadout

See also: server page · is it safe? · alternatives

Set up mcp-mysql-server MCP in OpenAI Agents SDK — MCPExplorer