New:Socket for Asana Is Now Available.Learn more
Get Started

@printr/mcp

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@printr/mcp

MCP server library for the Printr API - enables AI agents to launch tokens across EVM chains and Solana

Source
npmnpm
Version
0.14.0
Version published
Weekly downloads
111
52.05%
Maintainers
1
Weekly downloads
 
Created
Source

@printr/mcp

MCP server for Printr — lets AI agents create, discover, and track tokens across chains.

No API key required. Works out of the box.

Setup

Add to your MCP client config (Claude Desktop, Cursor, etc.):

{
    "mcpServers": {
        "printr": {
            "command": "npx",
            "args": ["-y", "@printr/mcp@latest"]
        }
    }
}

Or with bunx:

{
    "mcpServers": {
        "printr": {
            "command": "bunx",
            "args": ["@printr/mcp@latest"]
        }
    }
}

Skills

If your agent runtime supports skills, you can install Printr directly:

npx skills add PrintrFi/printr-mcp

See the skill definition for details.

Optional capabilities

Auto-generate token images

Set OPENROUTER_API_KEY and the agent will generate an image automatically when you create a token without supplying one. The printr_generate_image tool also becomes available for standalone image generation.

"env": {
    "OPENROUTER_API_KEY": "<your-openrouter-key>"
}

Let the agent sign transactions autonomously

By default, token creation returns an unsigned transaction that you sign via browser wallet or by passing a private key per call. If you want the agent to sign and submit without prompting, set a default key:

"env": {
    "EVM_WALLET_PRIVATE_KEY": "<hex-private-key>",
    "SVM_WALLET_PRIVATE_KEY": "<base58-keypair-secret>"
}

Keep private keys out of shared configs. Use environment-level secrets when possible.

Tools

Token Creation

ToolDescription
printr_quoteGet cost estimates for token creation
printr_create_tokenGenerate an unsigned token creation tx payload
printr_launch_tokenCreate and sign a token in one call
printr_get_tokenLook up token details by ID or address
printr_get_deploymentsCheck deployment status across target chains
printr_generate_imageGenerate a token avatar via OpenRouter (requires OPENROUTER_API_KEY)

Signing

ToolDescription
printr_sign_and_submit_evmSign and submit an EVM tx payload
printr_sign_and_submit_svmSign and submit a Solana tx payload
printr_open_web_signerStart a browser signing session (MetaMask / Phantom)

Wallet Management

ToolDescription
printr_wallet_newGenerate a new encrypted wallet
printr_wallet_importImport an existing private key
printr_wallet_unlockActivate a stored wallet for signing
printr_wallet_listList wallets in keystore (keys hidden)
printr_wallet_removeRemove a wallet from keystore
printr_wallet_bulk_removeRemove multiple wallets from keystore

Treasury & Deployment Wallets

ToolDescription
printr_set_treasury_walletUnlock treasury wallet for funding deployments
printr_fund_deployment_walletCreate and fund an ephemeral deployment wallet
printr_drain_deployment_walletReturn unused funds from deployment wallet to treasury

Balances & Transfers

ToolDescription
printr_get_balanceGet native token balance for an account
printr_get_token_balanceGet ERC-20/SPL token balance
printr_transferSend native tokens to an address

Fees

ToolDescription
printr_get_creator_feesCheck claimable creator fees for a token
printr_claim_feesClaim accumulated creator fees

Staking

ToolDescription
printr_get_staking_positionsGet staking positions with claimable rewards
printr_claim_staking_rewardsClaim rewards from a stake position (or withdraw if unlocked)

Utility

ToolDescription
printr_supported_chainsList all supported chains with CAIP-2 IDs

Environment variables

VariableDescription
PRINTR_API_KEYPartner API key. Falls back to the default public AI-integration key.
OPENROUTER_API_KEYEnables auto image generation and the printr_generate_image tool
OPENROUTER_IMAGE_MODELImage model override (default: google/gemini-2.5-flash-image)
EVM_WALLET_PRIVATE_KEYDefault EVM private key for autonomous signing
SVM_WALLET_PRIVATE_KEYDefault Solana keypair secret for autonomous signing
PRINTR_DEPLOYMENT_PASSWORDMaster password for encrypting deployment wallets (min 16 chars). Required for printr_fund_deployment_wallet. Generate with: openssl rand -base64 32

Logging

VariableDescription
LOG_LEVELLog level: trace, debug, info, warn, error, fatal (default: info)
LOG_FORMATLog format: json for structured logs, pretty for development (default: json)

Dev / self-hosting

VariableDescription
PRINTR_API_BASE_URLOverride API base URL (default: https://api-preview.printr.money)
PRINTR_APP_URLOverride app URL (default: https://app.printr.money)

Development

This is a monorepo with three packages:

  • @printr/sdk — Core TypeScript SDK (framework-agnostic)
  • @printr/mcp — MCP server wrapping the SDK
  • @printr/cli — CLI for setup and configuration
bun install
bun dev          # Run MCP server with hot reload
bun test         # Run all tests
bun run check    # typecheck + lint + test

Package-specific commands

# SDK
bun run --cwd packages/sdk test
bun run --cwd packages/sdk build

# MCP
bun run --cwd packages/mcp test
bun run --cwd packages/mcp build

Using the SDK directly

import { createPrintrClient, buildToken } from '@printr/sdk';

const client = createPrintrClient({
  apiKey: process.env.PRINTR_API_KEY,
});

const result = await buildToken({
  creator_accounts: ['eip155:8453:0x...'],
  name: 'My Token',
  symbol: 'TKN',
  description: 'A cool token',
  chains: ['eip155:8453'],
  initial_buy: { spend_usd: 10 },
}, client);

Keywords

printr

FAQs

Package last updated on 21 Apr 2026

Related posts