Skip to main content
Glama

Oracle Database MCP Server

by tannerpace

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging levelinfo
ORACLE_USERYesOracle database username (should be read-only user)
ORACLE_PASSWORDYesOracle database password
ORACLE_POOL_MAXNoMaximum number of connections in the pool10
ORACLE_POOL_MINNoMinimum number of connections in the pool2
MAX_QUERY_LENGTHNoMaximum length of SQL query50000
QUERY_TIMEOUT_MSNoQuery timeout in milliseconds30000
MAX_ROWS_PER_QUERYNoMaximum number of rows to return per query1000
ENABLE_AUDIT_LOGGINGNoEnable audit logging of queriestrue
ORACLE_CONNECTION_STRINGYesOracle database connection string in format hostname:port/servicename

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
query_database

Execute a read-only SQL SELECT query against the Oracle database. Returns rows, column names, and execution metrics.

get_database_schema

Get database schema information. If tableName is provided, returns column details for that table. Otherwise, returns a list of all accessible tables.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tannerpace/mcp-oracle-database'

If you have feedback or need assistance with the MCP directory API, please join our Discord server