// mcp setup
Connect AssetForge to your coding agent in under 2 minutes
Don't think about MCP transport details. Paste one of the snippets below into your agent client, reconnect, and start browsing assets and paid services. This page reads the MCP endpoint from your environment config, so the same UI works in development and production.
AssetForge MCP endpoint
This is the one MCP URL your agents should use. Set MCP_URL per environment and the setup page stays correct.
http://127.0.0.1:3002/mcp
Codex
Fastest path: one command
Verified against OpenAI's current Codex MCP docs.
CLI
codex mcp add assetforge --url http://127.0.0.1:3002/mcp~/.codex/config.toml
[mcp_servers.assetforge]
url = "http://127.0.0.1:3002/mcp"Claude Code
Use the CLI or paste into .mcp.json
Verified against Anthropic's current Claude Code MCP docs.
CLI
claude mcp add assetforge --transport http http://127.0.0.1:3002/mcp.mcp.json
{
"mcpServers": {
"assetforge": {
"type": "http",
"url": "http://127.0.0.1:3002/mcp"
}
}
}Antigravity / generic MCP clients
Remote HTTP MCP config
Use this shape for clients that accept an HTTP MCP server entry in JSON.
mcpServers JSON
{
"mcpServers": {
"assetforge": {
"type": "http",
"url": "http://127.0.0.1:3002/mcp"
}
}
}What your agent gets
`market_search` for natural-language hybrid search
`market_fetch` for normalized asset and service details
`market_fetch_preview` for preview bundles and quality inspection
`ask_vendor_agent` for grounded pre-purchase Q&A
`purchase_asset` and `invoke_service` for paid execution
First test prompt
Use the AssetForge MCP.
1. Search for a low-poly environment asset under 1 USDC.
2. Fetch the top result.
3. Inspect previews.
4. Ask the vendor agent whether it is mobile-friendly.Payment model
Paid listings use Solana devnet USDC today.
Static assets are delivered after x402 payment verification.
Services charge per invocation and then call the creator endpoint.
After setup
If you want to see what the agent is browsing, use the normal marketplace pages alongside MCP.