Suiware AI Tools and MCP Server (monorepo)

by suiware

16 stars
375 downloads
Not rated
GitHub

About

The Suiware AI Tools and MCP Server is a monorepo providing pluggable tools for the Vercel AI SDK and an MCP server that let AI assistants interact with the Sui blockchain. It is designed for developers building AI applications, such as agents in Claude Desktop, that need…

Details

Author
suiware
GitHub stars
16
Downloads
375
Categories
Other, AI

- Pluggable tools for Vercel AI SDK
- MCP server for use with AI apps (stdio transport)
- Tools: address, balance, transfer, swap, stake, unstake
- Swap tool operates on mainnet only
- Supports Anthropic, OpenAI, and Google models
- Open-source with community contribution option

Install the relevant package (@suiware/ai-tools for Vercel AI SDK tools or @suiware/mcp for the MCP server) and configure the tools using getSuiwareAiTools(). For the MCP server, set up the stdio transport as described in the @suiware/mcp package documentation. Example agent implementations are available for Anthropic, OpenAI, and Google models.

Suiware AI Tools and MCP Server (monorepo)

Pluggable tools for Vercel AI SDK which allow AI assistants to interact with Sui Network and perform various actions, and an MCP server to use within your AI app, like Claude Desktop.

Packages

- @suiware/ai-tools - a collection of pluggable tools for Vercel AI SDK, which allow AI assistants to interact with Sui Network and perform various actions.

- Examples - examples of AI assistants, demonstrating @suiware/ai-tools in action.

- @suiware/mcp - An stdio MCP server with built-in @suiware/ai-tools and API to use in your apps.

Available tools

- suiAddressTool
- suiWalletBalanceTool
- suiTransferTool
- suiSwapTool (mainnet only)
- suiStakeTool
- suiUnstakeTool

To get all available tools, use getSuiwareAiTools().

Check out the @suiware/ai-tools package docs for more details.

Available examples

|Example|Model|Description|
|---|---|---|
|Simple balance tool| Anthropic: claude-3-5-sonnet-latest | Gets Sui wallet balance, no interactivity |
|Interactive agent (text streaming)| Anthropic: claude-3-5-sonnet-latest | Portfolio management agent with all tools enabled |
|Interactive agent (text streaming) | OpenAI: gpt-3.5-turbo | Portfolio management agent with all tools enabled |
|Interactive agent (text generating)| OpenAI: gpt-3.5-turbo | Portfolio management agent with all tools enabled |
|Interactive agent (text generating)| Google: gemini-2.0-flash-001 | Portfolio management agent with all tools enabled |

Check out the examples package docs for more details.

MCP server

Please refer to the MCP package docs @suiware/mcp to see how to use the server.

How to contribute

Learn the simple @suiware/ai-tools package and contribute your own tool by sending a PR to this repository.
It can be an integration with pools, lending protocols, or any other services that can be beneficial for building AI assistants for Sui.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.