-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmithery.yaml
More file actions
51 lines (51 loc) · 1.87 KB
/
smithery.yaml
File metadata and controls
51 lines (51 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: mcp-db-analyzer
displayName: Java Database Analyzer
description: Connects Claude Code and Cursor to your PostgreSQL, MySQL, or SQLite database for schema analysis, index optimization, query plan inspection, and slow query detection
version: 0.2.4
license: MIT
homepage: https://github.com/Dmitriusan/mcp-db-analyzer
npm: mcp-db-analyzer
categories:
- developer-tools
- databases
keywords:
- database
- postgresql
- mysql
- sqlite
- schema
- index-optimization
- query-plan
configSchema:
type: object
properties:
DATABASE_URL:
type: string
description: "Database connection string. PostgreSQL: postgresql://user:pass@host/db. MySQL: mysql://user:pass@host/db. SQLite: /path/to/db.sqlite"
DB_DRIVER:
type: string
enum: [postgresql, mysql, sqlite]
description: "Database driver override. Auto-detected from DATABASE_URL if not set."
required:
- DATABASE_URL
tools:
- name: inspect_schema
description: List tables, inspect columns, constraints, and relationships
- name: analyze_indexes
description: Find unused indexes and identify missing index opportunities
- name: explain_query
description: Run EXPLAIN / EXPLAIN ANALYZE on a query and surface bottlenecks
- name: analyze_table_bloat
description: Detect dead tuples and table fragmentation (PostgreSQL)
- name: suggest_missing_indexes
description: Generate index recommendations based on column cardinality and usage patterns
- name: analyze_slow_queries
description: Surface the slowest queries by cumulative execution time
- name: analyze_connections
description: Inspect active connections and idle-in-transaction sessions
- name: analyze_table_relationships
description: Visualize foreign key graph and detect orphan tables
- name: analyze_vacuum
description: Check PostgreSQL VACUUM status and autovacuum health
transport:
- stdio