Skip to main content
Glama

@floopfloop/mcp

npm version npm downloads CI Node.js Version License: MIT

Model Context Protocol server for the FloopFloop API — lets Claude Desktop, Cursor, Zed, and any other MCP-aware LLM host build, poll, and refine FloopFloop projects on the user's behalf.

Wraps the official @floopfloop/sdk and exposes a curated subset of its surface as MCP tools.

Tools

Tool

What it does

list_projects

List every project you have access to

get_project

Fetch a project by id or subdomain

project_status

Cheap status snapshot — safe to poll

create_project

Kick off a new build from a natural-language prompt

refine_project

Send a refinement message to an existing project

wait_for_live

Block until the project reaches a terminal state

cancel_project

Stop a queued or in-progress build

reactivate_project

Resume a cancelled / archived project

get_conversations

Read a project's message timeline (prompts + replies + deploy markers)

check_subdomain

Is a given slug available?

suggest_subdomain

Generate a friendly slug from a prompt

list_secrets

List secret keys on a project (names only)

set_secret

Create/overwrite a project secret

remove_secret

Delete a project secret

list_library_projects

Browse the public project library

clone_library_project

Duplicate a library project into the user's account

usage_summary

Plan limits + current-period credit / build / storage usage

list_api_keys

List the user's API keys (never returns the raw secret)

create_api_key

Mint a new API key — raw secret returned ONCE

remove_api_key

Revoke an API key by id or name

upload_from_path

Read a local file, presign + upload to S3, return an attachment ref

whoami

Show the authenticated user

current_subscription

Plan tier + credit balance (price, billing period, current/rolled-over credits)

Related MCP server: mcp-minecraft

Configuration

Grab an API key: floop keys create mcp-host (via the floop CLI) or the dashboard → Account → API Keys. Business plan required to mint new keys.

The server reads FLOOP_API_KEY from the environment. Optionally override FLOOP_API_URL to point at staging.

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %AppData%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "floopfloop": {
      "command": "npx",
      "args": ["-y", "@floopfloop/mcp"],
      "env": { "FLOOP_API_KEY": "flp_..." }
    }
  }
}

Restart Claude Desktop; the tools show up under the 🔌 icon.

Cursor

~/.cursor/mcp.json (or Cursor Settings → Tools & Integrations → MCP):

{
  "mcpServers": {
    "floopfloop": {
      "command": "npx",
      "args": ["-y", "@floopfloop/mcp"],
      "env": { "FLOOP_API_KEY": "flp_..." }
    }
  }
}

Generic MCP host

Any host that speaks the MCP stdio transport can run the server:

FLOOP_API_KEY=flp_... npx -y @floopfloop/mcp

Install

The package is pulled in automatically via npx -y @floopfloop/mcp in the config snippets above. If you prefer a pinned install:

npm install -g @floopfloop/mcp
which floop-mcp

Usage notes

  • create_project starts a build right away. Follow up with wait_for_live (blocks) or project_status (poll) to know when it's up.

  • wait_for_live defaults to a 10-minute ceiling (bounded by timeoutMs, capped at 30 min). Most builds finish in under two minutes.

  • upload_from_path → refine_project is the canonical attachment flow: call upload_from_path with a local file, get back an UploadedAttachment ({key, fileName, fileType, fileSize}), then pass it as attachments: [<that object>] on refine_project. The LLM host's process needs read access to the file path; max 5 MB.

  • refine_project codeEditOnly: true runs a 3-step in-place patch instead of a full 6-step rebuild and charges roughly half the credits — use it for copy edits, colour swaps, or typo fixes on a project that's already live. The backend won't promote a code-edit to a full refinement automatically, so prefer plain refine_project when the change actually needs redesign.

  • cancel_project → reactivate_project is the abort/redo pattern. cancel_project is destructiveHint: true; hosts should confirm before calling it. reactivate_project triggers a fresh build at the project's most recent prompt.

  • set_secret / remove_secret are marked destructiveHint: true — hosts may ask the user to confirm before they run.

  • list_secrets only returns names, never values. Secret values cannot be retrieved once written; rotate them by re-setting.

  • On failure, tools return an MCP isError content result rather than tearing down the session, so the host displays the error to the user.

Development

git clone https://github.com/FloopFloopAI/floop-mcp.git
cd floop-mcp
npm install
npm run typecheck
npm run build

FLOOP_API_KEY=flp_... node dist/index.js

To smoke-test the stdio handshake without an LLM host:

printf '%s\n' \
  '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}' \
  '{"jsonrpc":"2.0","method":"notifications/initialized"}' \
  '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \
  | FLOOP_API_KEY=flp_dummy node dist/index.js 2>/dev/null

Releasing

.github/workflows/release.yml publishes to npm with provenance whenever a tag matching mcp-v* is pushed. One-time setup before the first release:

  1. Create an automation npm token on the @floopfloop scope (publishes bypass 2FA by design when tokens are marked automation).

  2. Add it as the repo secret NPM_TOKEN:

    gh secret set NPM_TOKEN --repo FloopFloopAI/floop-mcp
    # paste token when prompted — do NOT use --body, which can leak it to
    # shell history.
  3. Tag + push:

    npm version 0.1.0-alpha.1 --no-git-tag-version  # if needed
    git tag mcp-v$(node -p "require('./package.json').version")
    git push --follow-tags

The workflow typechecks, builds, runs the stdio smoke test, verifies the tag matches package.json, then publishes and cuts a GitHub Release (prerelease, auto-generated notes).

License

MIT

Available Tools

12 tools
check_subdomainCheck subdomain availabilityA
Read-onlyIdempotent

Check whether a given subdomain slug is free.

Inputs: slug (required).

create_projectCreate a projectA

Create a new FloopFloop project from a natural-language prompt. Build kicks off immediately. Call wait_for_live to block until the site is up, or poll project_status.

Inputs: prompt (required), name, subdomain, botType, +2 more.

get_projectGet a projectA
Read-onlyIdempotent

Fetch a single project by id or subdomain. Returns the project's url, status, and metadata.

Inputs: ref (required), teamId.

list_projectsList projectsA
Read-onlyIdempotent

List all FloopFloop projects the authenticated user has access to. Optionally scope to a team.

Inputs: teamId.

list_secretsList a project's secretsA
Read-onlyIdempotent

List secret keys for a project. Values are never returned — only names, because FloopFloop stores secrets one-way-encrypted.

Inputs: ref (required).

project_statusProject build statusA
Read-onlyIdempotent

Fetch the current build/deploy status for a project. Cheap — safe to call in a polling loop.

Inputs: ref (required).

refine_projectRefine a project with a new instructionA

Send a refinement message to an existing project. Triggers a follow-up build unless the backend decides it's a code-only edit.

Inputs: ref (required), message (required), wait.

remove_secretRemove a project secretA
DestructiveIdempotent

Delete a secret from a project.

Inputs: ref (required), name (required).

set_secretSet a project secretB
DestructiveIdempotent

Create or overwrite an environment secret on a project.

Inputs: ref (required), name (required), value (required).

suggest_subdomainSuggest a subdomain from a promptB
Read-only

Ask the backend to generate a friendly subdomain slug based on a natural-language prompt.

Inputs: prompt (required).

wait_for_liveWait until a project is liveA
Read-onlyIdempotent

Block (polling every 2 s) until the project reaches a terminal state. Returns the final Project on success, an error result on build-failed or build-cancelled.

Inputs: ref (required), timeoutMs.

whoamiShow the authenticated userA
Read-onlyIdempotent

Return the current user's id, email, and plan.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool targets a distinct resource (project, secret, subdomain) with clear actions. No overlap: check_subdomain vs suggest_subdomain are separate operations, and wait_for_live complements create_project without ambiguity.

    Naming Consistency4/5

    Tools mostly follow verb_noun pattern (e.g., create_project, remove_secret, list_projects). whoami is a mild deviation but is a common convention. Minor inconsistency: project_status is noun-based while others are verb-based.

    Tool Count5/5

    12 tools is well-scoped for a project management MCP. Each tool covers a necessary operation without bloat, from project CRUD to secret and subdomain management.

    Completeness4/5

    Covers core project lifecycle (create, get, list, refine, status) and secret management (list, set, remove). Missing update_project (rename) or delete_project, but these might be intentional gaps for safety.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers