使用说明
oracle mcp服务器
使用Python实现Oracle AI数据库26ai的最小MCP服务器。
一个轻量级的MCP服务器,公开Oracle数据库工具(list_tables, describe_table, query)任何兼容MCP的AI客户端。
特性
- 通过MCP协议进行安全的只读SQL访问
- 用途
python-oracledb驾驶员 - 易于在Oracle云基础架构(OCI)上部署
设置
pip install mcp python-oracledb
export ORACLE_USER=your_username
export ORACLE_PASSWORD=your_password
export ORACLE_DSN="hostname/service_name"
python oracle_mcp.py
