mcp-db-tools / setup / openai-agents
Setup guide
Set up MCP-DB-Tools in OpenAI Agents SDK
communityunknownunknownno verified config · noindex
为 [Claude Code] 等Agent 提供数据库只读访问能力的 MCP (Model Context Protocol) 工具。基于 .NET 8 + 官方 `ModelContextProtocol` SDK,支持 SQL Server、MySQL、Oracle,内置 SQL 安全守卫、多环境配置、配置热重载、审计日志,以及本机 Admin UI 配置维护页面。
01Configuration
# MCP-DB-Tools 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
- Make sure OpenAI Agents SDK is installed and up to date.
- Wire the server into OpenAI Agents SDK using its MCP client API.
- Provide any required API keys/credentials as environment variables.
- Restart OpenAI Agents SDK and confirm MCP-DB-Tools’s tools appear.
03Other runtimes
04Provenance
config_sourcegenerated from captured install method
last_checked2026-06-29 07:49Z
sourcesGitHub repo search [p4]
Next step
Ship MCP-DB-Tools to your agents as a governed Loadout — config, scopes, and approval rules in one place.
Build a LoadoutSee also: server page · is it safe? · alternatives