mcp
v0.2.15Local stdio MCP server exposing the Upshift SDK as Model Context Protocol tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami whoami
Report the active Upshift profile, default chain, config directory, and whether an API key is present.
chain_list chain_list
List supported chains and indicate which ones have an RPC URL configured in the local Upshift config.
rpc_test rpc_test
Probe configured RPCs with a single read JSON-RPC call (eth_blockNumber / getSlot) and report latency. Optionally filter to one chain.
| Parameter | Type | Description |
|---|---|---|
chainId | integer | Restrict the probe to a single chain id. |
timeoutMs | integer | Per-RPC timeout in ms (default 5000). |
vault_list vault_list
List every known Upshift vault (name, symbol, address, chain id). Start here when you do not know a vault address.
| Parameter | Type | Description |
|---|---|---|
chainId | integer | Restrict to one chain id. |
cursor | string | Opaque cursor from a previous page (`nextCursor`). |
limit | integer | Page size (default 20, max 100). |
vault_search vault_search
Search known vaults by name, symbol, or address fragment (case-insensitive).
| Parameter | Type | Description |
|---|---|---|
query * | string | Name/symbol/address fragment. |
chainId | integer | Restrict to one chain id. |
cursor | string | Opaque cursor from a previous page (`nextCursor`). |
limit | integer | Page size (default 20, max 100). |
vault_get vault_get
Fetch full metadata for an Upshift vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
vault_apy vault_apy
Current and annualized APY for an Upshift vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
vault_tvl vault_tvl
Current total value locked for an Upshift vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
vault_positions vault_positions
Positions held in a vault, optionally filtered to a single wallet.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate list-shaped results to the first N entries. |
user | string | Optional wallet address to filter by. |
vault_loans vault_loans
Outstanding loans funded by an Upshift vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate list-shaped results to the first N entries. |
vault_allocations vault_allocations
Current allocations across the vault's underlying strategies.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate list-shaped results to the first N entries. |
vault_redemptions vault_redemptions
Open and historical redemption requests for a vault, optionally filtered by user.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate list-shaped results to the first N entries. |
lookbackBlocks | integer | How far back to scan for historical redemptions. |
user | string | Optional wallet address to filter by. |
vault_history vault_history
Historical TVL / APY timeseries for a vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
days | integer | Lookback window in days. |
limit | integer | Truncate list-shaped results to the first N entries. |
vault_summary vault_summary
Composite vault summary (metadata + APY + TVL + flags).
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
user_points user_points
Current Upshift points balance and rank for a wallet.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | EVM (0x…) or Solana wallet address. |
chainId | integer | Chain id override. Defaults to the active config. |
user_positions user_positions
All vault positions across chains for a wallet.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | EVM (0x…) or Solana wallet address. |
chainId | integer | Chain id override. Defaults to the active config. |
user_pnl user_pnl
Lifetime PnL for a wallet in a specific Upshift vault. `vault` is required because the SDK has no all-vaults aggregator.
| Parameter | Type | Description |
|---|---|---|
vault * | string | Vault address to compute PnL against. |
wallet * | string | EVM (0x…) or Solana wallet address. |
chainId | integer | Chain id override. Defaults to the active config. |
points_leaderboard points_leaderboard
Upshift points leaderboard, paginated.
| Parameter | Type | Description |
|---|---|---|
chainId | integer | Chain id override. Defaults to the active config. |
page | integer | 1-based page. |
perPage | integer | |
sortBy | string |
vault_pending_redemptions vault_pending_redemptions
Backend redemption queue for a vault: available liquidity, sufficiency/overdue flags, and a per-due-date breakdown. Amounts are integers in the vault asset’s smallest unit.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…), Solana, or Stellar vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
futureDays | integer | Days of upcoming redemptions to include. |
pastDays | integer | Days of already-due redemptions to include. |
vault_pnl_history vault_pnl_history
Unrealized-PnL snapshot series for a vault, newest first, as computed by the Upshift backend.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…), Solana, or Stellar vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Max snapshots to return. |
pnl_latest pnl_latest
Latest unrealized-PnL snapshot for every vault the Upshift backend tracks — one entry per vault.
| Parameter | Type | Description |
|---|---|---|
chainId | integer | Chain id override. Defaults to the active config. |
vault_activity vault_activity
Vault-wide deposit/withdrawal activity feed from the subgraph (every participant, not one wallet), plus a computed summary: deposit/withdrawal counts, volumes, net flow, and unique actors over the window. Use this to answer flow questions like "how many deposits in the past week" that point-in-time TVL cannot.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate the returned item list to the first N entries. |
sinceDays | number | Lookback window in days (shorthand for sinceTs). e.g. 7. |
sinceTs | integer | Lower bound as a Unix timestamp in seconds. Overrides sinceDays. |
types | array | Restrict to a subset of event types. Defaults to all. |
untilTs | integer | Upper bound as a Unix timestamp in seconds. |
activity_ranking activity_ranking
Rank known vaults by deposit/withdrawal activity over a window — answers "which vaults had the most deposits last week". Fans out across the vault registry (optionally filtered by chain), reads each vault's subgraph activity, and ranks by the chosen metric. Scanning is capped (maxVaults) and vaults whose chain has no configured RPC are counted under vaultsErrored.
| Parameter | Type | Description |
|---|---|---|
chainId | integer | Chain id override. Defaults to the active config. |
maxVaults | integer | Cap on vaults scanned (default 100). |
metric | string | Ranking metric. Defaults to depositVolume. |
sinceDays | number | Lookback window in days (shorthand for sinceTs). e.g. 7. |
sinceTs | integer | Lower bound as a Unix timestamp in seconds. Overrides sinceDays. |
topN | integer | How many top vaults to return (default 10). |
untilTs | integer | Upper bound as a Unix timestamp in seconds. |
user_activity user_activity
A wallet's deposit/withdrawal history from the subgraph. Pass `vault` to scope to one vault (recommended and fastest); omit it to sweep every vault on the chain.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | EVM (0x…) or Solana wallet address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate the returned item list to the first N entries. |
vault | string | EVM (0x…) or Solana vault address. |
user_transfers user_transfers
A wallet's vault-share transfer events from the subgraph (excludes reward-distributor transfers). Pass `vault` to scope to one vault; omit it to sweep every vault on the chain.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | EVM (0x…) or Solana wallet address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate the returned item list to the first N entries. |
vault | string | EVM (0x…) or Solana vault address. |
total_deposited total_deposited
Protocol-wide total deposited (sum of every vault’s latest reported TVL across all chains), from the Upshift backend. Takes no chain filter — the figure is global by definition.
token_price token_price
Current USD price for a token by symbol or contract address (price server, CoinGecko fallback). Pass `chainId` when `symbol` is a contract address — the same address can be a different token on a different chain, and the lookup is chain-scoped only in that case.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Token symbol (e.g. "ETH") or contract address. |
chainId | integer | Chain id override. Defaults to the active config. |
vault_withdrawals vault_withdrawals
Withdrawal summary and pending-withdrawal queue for a vault, from the Upshift backend.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
vault_pnl vault_pnl
Vault-level PnL (USD and notional) for an Upshift vault, as computed by the backend.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
vault_annualized_apy vault_annualized_apy
Annualized / liquidity APY breakdown for an Upshift vault (some fields are backend-computed).
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
withdrawal_requests_status withdrawal_requests_status
Withdrawal requests for a vault with each one classified as pending, ready_to_claim, or processed (subgraph + on-chain logs). Optionally filter to one receiver wallet.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
limit | integer | Truncate list-shaped results to the first N entries. |
lookbackBlocks | integer | How far back to scan on-chain for processed logs. |
user | string | Optional receiver wallet to filter by. |
subaccount_list subaccount_list
Paginated directory of ALL Upshift subaccounts — address, internal/friendly names, status, type, linked chains, risk metadata. Requires an admin-scoped Upshift API key.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size. Defaults to 100 (backend max 1000). |
offset | integer | Records to skip. Defaults to 0. |
subaccount_summary subaccount_summary
Full summary for an Upshift subaccount or operator: portfolio, loanbook, tokens, and account values. Needs an Upshift API key authorized for the subaccount (its owner, or an admin key); works with no key when the subaccount is linked to a vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
subaccount_health_factor subaccount_health_factor
Health factor for an Upshift subaccount — collateral value, loan value, and the ratio. Needs an Upshift API key authorized for the subaccount (its owner, or an admin key); works with no key when the subaccount is linked to a vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
subaccount_loans subaccount_loans
Loan positions for an Upshift subaccount, filterable by side and active state. Needs an Upshift API key authorized for the subaccount (its owner, or an admin key); works with no key when the subaccount is linked to a vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
active | boolean | Only active loans when true (default). All loans when false. |
limit | integer | Truncate list-shaped results to the first N entries. |
side | string | Loan side filter. Defaults to BOTH. |
subaccount_cefi_positions subaccount_cefi_positions
CeFi (centralized-exchange) positions held by an Upshift subaccount. Needs an Upshift API key authorized for the subaccount (its owner, or an admin key); works with no key when the subaccount is linked to a vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
limit | integer | Truncate list-shaped results to the first N entries. |
subaccount_otc_positions subaccount_otc_positions
OTC (over-the-counter) positions held by an Upshift subaccount. Needs an Upshift API key authorized for the subaccount (its owner, or an admin key); works with no key when the subaccount is linked to a vault.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
limit | integer | Truncate list-shaped results to the first N entries. |
subaccount_transactions subaccount_transactions
On-chain transaction history for an Upshift subaccount — decoded logs, transfers, and function names — optionally windowed by an ISO-8601 time range. Requires an Upshift API key authorized for the subaccount.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
end_time | string | ISO-8601 datetime upper bound (inclusive). |
limit | integer | Truncate list-shaped results to the first N entries. |
start_time | string | ISO-8601 datetime lower bound (inclusive). |
subaccount_loan_by_address subaccount_loan_by_address
Full loan-book detail for a single loan by its contract address and chain — principal/interest amounts, APRs, state, borrower/lender, and the next upcoming payment. Requires an admin-scoped Upshift API key.
| Parameter | Type | Description |
|---|---|---|
chain_id * | integer | Numeric Upshift chain id the loan lives on (e.g. 1 = Ethereum mainnet). |
loan_address * | string | The loan contract address. |
subaccount_debank subaccount_debank
Cross-chain DeBank protocol positions and token balances for an Upshift subaccount and its strategies. Slow endpoint (300s server cache) — fans out across every supported chain. Served to anonymous callers today, so no Upshift API key is needed.
| Parameter | Type | Description |
|---|---|---|
address * | string | Subaccount (smart-contract wallet) or operator EOA address. |
dashboard_loans dashboard_loans
Global loan-book aggregate across every active client subaccount — one entry per loan with principal/interest amounts, APRs, state, borrower/lender, and the next upcoming payment. Requires an admin-scoped Upshift API key.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Truncate the list to the first N entries. |
risk_discount_factors risk_discount_factors
Token discount-factor (collateral haircut) ladders the risk engine applies — per whitelisted token, the ascending notional steps and matching haircut factors, with token address and chain. Requires an Upshift API key.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Truncate the list to the first N entries. |
risk_collateral_excess risk_collateral_excess
Excess (positive) or deficit (negative) of one collateral token a subaccount holds relative to a target health factor, in USD and token units. Zeroes when the subaccount has no debt. No Upshift API key required.
| Parameter | Type | Description |
|---|---|---|
subaccount * | string | Subaccount (smart-contract wallet) address. |
token_address * | string | Collateral token address to evaluate. |
token_chain * | integer | Numeric Upshift chain id (e.g. 1 = Ethereum mainnet, 8453 = Base, 42161 = Arbitrum). |
target_health_factor | number | Health factor to solve for. Defaults server-side to 1.2. |
risk_collateral_simulate risk_collateral_simulate
Pure read-only simulation (no state change) of the collateral required to open a hypothetical loan against a chosen basket of collateral tokens. Returns total debt, required collateral, resulting health factor, and a per-token breakdown. No Upshift API key required.
| Parameter | Type | Description |
|---|---|---|
collateral_token_allocation * | array | Per-token weights aligned with collateral_tokens (normalized server-side). |
collateral_tokens * | array | List of [chainId, tokenAddress] collateral pairs. |
loan_amount * | number | Loan principal amount, decimal-adjusted (token units). |
loan_token_address * | string | Loan (principal) token address. |
loan_token_chain * | integer | Numeric Upshift chain id (e.g. 1 = Ethereum mainnet, 8453 = Base, 42161 = Arbitrum). |
loan_redeployed_token_address | string | |
loan_redeployed_token_chain | Numeric Upshift chain id (e.g. 1 = Ethereum mainnet, 8453 = Base, 42161 = Arbitrum). | |
on_platform | boolean | When true the loan is redeployed on-platform; requires loan_redeployed_token_* fields. |
target_health_factor | number | Target health factor. Defaults server-side to 1.2. |
tx_revert_reason tx_revert_reason
Decode why a transaction reverted — error messages, revert strings, and recognized universal-subaccount errors pulled from a debug_traceTransaction call tree. Public (no API key). The target chain's RPC must support debug tracing; unsupported chains surface a clean backend error.
| Parameter | Type | Description |
|---|---|---|
chain * | integer | Numeric Upshift chain id the transaction is on (e.g. 1 = Ethereum mainnet). |
tx_hash * | string | The transaction hash to trace. |
decode_revert_data decode_revert_data
Decode an EVM revert blob (or a full ethers v6 error string) into a named error with arguments — Error(string), Panic(uint256), and custom errors from the OZ/LayerZero/Upshift-vault corpus. Best for estimateGas/eth_call failures where NO transaction hash exists (the transaction never mined); for a mined transaction hash use tx_revert_reason instead. Accepts raw "0x…" revert data or the whole error text an alert carries; unknown selectors are looked up on openchain.xyz/4byte. When the error text has no revert blob but does carry ethers context (action="…", the transaction={…} fields), t…
| Parameter | Type | Description |
|---|---|---|
data * | string | Raw revert data ("0x…") or a full ethers v6 error string containing data="0x…". Truncated input is tolerated. |
chain | integer | Optional chain id, recorded in the result metadata. |
simulate_call simulate_call
Replay a call via eth_call on the target chain and auto-decode the revert. Use this to verify an estimateGas failure (no transaction hash exists) and to recover the FULL revert data when the reported error text was truncated; pass block to replay against historical state (archive RPC required). For a mined transaction hash use tx_revert_reason instead. Requires an RPC for the chain (UPSHIFT_RPC_<chainId> env or config).
| Parameter | Type | Description |
|---|---|---|
chain * | integer | Numeric Upshift chain id (e.g. 1 = Ethereum, 143 = Monad). |
data * | string | Full calldata ("0x…"). |
to * | string | Target contract address. |
block | string | Block tag to execute against: "latest" (default), a decimal block number, or "0x…" hex. |
from | string | Caller address — required whenever the target checks msg.sender (balances, allowances, whitelists). |
read_token_state read_token_state
Read an ERC-20 token's state for a holder: symbol, decimals, balance, optional allowance to a spender, and the issuer compliance flag (isAccountFrozen — Agora AUSD, isBlacklisted — USDC-style, isFrozen). Use this after decoding a token-related revert (insufficient balance/allowance) to distinguish user error from a compliance freeze. Requires an RPC for the chain (UPSHIFT_RPC_<chainId> env or config).
| Parameter | Type | Description |
|---|---|---|
chain * | integer | Numeric Upshift chain id (e.g. 1 = Ethereum, 143 = Monad). |
holder * | string | Account whose balance/compliance state to read. |
token * | string | ERC-20 token contract address. |
spender | string | Optional spender for the allowance probe (e.g. the vault a deposit approves). |
otc_positions_list otc_positions_list
All tracked OTC (over-the-counter) positions — slug, position class, category, discount factor, and free-form configs. Requires an admin-scoped Upshift API key.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Truncate the list to the first N entries. |
otc_margin_requirements otc_margin_requirements
OTC margin requirements — the margin each payer must post to a counterparty. Optionally filter by counterparty id and/or payer. Requires an admin-scoped Upshift API key.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Truncate the list to the first N entries. |
otc_counter_party_id | string | Restrict to a single OTC counterparty (UUID). |
payer | string | Restrict to a single payer address. |
curator_vault_subaccounts curator_vault_subaccounts
Subaccounts linked to a vault (curator surface) — address, internal/friendly names, status, type, linked chains, risk metadata. Requires an Upshift API key that is curator of the vault or an admin.
| Parameter | Type | Description |
|---|---|---|
vault_address * | string | The vault address. |
limit | integer | Truncate the list to the first N entries. |
curator_vault_whitelist curator_vault_whitelist
On-chain whitelist status of every subaccount linked to a vault (curator surface). EVM vaults only — non-EVM vaults surface a clean backend error. Requires an Upshift API key that is curator of the vault or an admin.
| Parameter | Type | Description |
|---|---|---|
vault_address * | string | The vault address. |
limit | integer | Truncate the list to the first N entries. |
timelock_requests_list timelock_requests_list
Timelock (governance) requests for a vault on a chain — action id, params, status, and the schedule/execute/cancel tx hashes. No Upshift API key required.
| Parameter | Type | Description |
|---|---|---|
chain_id * | integer | Numeric Upshift chain id (e.g. 1 = Ethereum mainnet, 8453 = Base, 42161 = Arbitrum). |
vault_address * | string | The vault address. |
limit | integer | Truncate the list to the first N entries. |
status | string | Status filter. Defaults server-side to "scheduled". |
vault_performance_fees vault_performance_fees
Backend-computed performance fees for a vault over a period — water marks, drawdown state, total PnL, and accrued perf fees. Slow first call (20-minute server cache). No Upshift API key required.
| Parameter | Type | Description |
|---|---|---|
vault_address * | string | The vault address. |
annualized_fees_pct | number | Annualized performance-fee percentage. Defaults to 20. |
calculation_period | string | Period preset. Defaults to YearToDate. Ignored when a start/end range is given. |
end_date | string | ISO-8601 range end (must be paired with start_date). |
native_denominated | boolean | Denominate in the vault's native token. Defaults to true. |
start_date | string | ISO-8601 range start (must be paired with end_date). |
vault_oracle_classification vault_oracle_classification
A vault's NAV-oracle classification table — how each position/token is priced (Primary / Secondary Market / CeFi), its USD value, and warnings for unresolved tokens. Public (no API key).
| Parameter | Type | Description |
|---|---|---|
chain_id * | integer | Numeric Upshift chain id (e.g. 1 = Ethereum mainnet, 8453 = Base, 42161 = Arbitrum). |
vault_address * | string | The vault address. |
ops_health ops_health
Operational health sweep: RPC reachability for every configured chain, plus vault-summary availability and redemption-queue health (overdue / insufficient-liquidity flags) for each vault passed. `anomalies` is the count of failing checks.
| Parameter | Type | Description |
|---|---|---|
chainId | integer | Chain id override. Defaults to the active config. |
vaults | array | Vault addresses to health-check. |
ops_redemptions ops_redemptions
Redemption-queue health for one vault — reports pending count, total pending, and flags an overdue queue or insufficient liquidity. `anomalies` is the number of flags raised.
| Parameter | Type | Description |
|---|---|---|
address * | string | EVM (0x…) or Solana vault address. |
chainId | integer | Chain id override. Defaults to the active config. |
layerzero_deposits layerzero_deposits
Cross-chain (LayerZero) deposit events for a LayerZero-enabled receipt token, from its dedicated subgraph. Optionally filter to one wallet.
| Parameter | Type | Description |
|---|---|---|
receiptToken * | string | LayerZero receipt token to query. |
limit | integer | Truncate the returned event list to the first N entries. |
wallet | string | Optional wallet address to filter events by. |
layerzero_redeems layerzero_redeems
Cross-chain (LayerZero) redeem events for the earnAUSD vault, from its dedicated subgraph. Optionally filter to one wallet.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Truncate the returned event list to the first N entries. |
wallet | string | Optional wallet address to filter events by. |
docs_search docs_search
Search Upshift documentation by keyword and return the full content of the most relevant pages. Use this to answer questions about protocol mechanics, vault architecture, deposit/withdrawal flows, points and rewards, SDK integration, API endpoints, fees, risks, audits, and product features. Covers docs.upshift.finance. (docs.augustdigital.io is deprecated and no longer indexed.) Use docs_list to browse all available pages, or docs_fetch for a specific known path.
| Parameter | Type | Description |
|---|---|---|
query * | string | What you want to learn about, e.g. "how deposits work", "solana vault architecture", "RWA Clear fees", "api authentication". |
limit | integer | Number of pages to fetch and return (default 2, max 3). |
site | string | "upshift" or "all" (default) search docs.upshift.finance. "august" is deprecated and is treated as "upshift". |
docs_fetch docs_fetch
Fetch a page from the Upshift documentation and return its content as markdown. Use this before answering questions about protocol mechanics, vault behaviour, points/rewards, integration guides, or product features. Fetches from docs.upshift.finance by default. "august" (docs.augustdigital.io) is deprecated and no longer updated; its content is returned with a deprecation note. Start with path "/" to get the root page and discover available sections. Use docs_list to see all available paths, or docs_search to find pages by keyword.
| Parameter | Type | Description |
|---|---|---|
path * | string | URL path without the hostname, e.g. "/" (root), "vault-architecture/vault-accounting-mechanics". Use docs_list to discover valid paths. |
site | string | "upshift" (default) for docs.upshift.finance. "august" is deprecated: docs.augustdigital.io is no longer updated. |
docs_list docs_list
Return the full index of documentation pages for docs.upshift.finance without fetching any page content. Use this to discover available paths before calling docs_fetch, or to understand the documentation structure. Combine with docs_search to find and retrieve content.
| Parameter | Type | Description |
|---|---|---|
site | string | Which site(s) to list. Default "all". "august" is deprecated and is treated as "upshift". |
github_list_repos github_list_repos
List repositories in the Upshift GitHub organizations (fractal-protocol and/or upshift-protocol).
| Parameter | Type | Description |
|---|---|---|
org | string | GitHub org — fractal-protocol or upshift-protocol. Omit to query both. |
page | integer | Page number. |
perPage | integer | Results per page (default 30, max 100). |
sort | string | Sort field (default: updated). |
github_get_file github_get_file
Retrieve the decoded text content of a file from a repository. Useful for reading source files, configs, and documentation.
| Parameter | Type | Description |
|---|---|---|
owner * | string | GitHub org that owns the repository. |
path * | string | File path within the repo (e.g. "src/index.ts"). |
repo * | string | Repository name without the org prefix. |
ref | string | Branch, tag, or commit SHA. Defaults to the repository default branch. |
github_search_code github_search_code
Search code across Upshift GitHub repositories using GitHub search syntax (e.g. "useVault language:typescript"). Results are automatically scoped to the Upshift orgs.
| Parameter | Type | Description |
|---|---|---|
query * | string | GitHub code search query. Org scope is added automatically. |
org | string | GitHub org — fractal-protocol or upshift-protocol. Omit to query both. |
page | integer | |
perPage | integer | Results per page (max 30 for code search). |
github_list_prs github_list_prs
List pull requests for a repository, sorted by most recently updated.
| Parameter | Type | Description |
|---|---|---|
owner * | string | GitHub org that owns the repository. |
repo * | string | Repository name without the org prefix. |
page | integer | |
perPage | integer | |
state | string | Filter by PR state (default: open). |
github_get_pr github_get_pr
Get full details and unified diff for a pull request.
| Parameter | Type | Description |
|---|---|---|
number * | integer | Pull request number. |
owner * | string | GitHub org that owns the repository. |
repo * | string | Repository name without the org prefix. |
github_list_issues github_list_issues
List issues for a repository (pull requests are excluded), sorted by most recently updated.
| Parameter | Type | Description |
|---|---|---|
owner * | string | GitHub org that owns the repository. |
repo * | string | Repository name without the org prefix. |
labels | string | Comma-separated label names to filter by. |
page | integer | |
perPage | integer | |
state | string | Filter by issue state (default: open). |
jira_create_ticket jira_create_ticket
Create a Jira issue. Requires an active Upshift session and Jira credentials configured via JIRA_BASE_URL / JIRA_USER_EMAIL / JIRA_API_TOKEN / JIRA_PROJECT_KEY. Use when a user reports a bug, unexpected behavior, or a reproducible error in the Upshift platform.
| Parameter | Type | Description |
|---|---|---|
description * | string | Full description. Include steps to reproduce, expected vs actual behavior, and any error messages. Plain text — will be wrapped in an ADF paragraph node. |
summary * | string | One-line ticket title. |
issueType | string | Issue type. |
labels | array | e.g. ["slack-reported", "solana"] |
priority | string | Issue priority. |
projectKey | string | Override the default JIRA_PROJECT_KEY for this ticket. |
jira_list_projects jira_list_projects
List Jira projects accessible to the configured service account. Use to confirm the correct projectKey before creating a ticket.