NFT Pipeline MCP Server
Supports AI image generation via Hugging Face Stable Diffusion API using HUGGINGFACE_API_KEY.
Uploads generated images and metadata to IPFS via Pinata, NFT.Storage, or Web3.Storage and returns CIDs/URLs for NFT minting.
Supports AI image generation using FLUX.1 Schnell via Replicate API when FLUX_API_KEY is configured.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NFT Pipeline MCP Server generate a cyberpunk dragon NFT image and prep the metadata for minting"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NFT Pipeline MCP Server
Complete pre-blockchain NFT preparation workflow. Handles the entire asset pipeline from AI image generation through IPFS storage to metadata creation, providing ready-to-mint NFT packages for any blockchain.
Features
šØ AI Image Generation
Pollinations.ai (no API key required)
FLUX.1 Schnell via Replicate
Stable Diffusion via Hugging Face
Playground AI
Multiple art styles: realistic, artistic, cartoon, fantasy, cyberpunk, minimalist
š¦ IPFS Storage
Pinata (1GB free tier - V3 API with JWT authentication)
NFT.Storage (100% free for NFTs)
Web3.Storage (free tier)
Automatic metadata creation
Public-by-default uploads
š One-Stop NFT Preparation
Generate image ā Upload to IPFS ā Create metadata ā Upload metadata
Returns ready-to-use metadata CID for minting
Works with any blockchain
Related MCP server: Uranium MCP Server
Quick Start
Installation
cd servers/testnet/nft-pipeline-mcp-server
npm install
npm run buildConfiguration
For Claude Desktop, configure in .mcp.json (see below). The .env.example file shows available environment variables for reference.
Usage with Claude Desktop
Add to .mcp.json in your project root:
{
"mcpServers": {
"nft-pipeline": {
"command": "node",
"args": [
"/path/to/servers/testnet/nft-pipeline-mcp-server/dist/index.js"
],
"env": {
"IPFS_SERVICE": "pinata",
"PINATA_API_KEY": "your_pinata_jwt_secret_here"
}
}
}
}Important:
Use your Pinata JWT Secret (NOT the 12-digit API Key number)
Get JWT from: https://app.pinata.cloud/developers/api-keys
Required permissions: "Files" Write access (or Admin)
Available Tools
1. nft_pipeline_generate_image
Generate AI images for NFTs
{
prompt: "Epic dragon in cyberpunk city",
style: "cyberpunk",
aspectRatio: "1:1",
quality: "high"
}2. nft_pipeline_upload_to_ipfs
Upload images to IPFS
{
imageUrl: "https://example.com/image.png",
service: "pinata"
}3. nft_pipeline_create_metadata
Create and upload NFT metadata
{
name: "Dragon #1",
description: "Epic cyberpunk dragon",
imageHash: "QmXxx...",
attributes: [
{ trait_type: "Type", value: "Dragon" },
{ trait_type: "Rarity", value: "Legendary" }
]
}4. nft_pipeline_build_complete ā Recommended
Complete NFT preparation pipeline in one call
{
prompt: "Epic dragon in cyberpunk city",
style: "cyberpunk",
name: "Dragon #1",
description: "Epic cyberpunk dragon",
attributes: [
{ trait_type: "Type", value: "Dragon" }
]
}Returns:
{
"success": true,
"imageCid": "QmXxx...",
"metadataCid": "QmYyy...",
"imageUrl": "https://gateway.pinata.cloud/ipfs/QmXxx...",
"metadataUrl": "https://gateway.pinata.cloud/ipfs/QmYyy...",
"ipfsMetadataUrl": "ipfs://QmYyy..."
}Using with Blockchain MCPs
Example: XRP NFT Minting
// Step 1: Create NFT package
const package = await nft_pipeline_build_complete({
prompt: "Space cat warrior",
name: "Space Cat #1",
description: "Epic space adventure"
});
// Step 2: Mint on XRP
await xrp_mint_nft({
privateKey: "...",
uri: package.ipfsMetadataUrl // Use metadata CID
});Example: Ethereum NFT Minting
// Step 1: Create NFT package
const package = await nft_pipeline_build_complete({
imageUrl: "https://mysite.com/art.png",
name: "My Art #1",
description: "Digital masterpiece"
});
// Step 2: Mint on Ethereum
await eth_mint_nft({
contractAddress: "0x...",
tokenURI: package.ipfsMetadataUrl
});Environment Variables
Required (choose one IPFS service)
Pinata (V3 API with JWT):
# Get JWT Secret from https://app.pinata.cloud/developers/api-keys
# Click "New Key" ā Copy the JWT Secret (NOT the 12-digit API Key)
# Required permissions: "Files" Write (or Admin for all features)
PINATA_API_KEY=your_pinata_jwt_secret_here
# Note: PINATA_SECRET_KEY is no longer needed with V3 APINFT.Storage:
NFT_STORAGE_API_KEY=xxxWeb3.Storage:
WEB3_STORAGE_API_KEY=xxxOptional (Image Generation)
# Pollinations.ai works by default (no key needed)
# Optional enhanced services:
FLUX_API_KEY=xxx # Replicate.com API key
FLUX_MODEL_VERSION=xxx # Optional: specific FLUX model version
HUGGINGFACE_API_KEY=xxx # Hugging Face API key
PLAYGROUND_API_KEY=xxx # Playground AI API keyDevelopment
# Development mode
npm run dev
# Build
npm run build
# Run tests
npm test
# MCP Inspector
npm run inspectArchitecture
nft-pipeline-mcp-server/
āāā src/
ā āāā tools/
ā ā āāā image/ # Image generation tools
ā ā āāā ipfs/ # IPFS upload tools
ā ā āāā combined/ # Complete pipeline tools
ā āāā utils/
ā ā āāā ai-image-generation.ts
ā ā āāā ipfs-nft-tool.ts
ā āāā index.ts
āāā tests/API Changes & Migration
Pinata V3 Migration (Important)
The server now uses Pinata's V3 API which requires JWT authentication:
Old format (deprecated):
Used
PINATA_API_KEY+PINATA_SECRET_KEYpairEndpoint:
https://api.pinata.cloud/pinning/pinFileToIPFS
New format (current):
Uses JWT token only in
PINATA_API_KEYEndpoint:
https://uploads.pinata.cloud/v3/filesResponse structure: CID is at
response.data.data.cid
Getting a Pinata JWT Secret
Click "New Key"
Enable "Files" with Write permission (or Admin for all features)
Copy the JWT Secret (the long token, NOT the 12-digit API Key)
Use this JWT Secret as your
PINATA_API_KEY
Note: The confusing naming is due to backward compatibility. Pinata shows:
API Key: 12-digit identifier (we don't use this)
JWT Secret: Long JWT token (this is what we need)
Why Separate Server?
Benefits:
ā Write image/IPFS logic once, use everywhere
ā All blockchain MCPs can use same service
ā Easy to add new generators/storage providers
ā Users configure API keys once
ā Follows MCP composability principles
License
MIT
Contributing
This is part of the Blockchain MCP Ecosystem. Contributions welcome!
Available Tools
4 toolsnft_pipeline_build_completeB
Complete NFT preparation pipeline: generate/upload image, create metadata, upload to IPFS. Full workflow solution.
Inputs: name (required), description (required), style, prompt, +9 more.
nft_pipeline_create_metadataC
Create NFT metadata JSON and upload to IPFS
Inputs: name (required), imageHash (required), description (required), apiKey, +4 more.
nft_pipeline_generate_imageB
Generate AI image for NFT using free APIs (Pollinations.ai, FLUX.1, Stable Diffusion)
Inputs: prompt (required), seed, model, style, +2 more.
nft_pipeline_upload_to_ipfsC
Upload image to IPFS using Pinata, NFT.Storage, or Web3.Storage
Inputs: apiKey, service, fileName, imageUrl, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 4 tools
The three step tools are clearly distinct: image generation, IPFS upload, and metadata creation. The only ambiguity is nft_pipeline_build_complete, which overlaps with all three by orchestrating the full workflow, so an agent must decide between using the aggregate tool or individual steps.
All tool names use the same nft_pipeline_ prefix and consistent snake_case verb/object phrasing. The convention is predictable and easy to scan.
Four tools is well-scoped for a focused NFT preparation pipeline: three granular operations plus one end-to-end workflow tool. Each tool has a clear role.
The surface covers the core pipeline: generate an image, upload to IPFS, create metadata, and run the full workflow. Minor gaps include no explicit validation or retrieval/inspection of uploaded assets, but the stated preparation lifecycle is mostly covered.
Maintenance
Related MCP Connectors
Upload, generate, organize, search, and transform images, videos, and files with AI-powered tools.
Upload, generate, organize, search, and transform images, videos, and files with AI-powered tools.
Image and video AI tools and your own pipelines, run from any AI assistant.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA powerful toolkit that enables seamless interaction with EVM-compatible networks through natural language processing and AI assistance, allowing users to manage wallets, launch tokens, and interact with blockchain networks.MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables LLMs to create and manage NFT collections and assets through the Uranium platform. Supports uploading media files, minting NFTs, and managing ERC721/ERC1155 collections on the blockchain.-
- AlicenseNot gradedqualityDmaintenanceEnables AI applications to interact with the COTI blockchain for private token operations, including deployment and management of private ERC20 tokens and ERC721 NFTs using COTI's Multi-Party Computation (MPC) technology.MIT

Context3D MCP Serverofficial
AlicenseBqualityDmaintenanceEnables AI-powered 3D model generation from text and images with PBR textures, supporting blockchain authentication and MCP integration.7MIT