
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@zktx.io/sui-mcp
Advanced tools
Sui MCP is a local-first toolkit for helping AI applications and users inspect Sui DeFi actions before execution.
Sui MCP is a local-first Sui review and evidence layer for AI clients.
It turns a supported Sui action into an internal Review card where you inspect verified transaction facts and a PTB graph, then request approval in your own wallet. The backend builds or verifies the material, binds the reviewed account and digest, and uses WalletConnect for a sign-only request. It verifies the wallet's returned bytes and signature before one submission to Sui mainnet.
The AI and card never receive executable transaction bytes or signatures. Neither a review nor a wallet connection is standing transaction permission. Only an explicit user action and that transaction's wallet approval authorize the request. Lost replies are resolved by reading the known digest; they do not cause another signing or submission request. Request failures and unknown outcomes are separate from independently observed chain success/failure.
Account, Receipt and Chart cards provide read-only evidence independently of signing. Connect, Disconnect, Review and Settings also run inside the MCP host. Settings provides local data controls and explicit connection-service recovery. Human-readable review is not a guarantee of safety or of complete interpretation of every transaction detail; the raw PTB structure and addresses remain inspectable.
Users can ask ordinary questions:
Install once with npm, then register the command in each AI app. You need Node.js 22 or newer, including npm. No Git checkout, build, custom installation folder, database server, Sui API key or endpoint setup is required for the normal path.
Already used an earlier release? Follow Updating an Existing Sui MCP Installation first. New installations can continue below.
This guide describes 0.8.2. First confirm it is published, then install that exact version:
npm view @zktx.io/sui-mcp@0.8.2 version
npm install -g @zktx.io/sui-mcp@0.8.2
The first command must return 0.8.2. If it is unavailable, follow the version availability guidance; do not drop the version and assume an older release matches this guide. Contributors can use the optional developer checkout.
Register the installed command in your app. This is the complete default configuration for Claude Desktop; Cursor's example is in the setup guide:
{
"mcpServers": {
"sui-mcp": {
"command": "sui-mcp"
}
}
}
Codex uses TOML in ~/.codex/config.toml instead:
[mcp_servers.sui-mcp]
command = "sui-mcp"
Keep existing settings and other servers when adding these entries. Choose your app's walkthrough for the file location, registration and startup confirmation:
After the app loads the registration, ask: "Use Sui MCP to show its package name, server name, version and network." Expect @zktx.io/sui-mcp, sui-mcp, 0.8.2 and mainnet. Then ask: "Use Sui MCP to list the available DeepBook pools on Sui mainnet." This first read needs no wallet or transaction. The first-use tutorial explains expected results, optional cards and wallet connection. If the app cannot find sui-mcp, use Command not found.
Codex, Claude Desktop and other local MCP apps can use the same installation at the same time on one computer under the same OS user. Register sui-mcp in each app. With defaults, they share the local backend, settings, records and one current wallet connection; no separate wallet pairing per app is needed. Changing that connection in one app affects the others, while completed cards keep their original results.
All apps must use the same package release and configuration. Updates require stopping all participating Sui MCP connections before restarting the shared backend. See Using Multiple Apps for sharing and update conditions. Interactive wallet, Review and Settings workflows require MCP Apps card support; ordinary reads can be used without it.
The npm package is @zktx.io/sui-mcp, and its repository is
zktx-mcp/sui-mcp. Confirm the requested version is available before changing
your client registration.
Use the full scoped package name: the unscoped sui-mcp package is a different
project. Use sui-mcp as the default MCP registration name. A client-defined registration
alias is a local label, not server identity or authorization. This is a
pre-release: local data formats can change, and migration is not provided.
Compatible updates preserve the current data directory. Incompatible databases
and backups are rejected without conversion or automatic deletion. If startup
reports a database format mismatch, follow the recovery instructions.
You can retain the old files and use a new empty data directory, or explicitly
choose to discard the old local data and settings and start fresh with defaults.
Data from a different package is not discovered or imported. See the
setup guide for installation
and shared-server restart instructions.
DeepBook provides the current scoped Sui conversion, price, and orderbook evidence through the shared protocol adapter contracts. Wallet and Sui balance reads describe held assets. They do not define the whole product.
Sui MCP does not custody funds, hold private keys, or autonomously trade on behalf of users. By current design, it does not rank venues, choose routes, make best-price recommendations, or silently choose settlement tokens for users.
Account-bound transaction building, signing requests and chain observation stay in the local backend. The Review card displays evidence and current permitted actions. Public review JSON, model-facing card data and backups never contain transaction bytes, signatures, SDK keys or signing permission. Reopening a card reads its stored state and never replays a financial request.
The current release flow is:
The user states an intent in natural language.
Sui MCP resolves the supported Sui mainnet evidence surface.
The AI answers only from returned evidence and boundaries.
Supported swap transaction material build is an account-bound review step, not
part of the natural-language intent evidence answer.
The current release implements intent evidence for supported Sui mainnet reads. It can also create a read-only, non-signable local review session from a structured external payment or Sui action proposal. External proposal ingestion does not trust external transaction material or send anything for wallet signing.
For setup, see docs/MCP_SETUP.md. For the MCP API reference, see docs/MCP_TOOLS.md. For the AI-client answer playbook, see docs/AGENT_BEHAVIOR.md. For manual maintainer and developer utilities, see docs/UTILITY_INDEX.md.
User-question flows for USD-denominated coverage, balance totals, and shortfall answers live in docs/AGENT_BEHAVIOR.md. The response fields for those answers live in docs/MCP_TOOLS.md.
The current release can run as a local stdio MCP server and expose mainnet Sui DeFi evidence:
It also includes:
127.0.0.1;Wallet connection. One WalletConnect connection provides one fixed address per approved chain. Settings chooses networks for the next connection, defaulting to Sui. The wallet may return a subset. Sui, Ethereum and Solana mainnet addresses are supported; financial actions remain Sui-only. A chain returning multiple addresses is unavailable for that connection; there is no account selector. Changing the wallet, address or network scope requires disconnecting and connecting again. Connect and Disconnect are separate purpose cards. Connect starts one pairing after authenticated View confirmation; Disconnect asks for one exact-target confirmation. Ended cards show a fixed address-free result and accept no further operation. Current addresses are available through read-only connection status. Connection is not transaction approval.
Review and result. The Review card prepares and renews verified conditions for its fixed Sui account and connection. Disconnecting and reconnecting cannot retarget an existing review. A replacement connection requires a new review. Users inspect the graph, amounts and costs, then choose Request wallet approval and approve in their wallet. Failed preparation has an explicit retry. Receipt and completed Review show the executed graph, observed asset changes and net network fee. Details supplements the same facts. Missing graph or receipt data is marked unavailable.
DeepBook USDC chart. ui_open_chart opens an internal MCP Apps card with
official DeepBookV3 Indexer candles and volume for one selected USDC pool.
The saved result shows the selected pair, interval, UTC period and source time. Limited and empty results are identified.
External proposal execution is not implemented. Further local analysis views beyond the internal Account and Chart cards, inline review receipt and internal Receipt card are not implemented. Transaction material review, backend WalletConnect requests under user control, signature verification, single submission and independent receipt observation are implemented for the account-bound DeepBook swap review through a plan-factory registry.
External proposal ingestion is implemented only for read-only local review sessions. It accepts structured proposal facts, rejects forbidden executable or signing fields, recognized Sui private-key strings, valid English BIP39 mnemonic phrases, obvious sensitive markers, and suspicious raw secret-like payloads before storage, and records why the review is non-signable.
A blocked review lacks required evidence for that session. Only a complete
TransactionReviewData binds human-readable facts and simulation to the exact
reviewed digest. This is pre-signing evidence, not authority or guaranteed
execution. The backend checks returned bytes and the selected account's
signature before submitting. See the adapter contract.
Fiat cash-out, P&L, tax, and cost-basis support are not part of the current release.
These are product boundaries and must not be relaxed by ordinary feature work:
These product behaviors are out of scope in the current release by design:
Quote tools such as read_quote_deepbook_action and
read_quote_deepbook_display_amount return scoped quote facts and raw quote
evidence only.
Their semantics mark quote output as price evidence, not payment coverage or shortfall evidence. Coverage and shortfall answers come from read_preview_intent_evidence.responseSummary.
For quote responses alone, these conclusions are unsupported:
Product docs, registry, AI responses, UX copy, and signable actions are mainnet-only.
Unsupported protocol experiments are not product functionality and are not included in the package docs, MCP resources, registry support lists, UX copy, or signable-action lists.
The canonical MCP API reference lives in docs/MCP_TOOLS.md.
The server also exposes read_get_server_status. It returns the package version, evidence policy version, implementedToolsCount, and implemented tool list at runtime.
DeepBook pool-price context is exposed through read_get_deepbook_mid_price. Use docs/MCP_TOOLS.md for the response fields and unsupported conclusions.
Tool names use domain_verb_object. Names identify an operation; its schema, card visibility and permission checks define its authority. action_start_review returns a reviewSessionId and an internal card; it does not request a signature, submit a transaction or return executable transaction bytes.
The server exposes only a subset of repository documents as MCP resources.
Runtime-facing MCP resources currently include:
docs/MCP_SETUP.md;docs/MCP_TOOLS.md;docs/WALLET_CONNECTION.md;docs/AGENT_BEHAVIOR.md;protocols/deepbook-v3.md;protocols/deepbook-margin.md.Protocol resources are explanatory references. Current support is declared by read_get_server_status, read_list_supported_protocols, concrete tool schemas, and concrete tool responses, not by protocol Markdown alone.
Development-only or release-review documents can define contributor rules and checks.
AI client answer behavior must be mirrored in runtime-facing instructions, resources, prompts, schemas, or returned evidence fields before it is treated as product behavior.
README.md: Public entry document: product purpose, current release boundary, setup path, and documentation map.docs/MCP_SETUP.md: Setup guide: installation, MCP client connection, first-use flow, settings, and troubleshooting.docs/MCP_TOOLS.md: API reference: tool contracts, response fields, statuses, follow-up fields, and output boundaries.docs/AGENT_BEHAVIOR.md: Answer playbook: user-question flows, tool selection, and response wording boundaries.docs/WALLET_CONNECTION.md: Wallet connection reference: active read context, private SDK ownership and user-approved transaction requests.protocols/deepbook-v3.md: Protocol reference only; use MCP tool responses and read_list_supported_protocols for current support.protocols/deepbook-margin.md: Protocol reference only; no margin MCP read tools or signable actions are exposed in this release.docs/TRANSACTION_ACTIVITY_LOG.md: transaction activity evidence, storage, scan, and summary boundaries.docs/UTILITY_INDEX.md: manual maintainer and developer utilities. Utility rows are not MCP tools unless they explicitly name an MCP tool, and source-checkout scripts are not packaged product commands.docs/LOCAL_DB_ARCHITECTURE.md: local SQLite storage boundaries for maintainers.docs/SDK_API.md: pinned SDK API notes and source-verification boundaries.docs/SIGNABLE_ADAPTER_CONTRACT.md: wallet-review adapter and PTB visualization contract. It defines the pre-signing review evidence and commitment boundary; wallet signing requires a user card action and approval in the wallet; the backend alone handles bytes.Contributor references live in the source repository and are not installed MCP resources or product commands:
The PTB visualization in the Review card can show human-readable labels in place of raw addresses, with a toggle back to raw addresses. A label is identity display only, not a safety, trust, route-quality, or signing-readiness signal, and only registered addresses are relabeled.
Two pinned, context-aware registries in
src/core/action/contractNameRegistry.ts
drive this:
<address>:: path position — the DeepBook swap
package by its Move Registry (MVR) name @deepbook/core, and the Sui framework
packages by their Move aliases (std, sui, sui_system);Clock,
SuiSystemState, Random, DenyList, CoinRegistry, and the address-based
balance AccumulatorRoot.If you maintain a Sui DeFi protocol that has a registered MVR name and want its package to display that name in the review graph, open a pull request adding your mainnet package address and MVR name to the package registry. Every unregistered address keeps its raw form.
FAQs
Sui MCP is a local-first toolkit for helping AI applications and users inspect Sui DeFi actions before execution.
The npm package @zktx.io/sui-mcp receives a total of 81 weekly downloads. As such, @zktx.io/sui-mcp popularity was classified as not popular.
We found that @zktx.io/sui-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.