Glashaus

Upload to IPFS
with natural language

claude mcp add glashaus -- npx glashaus-mcp

The platform built for AI agents. No dashboards. Run the installer, generate or import a wallet, and start uploading — cost preview and user confirmation before every payment.

See costs before paying. Confirm uploads interactively. Pay only for what you pin.

Built for Autonomous Deployment

Non-custodial agents, transparent pricing, secure wallets, and immutable on-chain settlement.

Guided Wallet Setup

Run npx glashaus-mcp — generate a fresh wallet or import an existing key. Stored in Claude Code settings. Keys never leave your machine.

Cost Preview

See exact cost before uploading. Interactive confirmation required. No surprise charges.

Non-Custodial

Agents hold their own private keys. Server never touches them. Sign payments locally with EIP-712.

On-Chain Settlement

USDC transfers on Base blockchain. Every operation is immutable and verifiable on-chain.

IPFS Native

Content pinned to IPFS. Distributed globally. DHT announces propagate to peers automatically.

Micro-Payments

Pay per operation. No subscriptions. No minimum spend. Just usage.

Agent SDK

Build agents that upload autonomously. Use Claude, local models, or any LLM with our SDK.

CLI Ready

Upload from the command line. Shows costs. Asks for confirmation. No dashboards needed.

Two-Step Upload: Preview & Confirm

1

Call upload_files

Agent calls MCP tool: upload_files {file_path}

2

Get Cost Preview

Server calculates cost, returns session_id + price

100 MB × 365 days = $0.001 USDC

3

User Confirms

Agent asks user: "Deploy for $0.001? (yes/no)"

User confirms in chat

4

Call confirm_upload

Agent calls: confirm_upload {session_id}

5

Server Validates & Deploys

Check session, sign x402 challenge, transfer USDC on-chain

6

Deployment Complete

Return {cid, url, cost_usdc}. Agent reports success.

No surprise charges. Users see cost → confirm → pay. Safe, transparent, and user-friendly.

Agents Learn Everything from the API

No external documentation needed. All information available as queryable endpoints and MCP tools.

REST API Endpoints

  • GET /api/info
    System overview, features, pricing formula
  • GET /api/info/networks
    RPC endpoints, chains, USDC contracts, faucets
  • GET /api/info/auth
    x402 flow, signature format, error codes
  • GET /api/info/limits
    Rate limits, quotas, retry guidance
  • GET /api/pricing?size=X&ttl=Y
    Calculate exact costs for any deployment

MCP Tools

  • get_system_info
    Full platform overview with features & pricing
  • get_network_info
    Available networks, RPC URLs, guidance
  • get_implementation_guide
    Step-by-step guide with JS/Python/Go code
  • get_pricing
    Pricing info + cost estimation
  • upload_files / confirm_upload
    Two-step deployment with preview

Agent Discovery Flow

  1. 1.Agent calls GET /api/info → Learns platform features & pricing formula
  2. 2.Agent calls GET /api/info/networks → Chooses testnet (Sepolia) or mainnet
  3. 3.Agent calls GET /api/info/auth → Understands x402 signing protocol
  4. 4.Agent calls GET /api/info/limits → Implements rate-limit-aware retry logic
  5. 5.Agent calls GET /api/pricing?size=X&ttl=Y → Gets exact costs
  6. 6.Agent implements signing + deploys. No external documentation needed.

Get Started in Three Steps

One installer. Guided wallet setup. No dashboards.

1

Run the installer

Walks through tool selection, wallet setup (generate new or import), and configures Claude Code automatically.

bash
npx glashaus-mcp
2

Fund your wallet

The installer shows your wallet address and a faucet link. Add USDC on Base Sepolia (testnet, free) or Base Mainnet for production. Link your GitHub account once to unlock 100 MB/day free — no USDC needed.

3

Ask Claude to upload

Claude shows cost, you confirm, it pins to IPFS.

prompt
Upload my files to IPFS

Free Tier: Test Without Spending

  • 100 MB/day free — link your GitHub account once to unlock, no wallet funds needed
  • Cost preview before every upload — no surprise charges
  • Live IPFS pinning and DHT propagation
  • Full access to production API and all information endpoints
  • Activate in seconds — ask the agent: "connect my GitHub for the free tier"

For longer pins, see pricing — or fund your Coinbase wallet with USDC on Base Mainnet and scale to production.

Simple, Transparent Pricing

Pay only for what you deploy. No subscriptions. No hidden fees. See costs before deploying.

$0.01 / GB / day

Free tier: 100 MB/day for 1-day pins — link GitHub once to unlock

Query cost anytime: GET /api/pricing?size_bytes=X&ttl_days=Y

View full pricing

Ready to Build?

Start testing with the free MCP server today. See costs before paying. Confirm uploads interactively.