oci-dbm-server
Skill3 starsChanged 7 months agoMITView on GitHub
Start the OCI Database Management MCP server locally so Claude can call DBM tools. This skill wires the MCP server into Claude's tool context, making all 24 DBM tools available. Use this skill when a user says "start the database management server", "connect to my database tools", "enable database management tools", or after oci-setup completes successfully. This skill must run before any oci-dbm-* operational skills (diagnose, performance, jobs, sql-tuning). It is the gateway — nothing else works without it.
- Installs packages
In this repository8 other files it gives its agents.
- oci-dbm-commissionSkill
- oci-dbm-enableSkill
- oci-dbm-jobsSkill
- oci-dbm-networkSkill
- oci-dbm-provisionSkill
- oci-dbm-vaultSkill
- oci-dbm-workloadSkill
- oci-setupSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 63
After the server process is running, register it in Claude's MCP config:
- Distinctive: line 81
After adding, restart Claude Desktop or reload the MCP connection.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OCI DB Management — Start the MCP Server
What it does
Starts the OCI Database Management MCP server as a local process. Once running, Claude has access to all 24 DBM tools in this session:
- Fleet inventory and health
- AWR performance reports and wait event analysis
- DB load (CPU vs I/O), physical reads, commit rate
- Alert log triage
- Parameter change detection
- Cursor cache inspection
- SQL Tuning Advisor (start task, get findings, read recommendations)
- DB Management Jobs (create, monitor, history)
- Identity / compartment access
Prerequisites
oci-setupmust have completed successfully (valid OCI credentials)- Python 3.9+ and
uvinstalled, or the package installed directly via pip
Starting the server
Option A — via uvx (recommended, no install needed)
uvx oci-db-management-mcp-serverOption B — installed package
pip install oci-db-management-mcp-server
oci-db-management-mcp-serverOption C — from source (development)
cd /path/to/oci-db-management-mcp-server
uv run python -m oci_db_managementThe server starts on STDIO transport by default (required for Claude Code MCP integration).
Wiring into Claude
After the server process is running, register it in Claude's MCP config:
{
"mcpServers": {
"oci-db-management": {
"command": "uvx",
"args": ["oci-db-management-mcp"],
"env": {}
}
}
}Config file location:
- Mac/Linux:
~/.claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
After adding, restart Claude Desktop or reload the MCP connection.
Confirming the server is running
Once connected, the following tools should be available:
list_managed_databases get_fleet_summary
get_db_load get_top_wait_events
get_awr_report list_alert_logs
get_parameter_changes get_cursor_cache
start_sql_tuning_task list_sql_tuning_advisor_tasks
list_sql_tuning_findings list_sql_tuning_recommendations
get_sql_execution_plan create_sql_job
get_sql_job list_sql_jobs
list_job_executions get_job_execution
list_job_execution_summaries list_db_management_private_endpoints
get_managed_database list_compartments
enable_database_management get_work_request24 tools total.
Confirm by calling a low-risk tool:
list_managed_databases(compartment_id=<your_compartment_ocid>)What comes next
With the server running, offer the user the appropriate next step:
- No ADB yet / want to onboard →
oci-dbm-commission - Want to diagnose an existing DB →
oci-dbm-diagnose - Want fleet health overview →
oci-dbm-performance - Want to run SQL →
oci-dbm-jobs - Want SQL tuning →
oci-dbm-sql-tuning
Troubleshooting
| Symptom | Cause | Fix |
uvx: command not found | uv not installed | pip install uv or install from https://astral.sh/uv |
ModuleNotFoundError: oci | SDK missing | pip install oci |
| Tools show up but calls fail with 401 | Credentials invalid | Re-run oci-setup |
| Server starts then immediately exits | Port conflict or config error | Check logs, try --debug flag |
Connection refused | Server not running | Restart the server |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

