SE2-Minikit MCP Server
Enables creation of Farcaster Mini Apps with Base Minikit integration, including generating Farcaster manifests, frames, and OnchainKit components.
Click on "Install 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., "@SE2-Minikit MCP ServerCreate a Base mainnet dApp with Farcaster login"
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.
SE2-Minikit MCP Server
MCP server enabling rapid Web3 development on Base with Farcaster integration
Status: β Basic Scaffolding Functional Version: 0.1.0 (Alpha) Last Updated: 2025-11-07
π Quick Start
Prerequisites
Bun v1.2.16+ (for running the MCP server)
Claude Desktop (for using the MCP server)
Git (optional, for version control)
Installation
Clone the repository:
git clone https://github.com/yourusername/se2-minikit-mcp-server.git cd se2-minikit-mcp-serverInstall dependencies:
bun installBuild the server:
bun run buildConfigure Claude Desktop:
First, find your Bun path:
which bun # Output example: /Users/yourusername/.bun/bin/bunThen add to your Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):{ "mcpServers": { "scaffold-minikit": { "command": "/Users/yourusername/.bun/bin/bun", "args": ["--silent", "/absolute/path/to/se2-minikit-mcp-server/dist/index.js"], "env": { "NODE_ENV": "production", "LOG_LEVEL": "info" } } } }Important:
Use absolute paths for both
commandand the server path--silentflag suppresses Bun's package manager outputNODE_ENV=productiondisables pretty logging (prevents stdout leaks)Use the built
dist/index.jsfile (notsrc/server/index.ts)Claude Desktop doesn't inherit your shell's PATH
Restart Claude Desktop and verify the server appears in the MCP servers list.
Usage
Ask Claude to scaffold a project:
Create a Scaffold-ETH 2 project called "my-dapp" on Base Sepolia testnetClaude will use the scaffold_project tool to generate a complete project with:
Smart contracts (Hardhat)
Next.js frontend
Deployment scripts
Testing infrastructure
All dependencies installed
Generated Project Setup
After Claude generates your project:
cd my-dapp
# Start local blockchain
yarn chain
# Deploy contracts (in new terminal)
yarn deploy
# Start frontend (in new terminal)
cd nextjs
yarn install
yarn devYour dApp will be running at http://localhost:3000!
Related MCP server: Base Network MCP Server
π Documentation
For Users
Usage Guide - How to use the MCP server
Current Status - What works now
For Developers
Contributing Guide - How to contribute
Claude Code Guide - For Claude Code instances
Architecture - System design
Project Management
Implementation Workflow - All 44 issues
Dependencies Map - Dependency analysis
π Project Overview
An MCP server that enables developers to rapidly scaffold, configure, and deploy decentralized applications using Scaffold-ETH 2, with optional Base Minikit integration for Farcaster Mini Apps.
Key Features
π― 8 MCP Tools: Scaffold, configure, deploy, validate Web3 projects
β‘ 6 Templates: Basic, NFT, DeFi, DAO, Gaming, Social
π Minikit Integration: Built-in Farcaster Mini App support
π Base Network: Optimized for Base mainnet and testnet
π¬ Natural Language: Create dApps through conversation with Claude Code
Target Users
Hackathon participants needing rapid dApp setup
Web3 developers building on Base + Farcaster
Teams prototyping blockchain applications
ποΈ Implementation Status
Progress: 35/180 story points (19.4% complete)
β What Works Now
Core Infrastructure (Epic 1: 62.2% complete):
β MCP server with tool/resource registries
β Template engine with variable substitution
β File manager with backup and security
β Configuration validation (Zod schemas)
β Structured logging (Pino)
β 337 tests passing
Project Scaffolding:
β
scaffold_projecttool - FULLY FUNCTIONALβ Basic Scaffold-ETH 2 template
β Network support (base, baseSepolia, localhost)
β Post-generation hooks (yarn install, git init)
β Input validation and error handling
π§ In Progress / Planned
Templates (5 remaining):
β³ NFT template (ERC-721 minting)
β³ DeFi template (token swaps)
β³ DAO template (governance)
β³ Gaming template (on-chain gaming)
β³ Social template (Farcaster integration)
Epic 2: Scaffold & Configuration (35% complete):
β scaffold_project tool
β³ configure_contracts tool
β³ Contract validation
Epic 3: Minikit Integration (0% complete):
Farcaster Mini Apps support
Base Minikit components
Frame generation
Epic 4: Deployment Pipeline (0% complete):
Network configuration
Contract deployment automation
Verification and validation
See CURRENT_STATUS.md for detailed progress.
π οΈ Available Tools
Tool | Description | Status |
| Initialize Scaffold-ETH 2 projects | β Functional |
| Add Base Minikit to existing projects | β³ Planned |
| Configure smart contracts | β³ Planned |
| Deploy to Base networks | β³ Planned |
| Generate Farcaster manifests | β³ Planned |
| Create OnchainKit components | β³ Planned |
| Pre-deployment validation | β³ Planned |
| Generate Farcaster Frames | β³ Planned |
scaffold_project Tool
Status: β Fully functional
Parameters:
projectName(required): kebab-case project name (e.g., "my-dapp")projectPath(optional): Where to create project (default: current directory)template(optional): "basic" | "nft" | "defi" | "dao" | "gaming" | "social" (default: "basic")targetNetwork(optional): "base" | "baseSepolia" | "localhost" (default: "baseSepolia")contractFramework(optional): "hardhat" | "foundry" (default: "hardhat")includesMinikit(optional): Add Minikit support (default: false)
Example Usage:
Ask Claude: "Create a Scaffold-ETH 2 project called 'my-nft-marketplace'"Claude will invoke the tool with appropriate parameters and generate a complete project.
π¦ Project Templates
Template | Description | Complexity | Status |
basic | Simple starter with wallet connection | Beginner | β Available |
nft | ERC-721 NFT minting platform | Intermediate | β³ Planned |
defi | Token swap and liquidity protocol | Advanced | β³ Planned |
dao | DAO with voting and treasury | Advanced | β³ Planned |
gaming | On-chain gaming with NFT items | Intermediate | β³ Planned |
social | Farcaster-integrated social app | Intermediate | β³ Planned |
Basic Template (Available Now)
The basic template includes:
Smart Contract: Simple
YourContract.solwith HardhatFrontend: Next.js app with wallet connection (RainbowKit)
Deployment: Ready-to-deploy scripts
Testing: Hardhat test infrastructure
Configuration: Environment setup and network configs
π Tech Stack
MCP Server:
Bun v1.2.16+ (runtime)
TypeScript 5.9.3 (strict mode)
MCP SDK v1.21.0
Pino (structured logging)
Zod (schema validation)
Generated Projects:
Scaffold-ETH 2 (base framework)
Yarn (package manager, official SE2 standard)
Hardhat (smart contracts)
Next.js 14+ (frontend)
RainbowKit (wallet connection)
Wagmi (Web3 hooks)
Base Network (mainnet + Sepolia)
Testing:
Bun Test (unit/integration, 337 tests)
Playwright (E2E, planned)
π€ Contributing
We welcome contributions! See CONTRIBUTING.md for detailed guidelines.
Development Setup
# Clone and setup
git clone https://github.com/yourusername/se2-minikit-mcp-server.git
cd se2-minikit-mcp-server
bun install
# Run tests
bun test
# Run tests in watch mode
bun test --watch
# Type check
bun run typecheck
# Lint
bun run lint
# Build
bun run buildGood First Issues
Looking to contribute? Check out:
Issue #6: NFT Template (5 points) - Create ERC-721 template
Issue #7: DeFi Template (5 points) - Create token swap template
Issue #8: Advanced Templates (5 points) - DAO/Gaming/Social templates
Each template follows the same structure as the basic template, making them great for new contributors!
Project Structure
se2-minikit-mcp-server/
βββ src/
β βββ server/ # MCP server implementation
β βββ tools/ # MCP tool handlers
β βββ resources/ # Resource handlers
β βββ engines/ # Template/deployment engines
β βββ config/ # Configuration system
β βββ types/ # TypeScript types
β βββ utils/ # Utilities
βββ templates/ # Project templates
β βββ basic/ # Basic SE2 template
βββ tests/
β βββ unit/ # Unit tests
β βββ integration/ # Integration tests
βββ docs/ # Documentation
βββ claudedocs/ # Claude-specific docsπ Development Progress
Completed (35/180 points)
β Issues #1-5, #9-11: Core infrastructure and basic scaffolding
MCP server skeleton with registries
Template engine with variable substitution
File manager with security
Configuration validation
Logging infrastructure
Basic Scaffold-ETH 2 template
scaffold_project tool (fully functional)
Next Steps
Short-term (2-3 weeks):
Issue #6-8: Additional templates (NFT, DeFi, DAO, Gaming, Social)
Issue #12: configure_contracts tool
Issue #13: Contract validation
Medium-term (4-8 weeks):
Epic 3: Minikit integration
Epic 4: Deployment pipeline
See WORKFLOW.md for complete roadmap.
π Success Metrics
Current Performance
β Project scaffold: < 10 seconds
β Test coverage: 100% (337/337 tests passing)
β Build time: < 1 second
β TypeScript: Strict mode, zero errors
Goals
1000+ projects created (3 months post-launch)
80% task success rate
Average rating > 4.5/5
π Resources
Scaffold-ETH 2: https://docs.scaffoldeth.io/llms-full.txt
Base Minikit: https://docs.base.org/mini-apps/llms-full.txt
Farcaster Mini Apps: https://miniapps.farcaster.xyz/llms-full.txt
OnchainKit: https://onchainkit.xyz/
MCP Protocol: https://modelcontextprotocol.io/
πΊοΈ Roadmap
v0.1.0 - Alpha (Current)
β Core MCP server infrastructure
β Template engine with variable substitution
β Basic Scaffold-ETH 2 template
β scaffold_project tool (fully functional)
β 337 tests passing
β TypeScript strict mode
v0.2.0 - Beta (2-3 weeks)
NFT template (ERC-721 minting)
DeFi template (token swaps)
DAO/Gaming/Social templates
configure_contracts tool
Contract validation
v1.0.0 - Initial Release (8-12 weeks)
All 8 MCP tools implemented
6 project templates complete
Minikit integration (Farcaster Mini Apps)
Deployment pipeline
Security audit
v1.1.0+ - Future
Multi-chain support (Optimism, Arbitrum)
Advanced contract templates
Gas optimization tools
Visual project builder
π License
[To be determined]
π Acknowledgments
Built with:
π Support & Community
Issues: GitHub Issues
Troubleshooting: Common Issues & Solutions
Documentation: Complete Docs
Status: Current Implementation Status
Contributing: Contribution Guide
β οΈ Important Notes
Package Manager Separation
MCP Server uses Bun for development (faster, native TypeScript)
Generated Projects use Yarn (official Scaffold-ETH 2 standard)
This separation ensures:
β Fast MCP server development
β Generated projects follow official SE2 conventions
β Users can reference SE2 docs without confusion
Current Limitations
Only "basic" template available (5 more templates planned)
Only Hardhat support (Foundry planned)
No Minikit integration yet (planned for v0.2.0)
No automated deployment yet (planned for v1.0.0)
Ready to build?
Follow Quick Start to install the MCP server
Ask Claude to scaffold a project
Start building your dApp on Base!
For development, see CONTRIBUTING.md π
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/troopdegen/se2-minikit-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server