naas-abi-core 1.0.1__py3-none-any.whl → 1.0.2__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.
- naas_abi_core/apps/mcp/Dockerfile.mcp +35 -0
- {naas_abi_core-1.0.1.dist-info → naas_abi_core-1.0.2.dist-info}/METADATA +1 -1
- {naas_abi_core-1.0.1.dist-info → naas_abi_core-1.0.2.dist-info}/RECORD +5 -4
- {naas_abi_core-1.0.1.dist-info → naas_abi_core-1.0.2.dist-info}/WHEEL +0 -0
- {naas_abi_core-1.0.1.dist-info → naas_abi_core-1.0.2.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Production Dockerfile for ABI MCP Server
|
|
2
|
+
FROM python:3.13-slim
|
|
3
|
+
|
|
4
|
+
WORKDIR /app
|
|
5
|
+
|
|
6
|
+
# Install system dependencies
|
|
7
|
+
RUN apt-get update && apt-get install -y \
|
|
8
|
+
curl \
|
|
9
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# Copy application code
|
|
13
|
+
COPY libs/naas-abi-core/naas_abi_core/apps/mcp/mcp_server.py ./
|
|
14
|
+
# COPY lib/ ./lib/
|
|
15
|
+
# COPY src/ ./src/
|
|
16
|
+
COPY .env* ./
|
|
17
|
+
|
|
18
|
+
# Copy requirements and install Python dependencies
|
|
19
|
+
COPY README.md ./
|
|
20
|
+
# COPY pyproject.toml ./
|
|
21
|
+
RUN pip install fastmcp>=2.11.2 python-dotenv
|
|
22
|
+
|
|
23
|
+
# Set environment for production MCP deployment
|
|
24
|
+
ENV MCP_TRANSPORT=sse
|
|
25
|
+
ENV ABI_API_BASE=http://api:9879
|
|
26
|
+
|
|
27
|
+
# Expose the MCP HTTP server port
|
|
28
|
+
EXPOSE 8000
|
|
29
|
+
|
|
30
|
+
# Health check
|
|
31
|
+
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
32
|
+
CMD curl -f http://localhost:8000/ || exit 1
|
|
33
|
+
|
|
34
|
+
# Run the MCP server
|
|
35
|
+
CMD ["python", "mcp_server.py"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: naas-abi-core
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Abi framework allowing you to build your AI system.
|
|
5
5
|
Author-email: Maxime Jublou <maxime@naas.ai>, Florent Ravenel <florent@naas.ai>, Jeremy Ravenel <jeremy@naas.ai>
|
|
6
6
|
Requires-Python: <4,>=3.10
|
|
@@ -2,6 +2,7 @@ naas_abi_core/__init__.py,sha256=kR93ywABUBo8-tAWCHMbRcCDCJZjqq4hWwxMk3Cr9fI,56
|
|
|
2
2
|
naas_abi_core/apps/api/api.py,sha256=CMast2FEo6S7WbXkeELaM4QHEv_-uDLVkieZcXGGolo,7027
|
|
3
3
|
naas_abi_core/apps/api/api_test.py,sha256=7H_VgnbsGqu6oGY-apAHjJr_yjIcGHY0heaEThWBsUk,10537
|
|
4
4
|
naas_abi_core/apps/api/openapi_doc.py,sha256=JbwzcmSP-Yl1rbN0QvUwOSmOFf-yKXECZ-2ptI7fWoU,11834
|
|
5
|
+
naas_abi_core/apps/mcp/Dockerfile.mcp,sha256=936qaoMFGbMvTARjzkNHMgRfGVWnolpVCrz0fBJYrLA,826
|
|
5
6
|
naas_abi_core/apps/mcp/mcp_server.py,sha256=U-wDl8rswMk4nefGg2SUByw4x8CM10M59FfLHxIKC-o,8391
|
|
6
7
|
naas_abi_core/apps/mcp/mcp_server_test.py,sha256=8jixnDyERM_HjjDTRtPDQcJ_rzA0ESAn147sl2Gk8gw,5636
|
|
7
8
|
naas_abi_core/apps/terminal_agent/main.py,sha256=ucrNCGjjixyiO47Eily1yAmrwznS6KOcB1kk02yt_m8,19631
|
|
@@ -118,7 +119,7 @@ naas_abi_core/utils/onto2py/onto2py.py,sha256=_wn9qrrsWd8gO-BY4_jQJVfY87e9MJ2Er2
|
|
|
118
119
|
naas_abi_core/utils/onto2py/tests/ttl2py_test.py,sha256=5OZqSxPffjJYiX9T4rT1mV0PT1Qhf6goqEYT_mAPnaI,8055
|
|
119
120
|
naas_abi_core/workflow/__init__.py,sha256=hZD58mCB1PApxITqftP_xgjxL7NeLvOfI-rJENg1ENs,250
|
|
120
121
|
naas_abi_core/workflow/workflow.py,sha256=ZufSS073JztVl0OQRTqNyK7FepFvv7gXlc4j5FAEZCI,1216
|
|
121
|
-
naas_abi_core-1.0.
|
|
122
|
-
naas_abi_core-1.0.
|
|
123
|
-
naas_abi_core-1.0.
|
|
124
|
-
naas_abi_core-1.0.
|
|
122
|
+
naas_abi_core-1.0.2.dist-info/METADATA,sha256=38HzSmS04kqcgI7uMWIyaWMNkvjyP43fU73XF2pAF7w,3192
|
|
123
|
+
naas_abi_core-1.0.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
124
|
+
naas_abi_core-1.0.2.dist-info/entry_points.txt,sha256=R6N3E2Hh92nTrji34JIwBgc6c-wVpfBYBTwkU0xe64E,79
|
|
125
|
+
naas_abi_core-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|