Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

assetCLI-init

MCP.Pizza Chef: assetCLI

assetCLI-init is a powerful MCP server enabling AI agents to manage DAO governance, multisig wallets, treasury funding, bonding curve token launches, and decentralized exchange (DEX) integrations. It automates the entire lifecycle of decentralized autonomous organizations (DAOs) with features like proposal creation and multisig vault management, designed for seamless AI-assisted decentralized finance workflows. Recognized as the winner of the Solana MCP AI Agent Competition, assetCLI-init is tailored for advanced blockchain governance and financial operations.

Use This MCP server To

Create and manage DAOs with AI-driven governance workflows Automate multisig wallet funding and treasury management Launch tokens using bonding curve economics Create and submit token or SOL transfer proposals Integrate decentralized exchange (DEX) operations into DAO workflows Manage multisig vaults and treasury funding lifecycle Automate DAO proposal creation and voting processes

README

Winner of the Solana MCP AI Agent Competition

Tweet screenshot

assetCLI - Goldman Sachs for AI Agents

running your entire governance, multisig and funding lifecycle (including bonding curves, DEX integrations, etc) through an AI-assisted agent.

assetCLI

We have no token on Pump.fun, daos.fun or any other platform.

๐ŸŒŸ Features

  • DAO Creation: Create standard DAOs or integrated DAOs with Squads multisig support
  • Treasury Management: Fund and manage both DAO treasury and multisig vaults
  • Bonding Curves: Launch tokens with bonding curve economics and automatic DAO creation
  • Proposal Creation: Create SOL or token transfer proposals
  • Voting System: Vote to approve or deny proposals
  • Execution: Execute approved proposals
  • Wallet Management: Import, create, and fund wallets
  • Model Context Protocol (MCP): Natural language interaction with your DAOs

Navigation

CLI Interface

๐Ÿ“‹ Prerequisites

  • Node.js (v16+)
  • Yarn or npm
  • Solana CLI tools (for wallet management)
  • A Solana wallet with SOL for transaction fees

๐Ÿš€ Installation

Clone the repository and install dependencies:

# Clone the repository
git clone https://github.com/assetCLI/assetCLI-init.git
cd assetCLI-init

# Install dependencies
pnpm install

# Build the project
pnpm build

# Link the CLI tool globally (optional)
npm link

โš™๏ธ Configuration

By default, the CLI connects to a local Solana validator. You can change the network:

# Set network to devnet
assetCLI config set-cluster devnet

# Set network to mainnet
assetCLI config set-cluster mainnet

# Set to local validator
assetCLI config set-cluster localhost

๐Ÿ”‘ Wallet Setup

Before using the DAO CLI, you need to set up a wallet:

# Import an existing wallet
assetCLI wallet import ~/.config/solana/id.json

# Create a new wallet
assetCLI wallet create

# Check wallet config
assetCLI wallet show

๐Ÿ“˜ Usage Guide

Creating a DAO
# Create an integrated DAO with Squads multisig
assetCLI dao init --name "My DAO" --threshold 2 --members "pubkey1,pubkey2,pubkey3"

# Create a standard DAO without multisig integration
assetCLI dao init --name "Standard DAO" --threshold 2 --members "pubkey1,pubkey2,pubkey3" --integrated false
Managing Your DAOs
# List all DAOs where you are a member
assetCLI dao list

# Switch to a specific DAO
assetCLI dao use <REALM_ADDRESS>

# Show details about the current active DAO
assetCLI dao show
Funding Your DAO
# Fund with SOL (automatically detects if it's a treasury or multisig vault)
assetCLI dao fund --amount 0.5

# Fund with tokens
assetCLI dao fund-token --mint <TOKEN_MINT_ADDRESS> --amount 100
Creating Proposals
# Create a SOL transfer proposal
assetCLI proposal transfer --amount 0.1 --recipient <RECIPIENT_ADDRESS> --name "Pay Developer" --description "Payment for UI work"

# Create a token transfer proposal
assetCLI proposal transfer --mint <TOKEN_MINT_ADDRESS> --amount 50 --recipient <RECIPIENT_ADDRESS>
Voting and Execution
# List all proposals
assetCLI proposal list

# Vote to approve a proposal
assetCLI proposal vote --proposal <PROPOSAL_ADDRESS>

# Vote to deny a proposal
assetCLI proposal vote --proposal <PROPOSAL_ADDRESS> --deny

# Execute an approved proposal
assetCLI proposal execute --proposal <PROPOSAL_ADDRESS>

๐Ÿช™ Bonding Curve Commands

The CLI includes a powerful bonding curve module for token launches with auto-DAO creation:

# Initialize the bonding curve protocol (done once)
assetCLI bonding-curve init

# Get global bonding curve settings
assetCLI bonding-curve get-global-settings

# Launch a new token with an associated DAO
assetCLI bonding-curve launch-token \
  --name "MyToken" \
  --symbol "MTK" \
  --file "path/to/logo.png" \
  --sol-raise-target 100 \
  --description "My awesome token project" \
  --x-account "myTwitterHandle"

# Buy or sell tokens using the bonding curve
assetCLI bonding-curve swap \
  --mint <TOKEN_MINT_ADDRESS> \
  --direction buy \
  --amount 1.5

# List all tokens available on the bonding curve
assetCLI bonding-curve get-all-tokens

๐Ÿงช Testing the CLI

Automated Tests

The project includes automated tests for both standard and integrated DAO workflows:

# Run all tests
pnpm test

# Run specific test suites
pnpm test:integrated  # For integrated DAO tests
pnpm test:standard    # For standard DAO tests
Testing Environments
Local Validator
# Start a local validator
chmod +x local-dev.sh
./local-dev.sh

# Configure Solana to use localhost
solana config set localhost

# Import your wallet
assetCLI wallet import ~/.config/solana/id.json

# Airdrop SOL to your wallet
solana airdrop 10
Devnet
# Configure Solana to use devnet
solana config set devnet

# Import your wallet
assetCLI wallet import ~/.config/solana/id.json

# Airdrop SOL to your wallet
solana airdrop 2
Complete Testing Workflow

Here's a step-by-step workflow to test all major features:

  1. Initial setup:

    assetCLI wallet import ~/.config/solana/dev-wallet.json
    assetCLI wallet balance
  2. Create a DAO:

    assetCLI dao init --name "Test DAO" --threshold 1
  3. Fund the DAO:

    assetCLI dao fund --amount 0.5
  4. Create a proposal:

    assetCLI proposal transfer --amount 0.1 --recipient <ADDRESS>
  5. Vote on the proposal:

    assetCLI proposal vote --proposal <PROPOSAL_ADDRESS>
  6. Verify the transfer:

    solana balance -u <RECIPIENT_ADDRESS>

Model Context Protocol (MCP) Interface

This tool also features a powerful Model Context Protocol (MCP) interface that allows users to interact with DAOs using natural language commands through compatible AI clients like Claude Desktop.

Setting Up the MCP Interface

Prerequisites

Configuration

Setting up Claude Desktop MCP server
  1. Change the Claude Desktop MCP server settings:

For MacOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

For Windows:

code $env:AppData\Claude\claude_desktop_config.json

The final configuration should look like the following :

{
  "mcpServers": {
    "assetCLI": {
      "command": "node",
      "args": ["$(pwd)/dist/mcp-server.js"]
    }
  }
}

Using Natural Language Commands

The MCP interface supports natural language commands. Here are examples of what you can ask:

Configuration and Setup
Set my cluster to devnet
Import my wallet from ~/.config/solana/id.json
Show me my wallet information
What's the current configuration?
Creating and Managing DAOs
Create a new integrated DAO called "Community Fund" with 3 members and a threshold of 2
Create a standard DAO named "Charity DAO" with these members: [pubkey1, pubkey2] and a threshold of 1
Show me all the DAOs I'm a member of
I want to use the DAO with address abc123...
Tell me about my current DAO
Funding Operations
Fund my DAO treasury with 0.5 SOL
Send 100 tokens to my multisig vault from the mint address xyz789...
What's the balance of my DAO treasury?
Proposal Operations
Create a proposal to send 0.1 SOL to address abc123... with title "Web Development Fee"
Make a token transfer proposal to send 50 USDC to our developer
Show me all active proposals for my DAO
I want to vote yes on proposal abc123...
Vote against the proposal xyz789...
Execute the approved proposal abc123...
Bonding Curve Operations
Get global bonding curve settings
Launch a new token called "Community Token" with symbol "CMT" on the bonding curve
Get information about the bonding curve for mint address xyz789...
Buy 2 SOL worth of tokens from the bonding curve at mint address xyz789...
Sell 100 tokens back to the bonding curve
Show me all tokens available on bonding curves
Get my token holdings
Utility Operations
Get the balance of address abc123...
Look up transaction signature xyz789...
What happened in transaction abc123...?

MCP Documentation Resources

Access detailed documentation through the MCP interface:

GET assetCLI://docs/readme
GET assetCLI://docs/dao-guide
GET assetCLI://docs/proposal-guide
GET assetCLI://docs/wallet-guide
GET assetCLI://docs/bonding-curve-guide

Demo

Watch the assetCLI in action with MCP-powered natural language commands
assetCLI Demo Video

Follow us on YouTube for more demos and tutorials


๐Ÿ—๏ธ Project Structure

assetCLI-init/
โ”œโ”€โ”€ programs/
โ”‚   โ””โ”€โ”€ bonding-curve/        # Solana program for bonding curves
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ commands/             # CLI command implementations
โ”‚   โ”œโ”€โ”€ mcp/                  # MCP tools and resources
โ”‚   โ”œโ”€โ”€ services/             # Core business logic
โ”‚   โ”‚   โ”œโ”€โ”€ bonding-curve-service.ts  # Bonding curve implementation
โ”‚   โ”‚   โ”œโ”€โ”€ governance-service.ts     # DAO management
โ”‚   โ”‚   โ””โ”€โ”€ multisig-service.ts       # Multisig implementation
โ”‚   โ”œโ”€โ”€ utils/                # Utility functions
โ”‚   โ”œโ”€โ”€ types/                # TypeScript type definitions
โ”‚   โ”œโ”€โ”€ debug/                # Debug scripts for testing
โ”‚   โ”œโ”€โ”€ mcp-server.ts         # MCP server implementation
โ”‚   โ””โ”€โ”€ index.ts              # Entry point
โ”œโ”€โ”€ tests/                    # Test files
โ”œโ”€โ”€ dist/                     # Compiled output
โ””โ”€โ”€ docs/                     # Documentation

๐Ÿงฉ Architecture

The application integrates multiple key components:

  1. SPL Governance: For DAO creation, proposal management, and voting
  2. Squads Multisig: For multi-signature transaction approval
  3. Bonding Curve: For token launches with automatic liquidity and price discovery
  4. Model Context Protocol (MCP): For AI-assisted interactions and operations

For integrated DAOs, the tool creates a governance structure where proposals can control a multisig vault, enabling more complex treasury management with the security of multisig approvals.

The bonding curve system allows for launching tokens with built-in liquidity mechanisms and automatic DAO creation for community governance.

The MCP integration provides:

  • Natural language processing for intuitive interactions
  • Documentation and help resources
  • AI-assisted operation suggestions

๐Ÿ› ๏ธ Development

To set up a development environment:

# Clone the repository
git clone https://github.com/assetCLI/assetCLI-init.git
cd assetCLI-init

# Install dependencies
pnpm install

# Run CLI in development mode
pnpm dev

# Build the project
pnpm build

๐Ÿ” Troubleshooting

  • Insufficient funds errors: Ensure your wallet has enough SOL
  • Transaction errors: Verify that you're using correct account addresses
  • "Account not found" errors: The blockchain might be congested; try again
  • Proposal execution failures: Make sure the proposal has been approved
  • MCP connection issues: Verify the MCP server is running and accessible
  • Natural language parsing errors: Try using more specific language or make your request more explicit
  • Bonding curve errors: Check that you've initialized the bonding curve protocol
  • Invalid start time errors: The bonding curve requires a start time in the future

๐Ÿ“Š Telemetry

This tool collects anonymous telemetry data to help improve future development. Here's what you should know:

What We Collect

  • First-use event only: We only send telemetry once, on the first time you run the CLI
  • Platform information: Basic details about your operating system (platform, release, architecture)
  • Anonymous client ID: A hashed identifier generated from your system information and a random salt

What We Don't Collect

  • Personal information: No personal data, wallet addresses, or keys
  • Command usage: No commands or queries you run are tracked
  • DAO information: No data about your DAOs or proposals

How It's Stored

  • A configuration file at ~/.config/asset-cli/machine_salt.json contains a random salt
  • A telemetry flag file at ~/.config/asset-cli/ga_telemetry_flag.json tracks whether telemetry has already been sent

Opting Out

You can disable telemetry completely by using the --noga flag:

# Disable telemetry permanently
assetCLI --noga <command>

Once you use the --noga flag, your preference will be saved and no telemetry will ever be sent, even on future runs.

๐Ÿงน Cleanup

To reset your local configuration:

rm -rf ~/.config/asset-cli

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


assetCLI-init FAQ

How does assetCLI-init handle DAO creation?
It supports creating standard DAOs and integrated DAOs with Squads multisig support, automating governance setup.
Can assetCLI-init manage treasury and multisig vaults?
Yes, it funds and manages DAO treasuries and multisig vaults efficiently.
What are bonding curves in assetCLI-init?
Bonding curves allow launching tokens with dynamic pricing and automatic DAO creation.
Does assetCLI-init support proposal creation?
Yes, it enables creating proposals for SOL or token transfers within DAOs.
Is assetCLI-init compatible with multiple blockchain protocols?
While focused on Solana, it can be extended to other blockchains with MCP integration.
How does assetCLI-init integrate with AI agents?
It exposes governance and treasury functions as MCP server endpoints for AI-driven workflows.
What recognition has assetCLI-init received?
It won the Solana MCP AI Agent Competition, highlighting its innovation in AI and blockchain integration.
Can assetCLI-init be used for decentralized exchange (DEX) operations?
Yes, it supports DEX integrations as part of DAO financial management.