sql-mcp 0.1.0__tar.gz → 0.3.0__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.
Files changed (38) hide show
  1. {sql_mcp-0.1.0/sql_mcp.egg-info → sql_mcp-0.3.0}/PKG-INFO +21 -6
  2. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/README.md +16 -1
  3. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/pyproject.toml +5 -5
  4. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/requirements.txt +1 -1
  5. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/agent_server.py +1 -1
  6. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/mcp_server.py +1 -1
  7. {sql_mcp-0.1.0 → sql_mcp-0.3.0/sql_mcp.egg-info}/PKG-INFO +21 -6
  8. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp.egg-info/requires.txt +4 -4
  9. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/LICENSE +0 -0
  10. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/MANIFEST.in +0 -0
  11. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/setup.cfg +0 -0
  12. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/__init__.py +0 -0
  13. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/__main__.py +0 -0
  14. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/api/__init__.py +0 -0
  15. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/api/api_client_sql.py +0 -0
  16. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/api_client.py +0 -0
  17. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/auth.py +0 -0
  18. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/dialects.py +0 -0
  19. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/main_agent.json +0 -0
  20. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/mcp/__init__.py +0 -0
  21. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/mcp/mcp_sql.py +0 -0
  22. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/mcp_config.json +0 -0
  23. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/safety.py +0 -0
  24. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/sql_input_models.py +0 -0
  25. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp/sql_response_models.py +0 -0
  26. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp.egg-info/SOURCES.txt +0 -0
  27. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp.egg-info/dependency_links.txt +0 -0
  28. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp.egg-info/entry_points.txt +0 -0
  29. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/sql_mcp.egg-info/top_level.txt +0 -0
  30. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_api_wrapper.py +0 -0
  31. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_auth.py +0 -0
  32. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_concept_parity.py +0 -0
  33. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_dialect_paths.py +0 -0
  34. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_dialects.py +0 -0
  35. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_init_dynamics.py +0 -0
  36. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_safety.py +0 -0
  37. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_sql_mcp_validation.py +0 -0
  38. {sql_mcp-0.1.0 → sql_mcp-0.3.0}/tests/test_startup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sql-mcp
3
- Version: 0.1.0
3
+ Version: 0.3.0
4
4
  Summary: Generic SQL database (Postgres, MySQL/MariaDB, MSSQL, Oracle, SQLite) API + MCP Server + A2A Server for Agentic AI!
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -12,13 +12,13 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: <3.15,>=3.11
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-utilities>=0.47.0
15
+ Requires-Dist: agent-utilities>=0.49.0
16
16
  Requires-Dist: python-dotenv>=1.0.0
17
17
  Requires-Dist: sqlalchemy>=2.0.0
18
18
  Provides-Extra: mcp
19
- Requires-Dist: agent-utilities[mcp]>=0.47.0; extra == "mcp"
19
+ Requires-Dist: agent-utilities[mcp]>=0.49.0; extra == "mcp"
20
20
  Provides-Extra: agent
21
- Requires-Dist: agent-utilities[agent,logfire]>=0.47.0; extra == "agent"
21
+ Requires-Dist: agent-utilities[agent,logfire]>=0.49.0; extra == "agent"
22
22
  Provides-Extra: postgres
23
23
  Requires-Dist: psycopg[binary]>=3.1.0; extra == "postgres"
24
24
  Provides-Extra: mysql
@@ -28,7 +28,7 @@ Requires-Dist: pyodbc>=5.0.0; extra == "mssql"
28
28
  Provides-Extra: oracle
29
29
  Requires-Dist: oracledb>=2.0.0; extra == "oracle"
30
30
  Provides-Extra: all
31
- Requires-Dist: sql-mcp[agent,logfire,mcp,mssql,mysql,oracle,postgres]>=0.1.0; extra == "all"
31
+ Requires-Dist: sql-mcp[agent,logfire,mcp,mssql,mysql,oracle,postgres]>=0.3.0; extra == "all"
32
32
  Provides-Extra: test
33
33
  Requires-Dist: pytest-xdist>=3.6.0; extra == "test"
34
34
  Requires-Dist: pytest; extra == "test"
@@ -61,7 +61,7 @@ Generic SQL database **API + MCP Server + A2A Agent** for the agent-utilities
61
61
  ecosystem — one connector for **PostgreSQL, MySQL/MariaDB, Microsoft SQL Server,
62
62
  Oracle, and SQLite** over SQLAlchemy 2.x Core.
63
63
 
64
- *Version: 0.1.0*
64
+ *Version: 0.3.0*
65
65
 
66
66
  > **Documentation** — Installation, deployment, and usage across the API, CLI, and
67
67
  > MCP interfaces are maintained in [`docs/`](docs/index.md).
@@ -210,6 +210,21 @@ sql-agent --mcp-url http://localhost:8000/mcp --host 0.0.0.0 --port 8080
210
210
  }
211
211
  ```
212
212
 
213
+ <!-- BEGIN GENERATED: additional-deployment-options -->
214
+ ### Additional Deployment Options
215
+
216
+ `sql-mcp` can also run as a **local container** (Docker / Podman / `uv`) or be
217
+ consumed from a **remote deployment**. The
218
+ [Deployment guide](https://knuckles-team.github.io/sql-mcp/deployment/) has full, copy-paste
219
+ `mcp_config.json` for all four transports — **stdio**, **streamable-http**,
220
+ **local container / uv**, and **remote URL**:
221
+
222
+ - **Local container / uv** — launch the server from `mcp_config.json` via `uvx`,
223
+ `docker run`, or `podman run`, or point at a local streamable-http container by `url`.
224
+ - **Remote URL** — connect to a server deployed behind Caddy at
225
+ `http://sql-mcp.arpa/mcp` using the `"url"` key.
226
+ <!-- END GENERATED: additional-deployment-options -->
227
+
213
228
  ## Docker deployment
214
229
 
215
230
  ```bash
@@ -23,7 +23,7 @@ Generic SQL database **API + MCP Server + A2A Agent** for the agent-utilities
23
23
  ecosystem — one connector for **PostgreSQL, MySQL/MariaDB, Microsoft SQL Server,
24
24
  Oracle, and SQLite** over SQLAlchemy 2.x Core.
25
25
 
26
- *Version: 0.1.0*
26
+ *Version: 0.3.0*
27
27
 
28
28
  > **Documentation** — Installation, deployment, and usage across the API, CLI, and
29
29
  > MCP interfaces are maintained in [`docs/`](docs/index.md).
@@ -172,6 +172,21 @@ sql-agent --mcp-url http://localhost:8000/mcp --host 0.0.0.0 --port 8080
172
172
  }
173
173
  ```
174
174
 
175
+ <!-- BEGIN GENERATED: additional-deployment-options -->
176
+ ### Additional Deployment Options
177
+
178
+ `sql-mcp` can also run as a **local container** (Docker / Podman / `uv`) or be
179
+ consumed from a **remote deployment**. The
180
+ [Deployment guide](https://knuckles-team.github.io/sql-mcp/deployment/) has full, copy-paste
181
+ `mcp_config.json` for all four transports — **stdio**, **streamable-http**,
182
+ **local container / uv**, and **remote URL**:
183
+
184
+ - **Local container / uv** — launch the server from `mcp_config.json` via `uvx`,
185
+ `docker run`, or `podman run`, or point at a local streamable-http container by `url`.
186
+ - **Remote URL** — connect to a server deployed behind Caddy at
187
+ `http://sql-mcp.arpa/mcp` using the `"url"` key.
188
+ <!-- END GENERATED: additional-deployment-options -->
189
+
175
190
  ## Docker deployment
176
191
 
177
192
  ```bash
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sql-mcp"
7
- version = "0.1.0"
7
+ version = "0.3.0"
8
8
  description = "Generic SQL database (Postgres, MySQL/MariaDB, MSSQL, Oracle, SQLite) API + MCP Server + A2A Server for Agentic AI!"
9
9
  readme = "README.md"
10
10
  classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
11
11
  requires-python = ">=3.11, <3.15"
12
- dependencies = [ "agent-utilities>=0.47.0", "python-dotenv>=1.0.0", "sqlalchemy>=2.0.0",]
12
+ dependencies = [ "agent-utilities>=0.49.0", "python-dotenv>=1.0.0", "sqlalchemy>=2.0.0",]
13
13
  [[project.authors]]
14
14
  name = "Audel Rouhi"
15
15
  email = "knucklessg1@gmail.com"
@@ -18,13 +18,13 @@ email = "knucklessg1@gmail.com"
18
18
  text = "MIT"
19
19
 
20
20
  [project.optional-dependencies]
21
- mcp = [ "agent-utilities[mcp]>=0.47.0",]
22
- agent = [ "agent-utilities[agent,logfire]>=0.47.0",]
21
+ mcp = [ "agent-utilities[mcp]>=0.49.0",]
22
+ agent = [ "agent-utilities[agent,logfire]>=0.49.0",]
23
23
  postgres = [ "psycopg[binary]>=3.1.0",]
24
24
  mysql = [ "pymysql>=1.1.0",]
25
25
  mssql = [ "pyodbc>=5.0.0",]
26
26
  oracle = [ "oracledb>=2.0.0",]
27
- all = [ "sql-mcp[mcp,agent,postgres,mysql,mssql,oracle,logfire]>=0.1.0",]
27
+ all = [ "sql-mcp[mcp,agent,postgres,mysql,mssql,oracle,logfire]>=0.3.0",]
28
28
  test = [ "pytest-xdist>=3.6.0", "pytest", "pytest-asyncio", "pytest-cov",]
29
29
 
30
30
  [project.scripts]
@@ -1,3 +1,3 @@
1
- agent-utilities>=0.47.0
1
+ agent-utilities>=0.49.0
2
2
  python-dotenv>=1.0.0
3
3
  sqlalchemy>=2.0.0
@@ -5,7 +5,7 @@ import os
5
5
  import sys
6
6
  import warnings
7
7
 
8
- __version__ = "0.1.0"
8
+ __version__ = "0.3.0"
9
9
 
10
10
  logging.basicConfig(
11
11
  level=logging.INFO,
@@ -13,7 +13,7 @@ from starlette.responses import JSONResponse
13
13
 
14
14
  from sql_mcp.mcp.mcp_sql import register_sql_tools
15
15
 
16
- __version__ = "0.1.0"
16
+ __version__ = "0.3.0"
17
17
  logger = get_logger(name="sql_mcp")
18
18
 
19
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sql-mcp
3
- Version: 0.1.0
3
+ Version: 0.3.0
4
4
  Summary: Generic SQL database (Postgres, MySQL/MariaDB, MSSQL, Oracle, SQLite) API + MCP Server + A2A Server for Agentic AI!
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -12,13 +12,13 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: <3.15,>=3.11
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-utilities>=0.47.0
15
+ Requires-Dist: agent-utilities>=0.49.0
16
16
  Requires-Dist: python-dotenv>=1.0.0
17
17
  Requires-Dist: sqlalchemy>=2.0.0
18
18
  Provides-Extra: mcp
19
- Requires-Dist: agent-utilities[mcp]>=0.47.0; extra == "mcp"
19
+ Requires-Dist: agent-utilities[mcp]>=0.49.0; extra == "mcp"
20
20
  Provides-Extra: agent
21
- Requires-Dist: agent-utilities[agent,logfire]>=0.47.0; extra == "agent"
21
+ Requires-Dist: agent-utilities[agent,logfire]>=0.49.0; extra == "agent"
22
22
  Provides-Extra: postgres
23
23
  Requires-Dist: psycopg[binary]>=3.1.0; extra == "postgres"
24
24
  Provides-Extra: mysql
@@ -28,7 +28,7 @@ Requires-Dist: pyodbc>=5.0.0; extra == "mssql"
28
28
  Provides-Extra: oracle
29
29
  Requires-Dist: oracledb>=2.0.0; extra == "oracle"
30
30
  Provides-Extra: all
31
- Requires-Dist: sql-mcp[agent,logfire,mcp,mssql,mysql,oracle,postgres]>=0.1.0; extra == "all"
31
+ Requires-Dist: sql-mcp[agent,logfire,mcp,mssql,mysql,oracle,postgres]>=0.3.0; extra == "all"
32
32
  Provides-Extra: test
33
33
  Requires-Dist: pytest-xdist>=3.6.0; extra == "test"
34
34
  Requires-Dist: pytest; extra == "test"
@@ -61,7 +61,7 @@ Generic SQL database **API + MCP Server + A2A Agent** for the agent-utilities
61
61
  ecosystem — one connector for **PostgreSQL, MySQL/MariaDB, Microsoft SQL Server,
62
62
  Oracle, and SQLite** over SQLAlchemy 2.x Core.
63
63
 
64
- *Version: 0.1.0*
64
+ *Version: 0.3.0*
65
65
 
66
66
  > **Documentation** — Installation, deployment, and usage across the API, CLI, and
67
67
  > MCP interfaces are maintained in [`docs/`](docs/index.md).
@@ -210,6 +210,21 @@ sql-agent --mcp-url http://localhost:8000/mcp --host 0.0.0.0 --port 8080
210
210
  }
211
211
  ```
212
212
 
213
+ <!-- BEGIN GENERATED: additional-deployment-options -->
214
+ ### Additional Deployment Options
215
+
216
+ `sql-mcp` can also run as a **local container** (Docker / Podman / `uv`) or be
217
+ consumed from a **remote deployment**. The
218
+ [Deployment guide](https://knuckles-team.github.io/sql-mcp/deployment/) has full, copy-paste
219
+ `mcp_config.json` for all four transports — **stdio**, **streamable-http**,
220
+ **local container / uv**, and **remote URL**:
221
+
222
+ - **Local container / uv** — launch the server from `mcp_config.json` via `uvx`,
223
+ `docker run`, or `podman run`, or point at a local streamable-http container by `url`.
224
+ - **Remote URL** — connect to a server deployed behind Caddy at
225
+ `http://sql-mcp.arpa/mcp` using the `"url"` key.
226
+ <!-- END GENERATED: additional-deployment-options -->
227
+
213
228
  ## Docker deployment
214
229
 
215
230
  ```bash
@@ -1,15 +1,15 @@
1
- agent-utilities>=0.47.0
1
+ agent-utilities>=0.49.0
2
2
  python-dotenv>=1.0.0
3
3
  sqlalchemy>=2.0.0
4
4
 
5
5
  [agent]
6
- agent-utilities[agent,logfire]>=0.47.0
6
+ agent-utilities[agent,logfire]>=0.49.0
7
7
 
8
8
  [all]
9
- sql-mcp[agent,logfire,mcp,mssql,mysql,oracle,postgres]>=0.1.0
9
+ sql-mcp[agent,logfire,mcp,mssql,mysql,oracle,postgres]>=0.3.0
10
10
 
11
11
  [mcp]
12
- agent-utilities[mcp]>=0.47.0
12
+ agent-utilities[mcp]>=0.49.0
13
13
 
14
14
  [mssql]
15
15
  pyodbc>=5.0.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes