Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Node/Python support required?

Aperta
#2,282 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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

enhancement
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 validate is.
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/agentcore-cli

Tutte le issue di aws/agentcore-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.