Spike: run the CLI SDK on workerd

Ouverte
#1,882 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
cloud, nodejs, sqlite, typescript

Piste de recherche

Start with the cli-first-mcp task 6.1 design document linked in the issue, then find where createSentrySDK() and the exposed commands are assembled. Bundle them for workerd with nodejs_compat and the current compatibility date, then try a few read commands with a token and SQLite stubbed out. Record bundle or runtime failures by module and command, compare bundle size with the Workers script limit, and update the design document with findings and any stdio-only commands.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

CLI MCP

Part of #1357. Plan: cli-first-mcp task 6.1 (design).

Why

The hosted MCP will run commands through createSentrySDK(), one instance per request, with the OAuth grant's token and persistence off. Whether the exposed commands bundle and run under nodejs_compat is unknown until we build it. This can start now; it doesn't depend on the API client move.

Scope

  • Bundle createSentrySDK() with the exposed commands for workerd, under nodejs_compat and a current compatibility date. mcp-cloudflare is on 2025-03-21 today.
  • Run a few read commands with a token and SQLite stubbed out.
  • Record what fails to bundle or run (by module and by command) and the bundle size against the Workers script limit, in the cli-first-mcp design.

Done when

  • The findings are in the design doc, and blocked commands are marked stdio-only (or filed if they look fixable).

via @BYK.

--

View Session in Sentry

Langage dominant
TypeScript
Étoiles
961
Forks
179
Merge moyen
15 h 33 min
PR mergées (30 j)
476

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de getsentry/toolkit

Toutes les issues de getsentry/toolkit

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.