SUI MCP Server
Allows interaction with the SUI blockchain, including tools for managing addresses, checking balances, reading objects, calling Move functions, publishing packages, transferring objects, requesting test SUI from faucet, and querying transactions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SUI MCP ServerWhat's my current SUI balance?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SUI MCP Server
A TypeScript MCP server for interacting with the SUI blockchain via CLI.
Network: Testnet (default)
Tools
Tool | Description |
| Get current active SUI address |
| Get SUI balance for an address |
| Get all objects owned by an address |
| Get details of a specific object |
| Call a Move function on a smart contract |
| Publish a Move package |
| Transfer an object to another address |
| Request test SUI from faucet |
| Get current network environment |
| List all addresses in wallet |
| Get transaction details by ID |
| Get gas objects for an address |
Related MCP server: Angular Bootstrap MCP Server
Setup
npm installMake sure SUI CLI is installed:
curl -fsSL https://docs.sui.io/guides/install | shSet up testnet:
sui client new-env --alias testnet --rpc https://fullnode.testnet.sui.io:443
sui client switch --env testnetRunning
npm run build
npm startopencode Integration
Add to your opencode.jsonc:
{
"mcp": {
"sui": {
"type": "local",
"command": ["node", "YOUR_MCP_SERVER_PATH"]
}
}
}Claude
Add to your .mcp.json:
{
"mcpServers": {
"sui": {
"type": "stdio",
"command": "node",
"args": ["YOUR_MCP_SERVER_PATH"]
}
}
}Usage
Call a Move function
sui_call({
package: "YOUR_PACKAGE_ID",
module: "YOUR_MODULE_NAME",
function: "FUNCTION_NAME",
typeArgs: "YOUR_TOKEN_TYPE",
args: "ARG1,ARG2",
gasBudget: "50000000"
})Get objects for an address
sui_objects({ address: "YOUR_ADDRESS" })Get object details
sui_get_object({ objectId: "YOUR_OBJECT_ID" })Publish a package
sui_publish({
packagePath: "YOUR_PACKAGE_PATH",
gasBudget: "100000000"
})Transfer an object
sui_transfer_object({
objectId: "YOUR_OBJECT_ID",
to: "RECIPIENT_ADDRESS",
gasBudget: "50000000"
})Tips
Gas Budget: Default is 0.05 SUI (50000000 MIST). Increase for complex transactions.
Object IDs: Must be in format
0x...(66 chars)Clock Object: Use
0x6for the Clock object on testnetType Arguments: For custom tokens, use the full type:
0xTOKEN_ADDRESS::coin::COIN
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gerasidev/sui-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server