Tokensfun
tokensfun mcp for Claude Code existing-app token deployment.
Ask AI about Tokensfun
Powered by Claude Β· Grounded in docs
I know everything about Tokensfun. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
tokensfun mcp
Standalone stdio MCP server for deploying tokens.fun tokens for existing apps directly from Claude Code.
The primary tool is tokensfun_tokenize_app β one call that inspects the project, infers all metadata, and deploys. No back-and-forth needed unless appUrl truly can't be found.
The app must already have a live public URL. This server does not build apps.
Included MCP Tools
Both tokensfun_* and minidev_* tool name prefixes are supported. tokensfun_* is preferred.
Primary tool
*_tokenize_appβ single-shot deploy: inspects CWD, infers metadata, uploads image, deploys token. Start here.
Supporting tools
*_inspect_existing_appβ read project metadata without deploying*_prepare_existing_app_tokenβ resolve and normalize payload without deploying*_validate_existing_app_tokenβ validate payload without uploading or deploying*_upload_token_imageβ upload a local image to IPFS*_deploy_existing_app_tokenβ deploy with explicit payload*_validate_vaultβ validate vesting configuration*_check_creditsβ remaining MiniDev credits*_get_config_statusβ which config fields are set and where*_show_creator_identityβ configured wallet and email*_validate_api_key_connectionβ test API key is valid*_list_projectsβ list MiniDev projects for the account*_health_checkβ full readiness check (config, auth, credits, upload endpoint)*_explain_missing_setupβ explain what's missing for a given action
Configuration
Preferred configuration is via environment variables in your Claude Code MCP entry:
MINIDEV_API_KEY=mk_your_key_here
MINIDEV_API_URL=https://app.minidev.fun
TOKENS_FUN_URL=https://tokens.fun
MINIDEV_CREATOR_WALLET=0xYourWalletAddress
MINIDEV_CREATOR_EMAIL=you@example.com
Fallback config locations supported by the server:
minidev/config.jsonrelative to the working directory~/.clawdbot/skills/minidev/config.json
Compatible JSON shape:
{
"apiKey": "mk_your_key_here",
"apiUrl": "https://app.minidev.fun",
"tokensFunUrl": "https://tokens.fun",
"creatorWallet": "0xYourWalletAddress",
"creatorEmail": "you@example.com"
}
If you prefer a local interactive wizard, run:
npx -y tokensfun-mcp --setup
The wizard stores these 3 main values in ~/.tokensfun-mcp/config.json:
MINIDEV_API_KEYMINIDEV_CREATOR_WALLETMINIDEV_CREATOR_EMAIL
Claude Code MCP Example
Point Claude Code at the absolute path to server.js:
{
"mcpServers": {
"tokensfun": {
"command": "node",
"args": [
"/absolute/path/to/minidev-skills/claude-code-mcp/server.js"
],
"env": {
"MINIDEV_API_KEY": "mk_your_key_here",
"MINIDEV_API_URL": "https://app.minidev.fun",
"TOKENS_FUN_URL": "https://tokens.fun",
"MINIDEV_CREATOR_WALLET": "0xYourWalletAddress",
"MINIDEV_CREATOR_EMAIL": "you@example.com"
}
}
}
}
Local Commands
Run from the claude-code-mcp/ directory:
npm test
npm run setup
npm run tools
npm start
npm run tools prints the exact tool metadata exposed by tokensfun mcp.
npm start runs the stdio MCP server and waits for a client connection.
It is not hanging when it stays open there; that is the normal Claude Code / MCP server behavior.
Recommended Agent Flow
- Call
tokensfun_tokenize_appβ no args needed for a basic deploy from CWD. - If it returns
missingRequiredFields, ask the user only for those fields and retry. - On success, show the token page URL and BaseScan URL from the response.
For granular control: inspect_existing_app β validate_vault β prepare_existing_app_token β deploy_existing_app_token.
Notes
appUrlmust be a live publichttporhttpsURL.creatorWalletcan be passed directly or supplied by config.- If
imagePathis provided to*_prepare_existing_app_tokenor*_deploy_existing_app_token, the MCP uploads it automatically. *_validate_existing_app_tokennever uploads files or deploys.- The server validates wallet format, image type and size, URL shape, and vault recipient splits before calling the API.
