Sponsored by Deepsite.site

Story SDK MCP Server

Created By
piplabs9 months ago
An MCP server for the Story SDK
Content

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

  1. Install dependencies using uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
  1. Copy .env.example to .env and fill in your credentials:
cp .env.example .env

Environment variables:

  • WALLET_PRIVATE_KEY: Your EVM wallet private key
  • RPC_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
  1. Use inspector to test the server:
uv run mcp dev server.py

Available Tools

  1. get_license_terms: Retrieve license terms for a specific ID
  2. mint_license_tokens: Mint license tokens for a specific IP and license terms
  3. send_ip: Send IP tokens to a specified address using native token transfer
  4. upload_image_to_ipfs: Upload an image to IPFS and return the URI
  5. create_ip_metadata: Create NFT metadata for a specific image URI
  6. mint_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:

  1. commercial_rev_share: 5
  2. derivatives_allowed: True
  3. registration_metadata:
{
  "ip_metadata_uri": "https://azure-wooden-quail-605.mypinata.cloud/ipfs/QmcvC23URQPKSHYB9Xy5AFswy2SKqUYPRg7iYtL5ZqEi7b",
  "ip_metadata_hash": "0xe74a304f3ca32924cef88f7445eca413ff8f80d265417bfc93d6765bb26e4dec",
  "nft_metadata_uri": "https://azure-wooden-quail-605.mypinata.cloud/ipfs/QmegKQTYSeaNgKBncYTPWMJeykHVwDgsiFf493fkXBaWcb",
  "nft_metadata_hash": "0x5c6e29420f759a5cc6497ad1d564db70e2742790f4123225a093209ad55340d7"
}

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.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.