Phase 4: Claude plugin (.mcpb) bundle uses custom generator + workflows#57
Merged
Merged
Conversation
The mcpb build pipeline still pointed at the legacy Speakeasy
createMCPServer, so the bundled manifest was out of date on three
counts:
- Tool count stuck at 229 (no CRM, ATS, ecommerce, webhooks added
after the unified-API expansion, no workflow tools at all)
- Schema shape was the wrapped `request` form that scored D 1.9 on
Glama TDQS
- Manifest static fields were Speakeasy boilerplate (empty
description, "Apideck: The Apideck OpenAPI Spec: SDK Optimized")
This switches the build to createGeneratedMCPServer in static mode so
the manifest carries the real surface (335 tools = 331 endpoints + 4
workflow tools, flat schemas) and refreshes the static fields:
- Real description + long_description (calls out workflows,
dynamic discovery, Vault elicitations, AAA TDQS)
- display_name "Apideck Unified API" instead of "@apideck/mcp"
- Curated keywords (apideck, unified-api, accounting, crm, hris,
ats, file-storage, quickbooks, xero, salesforce, hubspot,
bamboohr, workday, greenhouse, vault, oauth)
- Useful homepage / documentation / support / license URLs
- Polished user_config descriptions (api_key marked sensitive,
consumer_id mentions test-consumer-id sandbox path, all three
set required:true so the install UI prompts for them)
`npm run mcpb:build` now produces a 590 KB .mcpb that opens cleanly
in Claude Desktop's plugin installer.
README gets a new "Claude Desktop (.mcpb plugin bundle)" section
above the manual-config snippet, pointing at the build command and
the GitHub Releases page.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Gdewilde
added a commit
that referenced
this pull request
Apr 26, 2026
…+ Claude plugin bundle Squash-merges the Phase 3 + Phase 4 stack: - Phase 3 #2 — apideck-pay-bill (#54) - Phase 3 #3 — apideck-receive-customer-payment (#55) - Phase 3 #4 — apideck-onboard-employee + workflow authoring docs (#56) - Phase 4 — Claude plugin (.mcpb) bundle uses custom generator + workflows (#57) Plus the supporting helper changes that landed across the stack: - runStep re-throws McpError so URL elicitations propagate - ConnectorCredentialsError / noConnectionFound markers added - extractServiceContext helper - Bill / invoice balance fallback (balance → total_amount → total) - AR vs AP endpoint routing in pay-bill (`accounting-bill-payments-create`) - Manifest now reflects the custom generator's output (335 tools incl. 4 workflows, flat schemas, AAA-quality descriptions) PRs #54 and #55 were superseded by this stack and will auto-close.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on PR #56. Final piece of Phase 4 distribution.
What was wrong
The mcpb pipeline (
bun src/mcp-server/build.mts) still pointed at the legacy Speakeasy `createMCPServer`, so the bundled manifest was out of date on three counts:Net result: the bundled .mcpb in Claude Desktop's plugin installer would have advertised the wrong surface, with the wrong shape, with no useful metadata.
Fix
Switch the build to `createGeneratedMCPServer` in static mode so the manifest carries the real surface (335 tools = 331 endpoints + 4 workflow tools, flat schemas) and refresh the static fields.
Output
Opens cleanly in Claude Desktop's plugin installer; reads manifest.json to wire credentials and spawn the server.
README gains a new "Claude Desktop (.mcpb plugin bundle)" section above the manual-config snippet, pointing at the build command and the GitHub Releases page (where prebuilt bundles will live going forward).
Test plan
Phase 4 status
🤖 Generated with Claude Code