Squads MCP MCP Server

$npm install squads-mcp
README.md

Secure Multisig Management for Solana blockchain via MCP

Squads MCP: Secure Multisig Management for Solana

Squads MCP

A secure Model Context Protocol (MCP) implementation for Squads multisig management on Solana blockchain. This toolkit prioritizes security at every step while enabling LLMs to safely interact with multisig accounts.

šŸ” Security-First Design

Squads MCP implements multiple security layers to protect your assets and multisig operations:

  • Local Private Key Storage: Keys never leave your device, unlike web wallets or browser extensions
  • Permission Separation: Distinct INITIATE, EXECUTE, and VOTE roles prevent single-point compromise
  • Time Lock Support: Configure mandatory waiting periods before sensitive transactions execute
  • Comprehensive Security Auditing: Built-in AUDIT_MULTISIG_SECURITY tool scores your configuration
  • Security-Focused Schemas: Every tool includes explicit security warnings and verification steps
  • Threshold Recommendations: Smart defaults for different multisig types (Reserve, Operations, etc.)
  • Secure Connection Management: Easily switch between networks for testing and production

šŸ“‹ Features

Multisig Management

  • Create new multisig accounts with customizable permissions
  • Import existing multisig accounts
  • Audit multisig security with detailed recommendations
  • Configure thresholds, permissions, and time locks

Transaction Handling

  • Create and manage proposals
  • Vote on proposals (approve/reject)
  • Execute approved transactions
  • Cancel pending proposals

Asset Management

  • View SOL and token balances in vaults
  • Transfer SOL from vaults
  • Fund vaults

šŸ›”ļø Security Best Practices

The implementation promotes Squads security best practices:

  1. Separation of Duties:

    • Keep INITIATE and EXECUTE roles separate
    • Avoid giving ALL permissions to any member
  2. Proper Thresholds:

    • For Reserve multisigs: 6+ members, 4+ threshold
    • For Program Upgrade multisigs: 6+ members, 4+ threshold
    • For Operations multisigs: 3+ members, 2+ threshold
  3. Time Locks:

    • Reserve: 3600+ seconds (1 hour)
    • Program Upgrade: 600+ seconds (10 minutes)
    • Operations: 300+ seconds (5 minutes)

šŸ”§ How It Works

This project leverages the Model Context Protocol (MCP) to enable secure interaction between LLMs and Squads multisig functionality. MCP provides a standardized way for AI models to use external tools while maintaining security and context.

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│   LLM   │<-->│ MCP Protocol │<-->│ Squads MCP │<-->│ Solana │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

šŸš€ Getting Started

Prerequisites

  • Node.js v16+
  • Solana CLI tools (optional)
  • A Solana wallet (preferably a hardware wallet for production use)

Installation

Option 1: From NPM (Recommended)
# Using npm
npm install squads-mcp

# Using yarn
yarn add squads-mcp

# Using pnpm
pnpm add squads-mcp
Option 2: From Source
git clone https://github.com/dorkydhruv/squads-mcp.git
cd squads-mcp
pnpm install
pnpm build

Configuration for `claude_desktop_config.json`

{
  "mcpServers": {
    "squads-mcp": {
      "command": "node",
      "args": [
        "node_modules/squads-mcp/dist/index.js" // If installed from npm
        // OR use "/ABSOLUTE/PATH/TO/YOUR/MCP/PROJECT/FILE" if built from source
      ]
    }
  }
}

šŸ“š Available Tools

Configuration Tools

  • CONNECTION_UPDATE: Set Solana connection
  • SHOW_CONFIG: Display current configuration

Squads Multisig Tools

  • CREATE_SQUADS_MULTISIG: Create a new multisig
  • IMPORT_SQUADS_MULTISIG: Import existing multisig
  • GET_MULTISIG_ACCOUNT: View multisig details
  • AUDIT_MULTISIG_SECURITY: Security audit with recommendations

Proposal Management

  • CREATE_PROPOSAL: Create a new proposal
  • APPROVE_PROPOSAL: Vote to approve a proposal
  • REJECT_PROPOSAL: Vote to reject a proposal
  • CANCEL_PROPOSAL: Cancel a pending proposal
  • GET_PROPOSAL: View a specific proposal
  • GET_PROPOSALS: List all proposals

Transaction Execution

  • EXECUTE_CONFIG_TRANSACTION: Execute configuration changes
  • EXECUTE_VAULT_TRANSACTION: Execute vault transactions

Asset Management

  • GET_ASSETS: View assets in a multisig vault
  • FUND_VAULT: Send SOL to a vault
  • TRANSFER_SOL_FROM_VAULT: Send SOL from a vault

šŸ› ļø Security Audit Tool: Technical Deep Dive

The AUDIT_MULTISIG_SECURITY tool provides enterprise-grade security analysis of Squads multisig configurations:

Technical Implementation

  • Quantitative Security Scoring: Implements a

Tools (17)

CONNECTION_UPDATESet Solana connection settings.
SHOW_CONFIGDisplay current configuration.
CREATE_SQUADS_MULTISIGCreate a new multisig account with customizable permissions.
IMPORT_SQUADS_MULTISIGImport an existing multisig account.
GET_MULTISIG_ACCOUNTView multisig details.
AUDIT_MULTISIG_SECURITYSecurity audit with detailed recommendations and quantitative scoring.
CREATE_PROPOSALCreate a new proposal for the multisig.
APPROVE_PROPOSALVote to approve a specific proposal.
REJECT_PROPOSALVote to reject a specific proposal.
CANCEL_PROPOSALCancel a pending proposal.
GET_PROPOSALView details of a specific proposal.
GET_PROPOSALSList all proposals for the multisig.
EXECUTE_CONFIG_TRANSACTIONExecute configuration changes on the multisig.
EXECUTE_VAULT_TRANSACTIONExecute transactions from the multisig vault.
GET_ASSETSView SOL and token balances in a multisig vault.
FUND_VAULTSend SOL to a multisig vault.
TRANSFER_SOL_FROM_VAULTSend SOL from a multisig vault to another address.

Configuration

claude_desktop_config.json
{"mcpServers": {"squads-mcp": {"command": "node", "args": ["node_modules/squads-mcp/dist/index.js"]}}}

Try it

→Audit the security of my current Squads multisig configuration.
→Create a new proposal to transfer 5 SOL from the vault to address [ADDRESS].
→List all pending proposals and show me the details for proposal #12.
→Approve the pending transaction to update the multisig threshold.
→Check the current SOL and token balances in my multisig vault.

Frequently Asked Questions

What are the key features of Squads MCP?

Local private key storage ensuring keys never leave the device.. Comprehensive security auditing tool with quantitative scoring.. Full proposal lifecycle management including creation, voting, and execution.. Asset management for viewing balances and transferring SOL from vaults.. Support for time locks and permission separation (Initiate, Execute, Vote)..

What can I use Squads MCP for?

DAOs managing treasury assets securely through an LLM interface.. Developers performing security audits on their multisig configurations.. Teams managing program upgrades on Solana with mandatory time locks.. Automating multisig proposal creation and voting workflows.. Securely monitoring and funding operational multisig vaults..

How do I install Squads MCP?

Install Squads MCP by running: npm install squads-mcp

What MCP clients work with Squads MCP?

Squads MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Squads MCP with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free