Add caller-orchestrated MCP methods
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Action
Add public sync and async SDK methods for caller-orchestrated MCP after mozilla-ai/otari#812 is merged and deployed:
mcp.list_tools(mcp_server_id)forGET /v1/mcp/servers/{mcp_server_id}/toolsmcp.execute(...)forPOST /v1/mcp/execute
Expose the generated request and response types through the supported SDK shell. Preserve the MCP error fields (code, execution_state, and request_id), and ensure execute makes exactly one HTTP attempt with no automatic retry. Add unit tests for both authentication modes and the outcome_unknown path.
Why
The gateway merge automatically opens an sdk-codegen/client-core PR, but that PR only replaces src/otari/_client/. It does not modify the hand-written OtariClient or AsyncOtariClient shell, so applications such as Octonous still have no supported public method for these endpoints.
Notes
- The gateway currently classifies both endpoints as
[excluded]in its canonicalscripts/sdk_codegen/sdk-endpoints.txt, with a note that the public SDK wrapper is follow-up work. Move them to[covered]in a gateway PR when the shell methods land. client_execution_idis for correlation, not idempotency. Repeating an execution may run the remote tool twice.- A network failure without a typed Otari response is indeterminate and must not be converted into an ordinary retryable failure.
- Publish a new SDK release after the wrapper lands so Octonous can update its lockfile.
Blocked by: mozilla-ai/otari#812
- Lingua principale
- Python
- Stelle
- 2
- Fork
- 1
- Merge medio
- 7h 51m
- PR unite (30g)
- 47
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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.
Issue simili
-
SSM GetParameter throttling during concurrent workflow launchesForse già presa @alexiswl l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
-
[Bug] Dev image build fails: `npm install` in the root Dockerfile runs out of memory (exit 134)Forse già presa @andest01 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Rename FunctionalRole BOT_DEV to DEV_STAFFForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
pesu-dev/discord_bot#97 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
gradio-app/gradio#13964 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 93/100
BSData/horus-heresy-3rd-edition#3232 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno