Node/Python support required?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, go
- Ambito
- build-system, cli
Direzione di ricerca
Inizia dalla configurazione di runtime rappresentata in agentcore.json e dal percorso di validazione utilizzato da agentcore validate; confronta i relativi controlli dell’entrypoint con il Go, il Dockerfile e l’esempio cmd/ forniti. Il lavoro è completo quando la configurazione accettata supporta un container non Python/TypeScript oppure convalida chiaramente tale limitazione, e quando gli errori di build riportano errori utilizzabili invece di mostrare soltanto «can't find the project».
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 291
- Fork
- 96
- Merge medio
- 21h 31m
- PR unite (30g)
- 217
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws/agentcore-cli
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
aws/agentcore-cli#2395 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
aws/agentcore-cli#2392 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
aws/agentcore-cli#2267 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
aws/agentcore-cli#2258 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
aws/agentcore-cli#2176 ·
Tutte le issue di aws/agentcore-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
bcgov/bc-wallet-mobile#4761 · 1 commento ·
-
external-issue to-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100