codemie-mcp-datasources 0.1.6__py3-none-any.whl → 0.1.22__py3-none-any.whl
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.
- {codemie_mcp_datasources-0.1.6.dist-info → codemie_mcp_datasources-0.1.22.dist-info}/METADATA +2 -2
- codemie_mcp_datasources-0.1.22.dist-info/RECORD +5 -0
- codemie_mcp_datasources-0.1.22.dist-info/entry_points.txt +3 -0
- src/server.py +12 -2
- codemie_mcp_datasources-0.1.6.dist-info/RECORD +0 -5
- codemie_mcp_datasources-0.1.6.dist-info/entry_points.txt +0 -3
- {codemie_mcp_datasources-0.1.6.dist-info → codemie_mcp_datasources-0.1.22.dist-info}/WHEEL +0 -0
{codemie_mcp_datasources-0.1.6.dist-info → codemie_mcp_datasources-0.1.22.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: codemie-mcp-datasources
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.22
|
|
4
4
|
Summary: MCP server for connecting to CodeMie Datasources
|
|
5
5
|
Author: Nikita Levyankov
|
|
6
6
|
Author-email: nikita_levyankov@epam.com
|
|
@@ -8,6 +8,6 @@ Requires-Python: >=3.12,<4.0
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.12
|
|
10
10
|
Requires-Dist: certifi (>=2025.1.31,<2026.0.0)
|
|
11
|
-
Requires-Dist: codemie-sdk-python (==0.1.
|
|
11
|
+
Requires-Dist: codemie-sdk-python (==0.1.22)
|
|
12
12
|
Requires-Dist: httpx (>=0.27.0,<0.28.0)
|
|
13
13
|
Requires-Dist: mcp (>=1.6.0,<2.0.0)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
src/server.py,sha256=NsjPbtmK720py4rHZQkertObL-outW1ECdcjeD3zmwM,8581
|
|
2
|
+
codemie_mcp_datasources-0.1.22.dist-info/METADATA,sha256=WvJ0-4rboo-0arL3ENjs3aj2B2XJuTOkxPAN8g18iRw,487
|
|
3
|
+
codemie_mcp_datasources-0.1.22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
4
|
+
codemie_mcp_datasources-0.1.22.dist-info/entry_points.txt,sha256=QCpZlzeToUV8h00nFe7ZqjhXPU8S8o3F-brSrXoIOFU,59
|
|
5
|
+
codemie_mcp_datasources-0.1.22.dist-info/RECORD,,
|
src/server.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""CodeMie MCP implementation for datasources."""
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
+
import sys
|
|
4
5
|
from typing import Any, Dict, List, Optional, Literal
|
|
5
6
|
|
|
6
7
|
from codemie_sdk import CodeMieClient
|
|
@@ -260,6 +261,15 @@ async def get_datasource_processing_info(datasource_id: str) -> Dict[str, Any]:
|
|
|
260
261
|
}
|
|
261
262
|
|
|
262
263
|
|
|
264
|
+
def main():
|
|
265
|
+
try:
|
|
266
|
+
print("Starting CodeMie Datasources MCP server", file=sys.stdout)
|
|
267
|
+
# Initialize and run the server
|
|
268
|
+
mcp.run(transport="stdio")
|
|
269
|
+
except Exception as e:
|
|
270
|
+
print(f"Error starting MCP server: {str(e)}", file=sys.stderr)
|
|
271
|
+
sys.exit(1)
|
|
272
|
+
|
|
273
|
+
|
|
263
274
|
if __name__ == "__main__":
|
|
264
|
-
|
|
265
|
-
mcp.run(transport="stdio")
|
|
275
|
+
main()
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
src/server.py,sha256=5Lwx6PcqjXtHlKJZJ0mspVBUVGw0IDLqoueIC0fB1dY,8336
|
|
2
|
-
codemie_mcp_datasources-0.1.6.dist-info/METADATA,sha256=hylb7BFM8MGI0BhtVn6bT12roK5wKTiyRfBczsp5L-Y,485
|
|
3
|
-
codemie_mcp_datasources-0.1.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
4
|
-
codemie_mcp_datasources-0.1.6.dist-info/entry_points.txt,sha256=Q4g8W3H5MTQ6M7RYLLnBUtiVWkfeAO3Draw1AatcK2o,68
|
|
5
|
-
codemie_mcp_datasources-0.1.6.dist-info/RECORD,,
|
|
File without changes
|