Features Tools Scribe Protocol Quick Start GitHub
MCP Server for Fractal Bitcoin

Hi, I'm Frank

Your OP_CAT AI Instructor

I know everything about building on Fractal Bitcoin with OP_CAT and Scribe Protocol. Connect me to your AI and start building covenants, smart contracts, plus register inscribed content to pioneer programmable digital ownership and licensing w/ the Scribe Protocol.

Fractal Bitcoin
Frank, the Instructor

An MCP server packed with OP_CAT covenant patterns, sCrypt scaffolding, and full Fractal RPC access. Frank teaches your AI to build like a Bitcoin covenant native.

Scribe
Scribe Protocol — Covenant Edition

Programmable digital rights on Bitcoin. Master covenants, license issuance, and revenue splits — all enforced on-chain.

Built on the Bitcoin stack

Why Frank?

Frank bridges the gap between AI assistants and Fractal Bitcoin development — giving your AI superpowers for covenant construction.

OP_CAT Native

Deep expertise in OP_CAT covenant patterns. Generate stateful contracts that were impossible before Fractal.

Scribe Protocol

Powers MyScribe's covenant-native digital rights. Masters, licenses, and revenue splits on Bitcoin.

sCrypt Integration

Scaffold, compile, and test sCrypt-TS contracts. Templates for common patterns included.

Full RPC Access

Query blocks, transactions, mempool, UTXOs. Broadcast transactions. Full Fractal node access.

CAT-721 NFTs

Generate NFT collections with traits, royalties, and reveal mechanics for Fractal Bitcoin.

Self-Improving

Frank learns from every interaction. Log insights, propose improvements, evolve capabilities.

30+ Tools

Everything you need to build on Fractal

Fractal Bitcoin

Fractal Bitcoin RPC

18 tools

fractal_get_block_height fractal_send_raw_transaction fractal_list_unspent fractal_estimate_smart_fee fractal_decode_script +13 more
sCrypt

sCrypt Development

4 tools + 5 templates

scrypt_create_project scrypt_compile scrypt_test scrypt_create_advanced_contract

Templates

hashlock multisig oracle auction escrow
Scribe

ScribeMaster Covenants

6 covenant types

scribe_scaffold_master

Covenant Types

state-machine vault crowdfund token inscription atomic-swap
OP_CAT

CAT-721 & Self-Learning

6 tools

cat_scaffold_721 cat_scaffold_721_advanced log_learning get_learnings propose_improvement
Scribe
Covenant Edition

Programmable Digital Rights on Bitcoin

Frank powers the Scribe Protocol — a covenant-native system for digital ownership, licensing, and revenue distribution. No trusted third parties. Pure Bitcoin.

Master Covenants

Immutable ownership records with SID (Scribe ID) commitment

License Issuance

Streaming, download, sync, and master licenses as child covenants

Revenue Splits

Automatic royalty distribution via covenant enforcement

Read the Full Specification
ScribeMaster.ts
class ScribeMaster extends SmartContract {
    // Immutable Scribe ID
    @prop()
    readonly sid: Sha256

    // Transferable ownership
    @prop(true)
    owner: PubKey

    @method()
    public transfer(
        newOwner: PubKey,
        sig: Sig
    ) {
        assert(this.checkSig(sig, this.owner))
        this.owner = newOwner
        // Royalty enforced in outputs
    }

    @method()
    public issueLicense(
        licenseType: ByteString,
        sig: Sig
    ) {
        assert(this.checkSig(sig, this.owner))
        // Create license covenant
    }
}

Quick Start

Connect Frank to your AI in under a minute

1

Clone and Setup

$ git clone https://github.com/bitbragi/frank-mcp.git
$ cd frank-mcp
$ python -m venv venv && source venv/bin/activate
$ pip install fastmcp httpx python-dotenv
2

Add to Claude Code

$ claude mcp add frank -- ~/frank-mcp/venv/bin/python ~/frank-mcp/frank_mcp.py
3

Start Building

# Test the connection
→ ping()
pong @ 2024-01-15T10:30:00Z (frank-mcp v0.4)
# Create a vault covenant
→ scribe_scaffold_master("my-vault", "vault")
Scaffolded ScribeMaster vault covenant at ~/scribe-covenants/my-vault
Scribe × Fractal Bitcoin

Ready to Build the Future of Programmable Permanence on Bitcoin?

Frank is open source and ready to help you build covenant-native applications on Fractal Bitcoin. Join the builders shaping programmable Bitcoin.