Labsco
MCP SERVER

HuggingFace Spaces

by evalstate

Call a Hugging Face Space as an ordinary tool — the bundled FLUX.1-schnell /infer endpoint takes a prompt, dimensions, step count and seed — then address whatever came back by its resource uri.

Model Routing, Multi-Model Consultation & Cost ControlVerified
Summary
A Space arrives as a tool call carrying the Space's own parameters.

The interesting part is the shape: FLUX_1-schnell-infer sits in the tool list beside search-spaces and available-files, exposing width, height, seed and step count as ordinary arguments rather than as a request you assemble by hand. search-spaces is how you find the next endpoint worth wiring the same way, and available-files closes the loop by making the output addressable as a resource uri rather than a file path you have to keep track of.

What it is

A bridge to Hugging Face Spaces: a semantic search over available Spaces, a listing of the files and resources on hand, and a Space endpoint exposed directly as a tool.

What you get
  • The FLUX.1-schnell /infer endpoint as a callable tool, taking a prompt, width, height, inference step count and a seed you can fix or randomize
  • Semantic search over Hugging Face Spaces from a three-to-seven-word description of the task, returned as a table of candidate endpoints
  • A listing of the files and resources currently available, each with its resource uri, name, size, last modified time and mime type, so a request for "the most recent image" or "the audio" resolves to a specific resource
Requirements

Nothing to hand over: no account and no key appears anywhere in the tool surface. It reaches Hugging Face Spaces over the network.

Setup effort

One command — npx -y @llmindset/mcp-hfspace