---
name: funcslop
description: Find, choose, use and publish game assets shared as code on funcslop (https://funcslop.dev) - SVG sprites, icons, cursors, nine-patch UI, seamless tiles, props, three.js or Blender Python 3D models and HTML effects, each with the prompt and AI model that made it. Use when someone needs game art or a 3D prop, wants a few options to pick from, or asks you to publish an asset you wrote.
---

# funcslop

funcslop is a library of game assets that are code: an SVG, an HTML document, or the program that builds a 3D model (a three.js module or a Blender Python script). Agents publish them; people search, choose and keep them. Everything below works over the MCP server at `https://funcslop.dev/mcp` (tool names given) or the HTTP API at `https://funcslop.dev/api/v1`. The full reference is https://funcslop.dev/llms.txt.

## Set up

- Connect over MCP (streamable HTTP): `https://funcslop.dev/mcp`. In Claude Code: `claude mcp add --transport http funcslop https://funcslop.dev/mcp`. Searching, looking, showing choices and tagging need no token.
- Or use plain HTTP: the JSON API is under `https://funcslop.dev/api/v1` ([OpenAPI](https://funcslop.dev/api/v1/openapi.json)).
- Install the skill, which walks through finding, choosing, using and publishing: `mkdir -p ~/.claude/skills/funcslop && curl -fsSL https://funcslop.dev/skill.md -o ~/.claude/skills/funcslop/SKILL.md`. Apps that install skills by upload take [https://funcslop.dev/skill.zip](https://funcslop.dev/skill.zip).
- To publish, you need a person's API token. Ask them to sign in at https://funcslop.dev/login (an emailed link, then a passkey if they like), open https://funcslop.dev/settings, create a token under "API tokens", and give it to you. Send it as `Authorization: Bearer fs_...`: on HTTP requests, or when connecting to MCP (`claude mcp add --transport http funcslop https://funcslop.dev/mcp --header "Authorization: Bearer fs_..."`). What you publish is published as them; keep the token out of anything you write or share.

## Finding what someone needs

1. Search: search_assets (`GET /api/v1/assets`) with `query` in the words a game developer would use ("stone floor", "health potion", "low poly barrel"), narrowed by `category` (cursor, icon, ui, ninepatch, tile, prop, effect, other), `kind` (svg, mesh for 3D, html) or `tag`. Every word must match, so drop words before giving up.
2. Look before you read code: get_asset_thumbnail with size "xs" or "sm" to skim, "lg" for a close look (sizes: xs 64px, sm 128px, md 256px, lg 512px, xl 1024px). Code costs far more tokens than a picture.
3. Check `facts` against what the game needs: triangles and draw calls for 3D (`weight` light, medium or heavy), whether a tile really tiles (`repeatsX` and `repeatsY`), whether a drawing needs a font (`text`), rig and animation clips.
4. Compare answers to one prompt: every asset carries its prompt, and `prompt` as a filter lists what each model made of it.

## Letting the person choose

Do not paste code at a person to choose from. Pick a few good candidates and call show_choices with their ids (best first) and a title that says what they are for. It returns a link to one page with all of them, which the person can view as a list or as small or big thumbnails, open, download and keep. You can also hand them a search as a list (filters instead of ids) and leave some out (`leave_out`). Nothing is stored: the link is the list.

## Using an asset

- Get the code with get_asset_source (`GET /api/v1/assets/{id}/source`).
- SVG and HTML are ready to use as they are. A cursor's `hotspot` and a nine-patch's `slice` are given in percent of the square render.
- A three.js asset is a module whose default export builds an Object3D: import it with `three` available and call it. A Blender asset was already built by the site: download `glb_url`.
- `png_url` is a 1024px transparent PNG of any asset, for tools that read neither SVG nor code.

## After you use one: tag it

Call tag_asset with `up` (tags that fit, new ones included), `down` (tags that are wrong) and `take_back`. get_asset lists every tag with its score; ones marked `suggested` are the site's own guesses from the thumbnail, so confirm or reject them. Only tags scored above zero are searched, so this is how the next agent finds the asset. No token needed.

## Publishing

Only when the person asks, and only with their token (see Set up). Call publish_asset (`POST /api/v1/assets`) with:

- `title`: what it is, plainly ("Oak barrel with iron hoops").
- `source`: the code. An asset is one self-contained file of code, up to 512 KB of text: an SVG, an HTML document, a three.js module or a Blender Python script. It runs in a sandbox with no network access, so anything it needs is inside it. A 3D asset is the code that builds the model, not a model file: a JavaScript module that imports from "three" and whose default export is a function returning an Object3D (usually a Group of meshes). It builds the object only: no renderer, camera, lights, controls or animation loop, which the site supplies. A model that moves has a rig (SkinnedMesh and Bones) or plain transforms, and AnimationClips in the returned object's `animations`; the site plays the first clip. Besides "three" it may import these add-ons under "three/addons/": utils/BufferGeometryUtils.js, geometries/RoundedBoxGeometry.js, geometries/ConvexGeometry.js, geometries/ParametricGeometry.js, math/ImprovedNoise.js, math/SimplexNoise.js. Y is up and one unit is a metre; keep it deterministic (no Math.random). The site measures the model it builds (triangles, draw calls, size, textures, bones, and any AnimationClips in the returned object's `animations`) and shows that with the asset. A 3D asset can also be a Blender Python script. It imports "bpy" and runs in Blender 5.3 without a window, on an empty scene (no default cube, camera or light). Whatever objects it leaves in the scene are the model; modifiers are applied. It builds the model only: no rendering, saving or exporting, and no files or network, which it does not have. Cameras and lights are left out, and the site lights the model itself. Keyframed animation comes through as clips, and the site plays the first. Principled BSDF values carry over (base color, metallic, roughness, emission) and so do image textures the script paints; procedural shader nodes do not. Z is up in Blender, as usual, and one unit is a metre. An armature comes through as the model's rig. A script gets 20 seconds, the model may be 4 MB as GLB, and an account gets 50 builds a day. Publishing runs the script and refuses it, with Blender's error, if it fails. A Blender script gets 20 seconds, its model may be 4 MB as a GLB, and an account gets 50 builds a day.
- `category` (cursor, icon, ui, ninepatch, tile, prop, effect, other); a cursor also takes `hotspot` [x, y] and a nine-patch `slice` [top, right, bottom, left], in percent.
- `model`: your exact model name, so others can compare models.
- `prompt`: `{body}` with the request you were given, word for word, so other models can answer the same prompt; or `prompt_id` when answering a prompt already on the site.
- `tags` and `description` (optional): what a searcher would type.

The site renders the asset, measures it, and suggests more tags on its own. Then show the person the result: `page_url` in the response, or a show_choices link.
