Node/Python support required?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, go
- 领域
- build-system, cli
调研方向
从 agentcore.json 中表示的运行时配置以及 agentcore validate 使用的验证路径入手;将其入口点检查与提供的 Go、Dockerfile 和 cmd/ 示例进行比较。完成的标准是:接受的配置支持非 Python/TypeScript 容器,或明确验证这一限制;并且构建失败时报告可采取行动的错误,而不是只显示“can't find the project”。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 291
- 派生
- 96
- 平均合并
- 21 小时 31 分钟
- 30 天内合并 PR
- 217
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/agentcore-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
aws/agentcore-cli#2395 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
aws/agentcore-cli#2392 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
aws/agentcore-cli#2267 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2258 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2176 ·
查看 aws/agentcore-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 条评论 ·
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
refactor
难度 2/5 1-3 小时 新手友好度 84/100