← Back

Documentation

Getting started

SlopFeed generates deployed, interactive web apps from text prompts. Use the API, CLI, or MCP server.

1. Get an API key

Sign up and create an API key from the dashboard.

2. Install the CLI

npm install -g @slopfeed/cli
slop config set api-key sk_live_your_key_here

3. Create your first slop

slop create "a retro snake game with neon glow"

CLI Reference

slop create <prompt>Create a new slop from a text prompt
slop edit <id> <prompt>Edit an existing slop
slop remix <id> <prompt>Remix a published slop with your twist
slop listList your slops
slop delete <id>Delete a slop
slop open <id>Open a slop in the browser
slop usageShow current period usage
slop config set <key> <value>Set CLI config (api-key, api-url)

API Reference

Base URL: https://api.slopfeed.com

Auth: X-API-Key: sk_live_... header

POST/v1/slopsCreate a slop
GET/v1/slopsList your slops
GET/v1/slops/:idGet slop details
GET/v1/slops/:id/statusPoll generation status
PATCH/v1/slops/:idEdit a slop
POST/v1/slops/:id/remixRemix a slop
DELETE/v1/slops/:idDelete a slop
POST/v1/slops/:id/publishPublish a slop
GET/v1/usageGet usage stats
POST/v1/api-keysCreate API key
GET/v1/api-keysList API keys
DELETE/v1/api-keys/:idRevoke API key

MCP Server

The MCP server lets AI agents (Claude, Cursor, etc.) generate slops as a tool.

npm install -g @slopfeed/mcp-server

Add to your MCP config:

{
  "mcpServers": {
    "slopfeed": {
      "command": "slopfeed-mcp",
      "env": { "SLOP_API_KEY": "sk_live_..." }
    }
  }
}