What dependencies are required to run OracleDB MCP Server?
Python and the `uv` package manager are required. You also need access to an Oracle database with valid connection strings.
@rahgadda
基本情報
MCP server to connect to Oracle Database
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"oracledb_mcp_server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"uv",
"--directory",
"D:\\MyDev\\mcp\\oracledb_mcp_server",
"run",
"-m",
"oracledb_mcp_server"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
A Model Context Protocol (MCP) server that exposes configured Oracle Database tables and columns as context for large language models (LLMs). It enables LLMs to interact with an Oracle database by generating SQL statements and returning query results from natural language prompts.
Install the Python package via pip install oracledb_mcp_server, create a .env file with the required Oracle DB connection string, and test the server with uv run oracledb_mcp_server. For Claude Desktop, add the JSON configuration shown in the README, specifying both a connection string for comments and one for query execution, along with whitelisted tables and columns.
Python and the `uv` package manager are required. You also need access to an Oracle database with valid connection strings.
Set the `DB_CONNECTION_STRING` and `COMMENT_DB_CONNECTION_STRING` environment variables with your Oracle credentials and service name. Also specify required whitelists: `TABLE_WHITE_LIST` (table names) and `COLUMN_WHITE_LIST` (table.column pairs).
`QUERY_LIMIT_SIZE` limits the number of rows returned by queries. It is optional and defaults to 10 records.
The server uses whitelists (`TABLE_WHITE_LIST` and `COLUMN_WHITE_LIST`) to restrict which database objects the LLM can access. Credentials are provided via environment variables.
The server follows the Model Context Protocol (MCP) standard. Authentication to the Oracle database is handled via the provided connection strings (username/password in the DSN).

Model Context Protocol Servers

Model Context Protocol Servers

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Local MCP server for DuckDB and MotherDuck
コメント