feat: upgrade to prime-sdk-go v0.12.0 and add new endpoints - #29
Open
cfluke-cb wants to merge 2 commits into
Open
feat: upgrade to prime-sdk-go v0.12.0 and add new endpoints#29cfluke-cb wants to merge 2 commits into
cfluke-cb wants to merge 2 commits into
Conversation
rcbgr
requested changes
Sep 11, 2026
| for i, arg := range args { | ||
| err, isError := arg.(error) | ||
| if isError { | ||
| out[i] = utils.FormatCLIError(err) |
| s := server.NewMCPServer( | ||
| "coinbase-prime", | ||
| "0.4.2", | ||
| "0.6.0", |
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.
Description
Bumps prime-cli to
prime-sdk-gov0.12.0 (v0.6.0) so the CLI covers the latest Prime REST surface.Adds nine commands (and matching MCP tools) for conversion fees, cross-margin liquidations, trade finance obligations, rewards rates, FCM equity, and international derivatives. API failures now print
trace_idand the spec subcode/code description. Also exposes newer request fields on existing commands (orders edit, staking, withdrawals) and backfills MCP tools that were missing from v0.5.0.Type of Change
Checklist
Test plan
go test ./utils/... && go build -o primectl . && go vet ./..../primectl versionreports0.6.0./primectl financing --helpand./primectl futures --helplist the nine new commandsPRIME_CREDENTIALSfor new financing/futures commandstrace_idand a subcode descriptionMade with Cursor