Home / MCP / MCP Server Oracle
Provides an MCP interface to access Oracle data via a local stdio server that you run with UV.
Configuration
View docs{
"mcpServers": {
"oracle": {
"command": "uvx",
"args": [
"mcp-server-oracle"
],
"env": {
"ORACLE_CONNECTION_STRING": "username/password@hostname:port/service_name"
}
}
}
}You can run a local MCP server that connects to an Oracle database, exposing Oracle data and actions to your MCP clients. This server is started as a stdio-based process via a package manager command, and it requires a connection string to your Oracle instance. Use it to integrate Oracle data access into your MCP workflow with minimal setup.
To use the Oracle MCP server, run it as a local process and point your MCP client at it. You provide the Oracle connection details via an environment variable so the server can authenticate and connect to your database. Once running, your MCP client can request data and actions provided by the Oracle context through the MCP protocol.
Prerequisites you need installed before starting this server:
Configure the MCP server by running it through the UVX CLI with the server name and required environment variable for the Oracle connection string.
{
"mcpServers": {
"mcp-server-oracle": {
"command": "uvx",
"args": [
"mcp-server-oracle"
],
"env": {
"ORACLE_CONNECTION_STRING": "username/password@hostname:port/service_name"
}
}
}
}The server expects an Oracle connection string in the ORACLE_CONNECTION_STRING environment variable. On macOS and Windows, you will typically add this configuration to your Claude Desktop config file to enable automatic startup with the MCP client.
Follow these concrete steps to prepare and start the server.
# Install UV package manager if needed
# (instructions may vary by platform)
# Then install or run the MCP server using the provided command
# The exact command shown here is the one to start the Oracle MCP server
uvx