Skip to content

feat(mcp): add gittensory_get_repo_onboarding_pack MCP tool #2223

Description

@JSONbored

There is a stdio prompt gittensory_repo_owner_onboarding_pack (packages/gittensory-mcp/bin/gittensory-mcp.js:1250) that presumes an onboarding-pack payload, and buildRepoOnboardingPackPreviewForRepo exists in src/services/repo-onboarding-pack.ts:30, but the hosted MCP server exposes no tool to actually fetch that pack. Add the missing tool so the prompt has a real data source.

Deliverables

  • Register gittensory_get_repo_onboarding_pack in src/mcp/server.ts, inputSchema=ownerRepoShape
  • Handler calls buildRepoOnboardingPackPreviewForRepo(env, repoFullName) with the repo-access guard
  • zod outputSchema for the onboarding-pack preview shape
  • Tests: authorized, unauthorized, and unregistered-repo branches

References

  • src/services/repo-onboarding-pack.ts:30
  • src/services/repo-onboarding-pack.ts:18
  • packages/gittensory-mcp/bin/gittensory-mcp.js:1250

size: S · held for later release (gittensor:feature once activated)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.visualUI/web visual work — owner-led, NOT for Gittensor contributors (extensions excepted)

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions