Story SDK MCP Server
Official
by piplabs
Story SDK MCP Server
This server provides MCP (Model Context Protocol) tools for interacting with Story's Python SDK.
Features
- Get license terms
- Mint and register IP Asset with PIL Terms
- Mint license tokens
- Send $IP to a wallet
- Upload image to ipfs via Pinata [External]
- Upload ip and nft metadata via Pinata [External]
Setup
- Install dependencies using uv:
Copy
- Copy
.env.example
to.env
and fill in your credentials:
Copy
Environment variables:
WALLET_PRIVATE_KEY
: Your EVM wallet private keyRPC_PROVIDER_URL
: Your RPC provider URL. You can use the default one provided.SPG_NFT_CONTRACT
: The address of the SPG NFT contract. You can use the default one provided.PINATA_JWT
: [optional] JWT for uploading images/metadata to pinata. You need this to upload metadata to IPFS when registering an IP. You can get this by creating a new app on pinata
- Use inspector to test the server:
Copy
Available Tools
get_license_terms
: Retrieve license terms for a specific IDmint_license_tokens
: Mint license tokens for a specific IP and license termssend_ip
: Send IP tokens to a specified address using native token transferupload_image_to_ipfs
: Upload an image to IPFS and return the URIcreate_ip_metadata
: Create NFT metadata for a specific image URImint_and_register_ip_with_terms
: Mint and register an IP with terms
Example mint_and_register_ip_with_terms
You can use the following parameters to test the tool:
commercial_rev_share
: 5derivatives_allowed
: Trueregistration_metadata
:
Copy
Usage with MCP
You can use these tools with any MCP-compatible client. The tools are exposed through the MCP protocol and can be accessed using any AI framework of your choosing.
This server cannot be installed
Provides tools for managing IP assets and licenses, interacting with the Story Python SDK, and handling operations like minting tokens, registering IP, and uploading metadata to IPFS.