iflow-mcp_yugabyte-yugabytedb-mcp-server 1.0.7__tar.gz → 1.0.8__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 (12) hide show
  1. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/PKG-INFO +1 -1
  2. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/pyproject.toml +1 -1
  3. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/PKG-INFO +1 -1
  4. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/server.py +3 -3
  5. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/LICENSE +0 -0
  6. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/README.md +0 -0
  7. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/setup.cfg +0 -0
  8. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/SOURCES.txt +0 -0
  9. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/dependency_links.txt +0 -0
  10. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/entry_points.txt +0 -0
  11. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/requires.txt +0 -0
  12. {iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.7 → iflow_mcp_yugabyte_yugabytedb_mcp_server-1.0.8}/src/iflow_mcp_yugabyte_yugabytedb_mcp_server.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iflow-mcp_yugabyte-yugabytedb-mcp-server
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "iflow-mcp_yugabyte-yugabytedb-mcp-server"
3
- version = "1.0.7"
3
+ version = "1.0.8"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iflow-mcp_yugabyte-yugabytedb-mcp-server
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -86,9 +86,9 @@ def write_root_cert():
86
86
  @asynccontextmanager
87
87
  async def app_lifespan(server: FastMCP) -> AsyncIterator[AppContext]:
88
88
  global CONFIG
89
- # Skip database connection for testing if YUGABYTEDB_URL is not set
90
- if not CONFIG or not CONFIG.yugabytedb_url:
91
- print("YUGABYTEDB_URL is not set, running in demo mode without database connection", file=sys.stderr)
89
+ # Skip database connection for testing if YUGABYTEDB_URL is not set or is a demo value
90
+ if not CONFIG or not CONFIG.yugabytedb_url or "dbname=yugabyte host=localhost" in CONFIG.yugabytedb_url:
91
+ print("YUGABYTEDB_URL is not set or using demo value, running in demo mode without database connection", file=sys.stderr)
92
92
  yield AppContext(conn=None)
93
93
  return
94
94