chore(weather-mcp): bump payments SDK to ^1.10.0 + Fleet smoke-test guide#58
Draft
r-marques wants to merge 1 commit into
Draft
chore(weather-mcp): bump payments SDK to ^1.10.0 + Fleet smoke-test guide#58r-marques wants to merge 1 commit into
r-marques wants to merge 1 commit into
Conversation
… docs, add Fleet smoke-test guide
- Bump @nevermined-io/payments ^1.9.0 -> ^1.10.0 (latest release; keeps the
x402 v2 in-band MCP transport). Verified: `yarn build` (tsc) compiles and the
server boots to Payments-client init on 1.10.0.
- Fix docs referencing the removed `payments.agents.getAgentAccessToken()` ->
`payments.x402.getX402AccessToken(planId, agentId, { delegationConfig })`
(create the delegation first via `payments.delegation.createDelegation`).
- Drop the deprecated `environment` option (1.10.0 derives it from the API-key prefix).
- Add FLEET-SMOKE-TEST.md: run this MCP server behind LangSmith Fleet via a
static `Authorization: Bearer` header (the x402 v2 header fallback).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What & why
weather-mcponmainis already on the x402 v2 in-band transport (from #57), pinned at@nevermined-io/payments@^1.9.0(lockfile 1.9.0). This PR moves it to the latest release1.10.0, fixes a doc reference to an SDK method that was removed, and adds a guide for driving the server from LangSmith Fleet.Changes
@nevermined-io/payments^1.9.0→^1.10.0(+ lockfile).README.md,RUN.md,CLAUDE.md):payments.agents.getAgentAccessToken()was removed — replaced withpayments.x402.getX402AccessToken(planId, agentId, { delegationConfig: { delegationId } }), creating the delegation first viapayments.delegation.createDelegation(...). Also dropped the now-deprecatedenvironmentoption (1.10.0 derives it from the API-key prefix).FLEET-SMOKE-TEST.md— connect this MCP server to a LangSmith Fleet agent via a staticAuthorization: Bearerheader (Fleet injects static headers, not per-call_meta, so it rides the x402 v2 header fallback), including the pre-Fleetcurlgating check.Verification
yarn build(tsc) compiles cleanly on1.10.0(registration API unchanged).node dist/main.jsboots to Payments-client init and correctly rejects an invalid key (a real sandbox key is the only missing piece).1.10.0deprecation warning for theenvironmentoption (folded into the doc fix).Draft — the header-fallback path is deprecated in the SDK; the durable Fleet integration is OAuth-based (tracked separately in nvm-monorepo).
🤖 Generated with Claude Code