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

examples/client: add a remote search and fetch example with Parallel MCP

Aperta Adatta ai principianti
#1,372 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
tooling

Direzione di ricerca

Inizia da examples/client/ e leggi gli esempi esistenti listfeatures e loadtest per vedere come usano StreamableClientTransport e CallTool. Poi aggiungi un esempio mirato per https://search.parallel.ai/mcp che individui e chiami web_search o web_fetch; includi istruzioni di configurazione, gestione dei timeout e degli errori e test con un server MCP locale. Il lavoro è concluso quando i comandi documentati funzionano con l'endpoint anonimo e i test coprono entrambe le chiamate agli strumenti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
The client examples cover remote feature discovery, HTTP load testing, and calls to a local HTTP server. A focused example for one remote search or page-fetch call would make it easier to learn tool discovery, invocation, and result handling without configuring a load test.

Describe the solution you'd like
Add a small example under examples/client/ using the existing StreamableClientTransport and CallTool APIs with Parallel Search MCP at https://search.parallel.ai/mcp. It would accept a search query or page URL, discover the tools, invoke web_search or web_fetch, and print the returned content. The service provides free, keyless search in Fast mode and page fetching, with anonymous rate limits.

Keep this confined to the example, with no SDK API changes or new dependencies. Include setup instructions, a bounded request timeout, error handling, and tests using a local MCP server. Validate both documented commands against the anonymous endpoint before submitting the implementation.

Describe alternatives you've considered
examples/client/listfeatures already accepts a remote HTTP endpoint, but only lists features. examples/http demonstrates tool calls against a local server. examples/client/loadtest can call a remote tool with JSON arguments, but is designed for repeated concurrent calls and throughput statistics. The proposed example would focus on a single search or page fetch and readable output.

Additional context
This issue precedes implementation as requested by the contribution guide for nontrivial changes. I work at Parallel. AI assistance was used to research the repository and draft this issue.

Lingua principale
Go
Stelle
5.2k
Fork
583
Merge medio
1g 8h
PR unite (30g)
50

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 modelcontextprotocol/go-sdk

Tutte le issue di modelcontextprotocol/go-sdk

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.