Skip to main content
Glama

Oracle MCP Server

by samscarrow

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ORACLE_SIDNoOracle SID
ORACLE_HOSTNoOracle database host
ORACLE_PORTNoOracle database port
ORACLE_USERNoOracle database username
ORACLE_PASSWORDNoOracle database password
ORACLE_TNS_NAMENoOracle TNS name
ORACLE_SERVICE_NAMENoOracle service name
ORACLE_DEFAULT_SCHEMANoDefault schema if different from user
ORACLE_CONNECTION_STRINGNoOracle easy connect string in format hostname:1521/service_name

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
execute_query

Execute a SQL query on the Oracle database

list_tables

List tables from specified schema or all accessible schemas

describe_table

Get table structure including columns, data types, and constraints

get_table_indexes

Get indexes for a specific table

get_table_constraints

Get constraints (primary keys, foreign keys, unique, check) for a table

list_schemas

List all schemas in the database

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/samscarrow/oracle-mcp-server'

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