Node/Python support required?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, go
- Lĩnh vực
- build-system, cli
Hướng nghiên cứu
Bắt đầu với cấu hình runtime được thể hiện trong agentcore.json và luồng validation được agentcore validate sử dụng; so sánh các kiểm tra entrypoint của nó với Go, Dockerfile và ví dụ cmd/ được cung cấp. Được xem là hoàn tất khi cấu hình được chấp nhận hỗ trợ một container không dùng Python/TypeScript hoặc xác thực rõ ràng giới hạn đó, đồng thời các lỗi build báo cáo lỗi có thể xử lý thay vì chỉ “can't find the project”.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
I've got an MCP server that i've written in golang, supports streamable http endpoint, endpoint is at /mcp. However I can't seem to figure out how to write the runtime block in agentcore.json that will allow it to function.
It's main issue seems to be:
- runtimes[0].entrypoint: Must be a Python (.py) or TypeScript (.ts/.js) file path with optional handler (e.g., "main.py:handler" or "index.ts")
Is there some way for me to 'bring my own docker container' to this process and just inject a docker image path for local or remote fetching? I understand that there might be parts of the tool that would be less functional but this tool seems pretty limited.
I've tried several variants on configs including some references to attributes like transport, port, and path which is great. The AI suggestions are pointing to old documentation for the previous version of this framework so I doubt they work anymore. However it seems like entrypoint must be present in the runtime config and must be either a .py or .ts/js reference which seems like an odd requirement.
My current runtime muddle looks loosely like this:
{
"name": "mymcp",
"build": "Container",
"buildContextPath": ".",
"entrypoint": "my-mcp",
"codeLocation": "cmd/",
"dockerfile": "./Dockerfile",
"transport": "http",
"port": 8080,
"path": "/mcp",
"networkMode": "PUBLIC",
"instrumentation": {
"enableOtel": false
},
"protocol": "MCP",
"stateless": true
}
if I lie to it and tell it it's entrypoint is my-mcp.py then I get a container build error with no details. Which is also one of the most user-hostile things I've encountered so far. Not even echoing the error message?
Acceptance Criteria
- Support for some kind of bring-your-own-container or entrypoint validation that does not require one of your 'blessed' languages.
- Better errors all around, If I have an error in my config 'can't find the project' is not acceptable, the output from
agentcore validateis.
Additional Context
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 291
- Fork
- 96
- Merge trung bình
- 21 giờ 31 phút
- Pull request đã merge (30 ngày)
- 217
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/agentcore-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aws/agentcore-cli#2395 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
aws/agentcore-cli#2392 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws/agentcore-cli#2267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/agentcore-cli#2258 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/agentcore-cli#2176 ·
Tất cả issue của aws/agentcore-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
bcgov/bc-wallet-mobile#4761 · 1 bình luận ·
-
external-issue to-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100