About stelaspace-mcp
stelaspace-mcp is a local MCP server for Claude Code and Codex that publishes local HTML files to StelaSpace. It reads files by path and uploads their bytes, supporting large reports and dashboards.
Key features
- 01Reads HTML files by local path
- 02Publishes files and returns permanent URLs
- 03Publishes a new version when reusing a slug
- 04Lists team spaces and documents
Use cases
- 01Publish AI-generated HTML reports
- 02Share dashboard or document links
- 03Review documents in team spaces
MCP support
As a local MCP server, it provides Claude Code and Codex with tools to publish files, list spaces, and list documents, uploading HTML through the StelaSpace API.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y stelaspace-mcpSTELASPACE_API_KEYSecretStelaSpace API key (starts with ss_sk_) — create one at stelaspace.com under Settings → API KeysLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | Path to the .html/.htm file on this machine (absolute, or relative to the MCP server's working directory). |
| slug | string | No | Document slug. Reuse an existing slug to publish a new version; omit to auto-generate. |
| tags | array | No | Optional tags for organization and search. |
| title | string | No | Document title. Defaults to the HTML <title> tag. |
| spaceSlug | string | Yes | Slug of the target space — call list_spaces to find valid slugs. |
| visibility | enum | No | public = anyone with the link; private = team members only. Defaults to private.public | private |
Details
From the project READMEstelaspace-mcp
A local MCP server for publishing HTML files to StelaSpace from coding agents that work with your local files — Claude Code and Codex.
It runs on your machine, so it reads HTML files directly from disk by path and uploads the bytes via the StelaSpace API. That's what lets it publish large (1 MB+) reports and dashboards — unlike passing file contents as a tool argument, which is capped by the model's output size.
Claude Desktop (chat) isn't supported for publishing: its sandbox can't share files with a local MCP server, so it can't upload local reports. Use Claude Code or Codex, where the agent generates the report to disk and publishes it directly.
Tools
publish_file—{ path, spaceSlug, title?, slug?, tags?, visibility? }→ reads the file and returns its permanent URL. Reusing aslugpublishes a new version.list_spaces— list the spaces in your team.list_documents—{ spaceSlug, query? }— list documents in a space.
Setup
Get an API key from StelaSpace → Settings → API Keys (starts with ss_sk_).
Claude Code
claude mcp add stelaspace --scope user \
--env STELASPACE_API_KEY=ss_sk_your_key \
-- npx -y stelaspace-mcp
Codex
~/.codex/config.toml:
[mcp_servers.stelaspace]
command = "npx"
args = ["-y", "stelaspace-mcp"]
env = { STELASPACE_API_KEY = "ss_sk_your_key" }
Then ask the agent to build and publish a report, e.g. "generate the sales dashboard and publish the HTML to my reports space as public."
Environment
STELASPACE_API_KEY(required) — yourss_sk_key.STELASPACE_API_URL(optional) — override the API endpoint. Defaults tohttps://stelaspace.com; most users never need to set this.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.