mcp-postgresql-ops 3.2.3__tar.gz → 3.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcp_postgresql_ops-3.2.3/src/mcp_postgresql_ops.egg-info → mcp_postgresql_ops-3.2.5}/PKG-INFO +3 -3
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/README.md +2 -2
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/pyproject.toml +6 -1
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5/src/mcp_postgresql_ops.egg-info}/PKG-INFO +3 -3
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/tests/test_tools_integration.py +46 -40
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/LICENSE +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/MANIFEST.in +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/setup.cfg +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops/__init__.py +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops/__main__.py +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops/functions.py +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops/mcp_main.py +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops/version_compat.py +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/SOURCES.txt +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/dependency_links.txt +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/entry_points.txt +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/requires.txt +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/top_level.txt +0 -0
- {mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/tests/test_version_compat.py +0 -0
{mcp_postgresql_ops-3.2.3/src/mcp_postgresql_ops.egg-info → mcp_postgresql_ops-3.2.5}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-postgresql-ops
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.5
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Author-email: JungJungIn <call518@gmail.com>
|
|
6
6
|
Requires-Python: >=3.12
|
|
@@ -932,7 +932,7 @@ cd MCP-PostgreSQL-Ops
|
|
|
932
932
|
uv sync
|
|
933
933
|
|
|
934
934
|
# Test with MCP Inspector (loads .env automatically)
|
|
935
|
-
./
|
|
935
|
+
./run-mcp-inspector-local.sh
|
|
936
936
|
|
|
937
937
|
# Direct execution methods:
|
|
938
938
|
# 1. Using uv run (recommended for development)
|
|
@@ -1189,7 +1189,7 @@ Add your tool description to `src/mcp_postgresql_ops/prompt_template.md` for bet
|
|
|
1189
1189
|
|
|
1190
1190
|
```bash
|
|
1191
1191
|
# Local testing with MCP Inspector
|
|
1192
|
-
./
|
|
1192
|
+
./run-mcp-inspector-local.sh
|
|
1193
1193
|
|
|
1194
1194
|
# Or test with Docker stack
|
|
1195
1195
|
docker-compose up -d
|
|
@@ -916,7 +916,7 @@ cd MCP-PostgreSQL-Ops
|
|
|
916
916
|
uv sync
|
|
917
917
|
|
|
918
918
|
# Test with MCP Inspector (loads .env automatically)
|
|
919
|
-
./
|
|
919
|
+
./run-mcp-inspector-local.sh
|
|
920
920
|
|
|
921
921
|
# Direct execution methods:
|
|
922
922
|
# 1. Using uv run (recommended for development)
|
|
@@ -1173,7 +1173,7 @@ Add your tool description to `src/mcp_postgresql_ops/prompt_template.md` for bet
|
|
|
1173
1173
|
|
|
1174
1174
|
```bash
|
|
1175
1175
|
# Local testing with MCP Inspector
|
|
1176
|
-
./
|
|
1176
|
+
./run-mcp-inspector-local.sh
|
|
1177
1177
|
|
|
1178
1178
|
# Or test with Docker stack
|
|
1179
1179
|
docker-compose up -d
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "mcp-postgresql-ops"
|
|
3
|
-
version = "3.2.
|
|
3
|
+
version = "3.2.5"
|
|
4
4
|
description = "Add your description here"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
@@ -33,3 +33,8 @@ where = ["src"]
|
|
|
33
33
|
|
|
34
34
|
[tool.setuptools.package-dir]
|
|
35
35
|
"" = "src"
|
|
36
|
+
|
|
37
|
+
[dependency-groups]
|
|
38
|
+
dev = [
|
|
39
|
+
"pip>=26.0.1",
|
|
40
|
+
]
|
{mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5/src/mcp_postgresql_ops.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-postgresql-ops
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.5
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Author-email: JungJungIn <call518@gmail.com>
|
|
6
6
|
Requires-Python: >=3.12
|
|
@@ -932,7 +932,7 @@ cd MCP-PostgreSQL-Ops
|
|
|
932
932
|
uv sync
|
|
933
933
|
|
|
934
934
|
# Test with MCP Inspector (loads .env automatically)
|
|
935
|
-
./
|
|
935
|
+
./run-mcp-inspector-local.sh
|
|
936
936
|
|
|
937
937
|
# Direct execution methods:
|
|
938
938
|
# 1. Using uv run (recommended for development)
|
|
@@ -1189,7 +1189,7 @@ Add your tool description to `src/mcp_postgresql_ops/prompt_template.md` for bet
|
|
|
1189
1189
|
|
|
1190
1190
|
```bash
|
|
1191
1191
|
# Local testing with MCP Inspector
|
|
1192
|
-
./
|
|
1192
|
+
./run-mcp-inspector-local.sh
|
|
1193
1193
|
|
|
1194
1194
|
# Or test with Docker stack
|
|
1195
1195
|
docker-compose up -d
|
|
@@ -4,46 +4,52 @@ Requires Docker Compose test stack running (tests/docker/docker-compose.test.yml
|
|
|
4
4
|
"""
|
|
5
5
|
import pytest
|
|
6
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
|
-
)
|
|
7
|
+
import mcp_postgresql_ops.mcp_main as _mcp_main
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def _fn(name: str):
|
|
11
|
+
"""Extract the raw callable from a FunctionTool (fastmcp >= 2.14) or return as-is."""
|
|
12
|
+
tool = getattr(_mcp_main, name)
|
|
13
|
+
return getattr(tool, "fn", tool)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
get_lock_monitoring = _fn("get_lock_monitoring")
|
|
17
|
+
get_wal_status = _fn("get_wal_status")
|
|
18
|
+
get_replication_status = _fn("get_replication_status")
|
|
19
|
+
get_server_info = _fn("get_server_info")
|
|
20
|
+
get_current_database_info = _fn("get_current_database_info")
|
|
21
|
+
get_database_list = _fn("get_database_list")
|
|
22
|
+
get_table_list = _fn("get_table_list")
|
|
23
|
+
get_user_list = _fn("get_user_list")
|
|
24
|
+
get_table_schema_info = _fn("get_table_schema_info")
|
|
25
|
+
get_database_schema_info = _fn("get_database_schema_info")
|
|
26
|
+
get_table_relationships = _fn("get_table_relationships")
|
|
27
|
+
get_active_connections = _fn("get_active_connections")
|
|
28
|
+
get_pg_stat_statements_top_queries = _fn("get_pg_stat_statements_top_queries")
|
|
29
|
+
get_pg_stat_monitor_recent_queries = _fn("get_pg_stat_monitor_recent_queries")
|
|
30
|
+
get_database_size_info = _fn("get_database_size_info")
|
|
31
|
+
get_table_size_info = _fn("get_table_size_info")
|
|
32
|
+
get_postgresql_config = _fn("get_postgresql_config")
|
|
33
|
+
get_index_usage_stats = _fn("get_index_usage_stats")
|
|
34
|
+
get_vacuum_analyze_stats = _fn("get_vacuum_analyze_stats")
|
|
35
|
+
get_table_bloat_analysis = _fn("get_table_bloat_analysis")
|
|
36
|
+
get_database_bloat_overview = _fn("get_database_bloat_overview")
|
|
37
|
+
get_autovacuum_status = _fn("get_autovacuum_status")
|
|
38
|
+
get_autovacuum_activity = _fn("get_autovacuum_activity")
|
|
39
|
+
get_running_vacuum_operations = _fn("get_running_vacuum_operations")
|
|
40
|
+
get_vacuum_effectiveness_analysis = _fn("get_vacuum_effectiveness_analysis")
|
|
41
|
+
get_database_stats = _fn("get_database_stats")
|
|
42
|
+
get_bgwriter_stats = _fn("get_bgwriter_stats")
|
|
43
|
+
get_io_stats = _fn("get_io_stats")
|
|
44
|
+
get_table_io_stats = _fn("get_table_io_stats")
|
|
45
|
+
get_index_io_stats = _fn("get_index_io_stats")
|
|
46
|
+
get_all_tables_stats = _fn("get_all_tables_stats")
|
|
47
|
+
get_user_functions_stats = _fn("get_user_functions_stats")
|
|
48
|
+
get_database_conflicts_stats = _fn("get_database_conflicts_stats")
|
|
49
|
+
get_wait_events = _fn("get_wait_events")
|
|
50
|
+
get_wal_summarizer_status = _fn("get_wal_summarizer_status")
|
|
51
|
+
get_async_io_status = _fn("get_async_io_status")
|
|
52
|
+
get_per_backend_io_stats = _fn("get_per_backend_io_stats")
|
|
47
53
|
|
|
48
54
|
|
|
49
55
|
pytestmark = pytest.mark.asyncio
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops/version_compat.py
RENAMED
|
File without changes
|
{mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/requires.txt
RENAMED
|
File without changes
|
{mcp_postgresql_ops-3.2.3 → mcp_postgresql_ops-3.2.5}/src/mcp_postgresql_ops.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|