CastHTML Remote MCP Server
CastHTML's MCP lets Claude, Cursor and other AI agents publish generated HTML dashboards or Markdown research reports as sandboxed, shareable online links (cast_live_... API key as bearer). Endpoint verified live on RemoteMCP.net (preflighted 401/403 auth required).
- Provider
- CastHTML โ
- Categories
- ๐ ๏ธ Developer Tools & Git๐จ Design & UI/UX
ไธญๆ็ฎไป
CastHTML ๅฎๆนๆ็ฎก็่ฟ็จ MCP ๆๅกๅจใCastHTML ๅฎๆน่ฟ็จ MCP๏ผ่ฎฉ ClaudeใCursor ไธๅ็ฑป AI ไปฃ็ไธ้ฎๅฐ็ๆ็ HTML ็ๆฟๆ Markdown ็ ็ฉถๆฅๅๅๅธไธบๅฎๅ จๆฒ็ๅจ็บฟๅไบซ้พๆฅ๏ผไฝฟ็จ cast_live_... API Key ้ดๆ๏ผใ
Maintainer of CastHTML? Claim or update this listing โ
๐ Client-side only โ never leaves your browser.
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"casthtml": {
"url": "https://casthtml.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}claude mcp add --transport http casthtml https://casthtml.com/mcp
With credential header:
claude mcp add --transport http casthtml https://casthtml.com/mcp --header "Authorization: Bearer YOUR_API_KEY"
Or add to .vscode/mcp.json:
{
"servers": {
"casthtml": {
"type": "http",
"url": "https://casthtml.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}- Open Settings โ Connectors (Integrations) โ Add Custom Connector.
- Paste the endpoint URL:
https://casthtml.com/mcp - Provide your API key / Bearer token when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"casthtml": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://casthtml.com/mcp",
"--header",
"Authorization: Bearer YOUR_API_KEY"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"casthtml": {
"serverUrl": "https://casthtml.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"casthtml": {
"url": "https://casthtml.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.codex/config.toml โ Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.casthtml] url = "https://casthtml.com/mcp" bearer_token_env_var = "CASTHTML_TOKEN"
Add to cline_mcp_settings.json (Cline โ MCP Servers โ Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"casthtml": {
"type": "streamableHttp",
"url": "https://casthtml.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Add to ~/.gemini/settings.json under mcpServers โ httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"casthtml": {
"httpUrl": "https://casthtml.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}๐งฐ CastHTML MCP Tools & Schema (5)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| publish_report ~140 tok | ๐ Write | Publish an HTML page or Markdown report into a secure sandbox and get a shareable /r/{slug} link. | content*: stringtitle: stringformat: stringrender_mode: stringis_public: boolean |
| update_report ~97 tok | ๐ Write | Update an existing report in place by id_or_slug while keeping the share link unchanged. | id_or_slug*: stringcontent*: stringtitle: string |
| list_reports ~40 tok | ๐ข Read | List the most recent 50 reports on the current account. | โ |
| get_report ~56 tok | ๐ข Read | Fetch report metadata and body by id_or_slug. | id_or_slug*: string |
| delete_report ~63 tok | ๐ด Destructive | Permanently delete a report by id_or_slug and invalidate its share link. | id_or_slug*: string |
๐ก๏ธ Security, Quality & Context Token Audit
Every tool definition (name + description + input schema) is injected into your LLMโs context on every request โ Estimate per-call LLM token cost โ
- No prompt-injection or hidden-character anomalies detected in tool descriptions
- Streamable HTTP primary endpoint (current 2025-03-26 transport)
- Static credential (Bearer token / API key) โ protect it in client config
- Official first-party endpoint operated by the vendor
- Manually verified by RemoteMCP.net
๐ OAuth 2.1 & Security
- Auth type
- Bearer Token
- Dynamic Client Registration
- โ
- PKCE S256
- โ
- Protected resource metadata
- https://casthtml.com/.well-known/oauth-protected-resource (expected location)
๐งฉ Recommended Agent Skills
๐ CastHTML MCP Endpoint Overview & Security Guide
CastHTML โ Remote MCP Server
CastHTML's MCP lets Claude, Cursor and other AI agents publish generated HTML dashboards or Markdown research reports as sandboxed, shareable online links (cast_live_... API key as bearer). The remote endpoint means there is nothing to install โ point your MCP client at the URL and supply your credential as a bearer token. CastHTML operates and versions the server themselves, so tool coverage tracks their API surface as it ships.
Official CastHTML Endpoint & Transport Architecture
- Endpoint URL:
https://casthtml.com/mcp - Transport: Streamable HTTP
Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. CastHTML does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.
Authentication, Scopes & Permission Boundaries
CastHTML uses bearer-token authentication. Create an access token in your CastHTML account settings, then send it as Authorization: Bearer <token>. No OAuth redirect flow is involved.
Of the 5 cataloged tools, 2 are read-only and 3 can write or mutate state (create resources, run SQL, post messages). Grant access only to the accounts and projects you intend agents to act on, and prefer scoped credentials or a dedicated workspace where the provider supports them.
Common Troubleshooting & Connection Tips
- 401/403 responses โ your credential is missing or rejected. Regenerate the key/token and make sure it is sent as an
Authorization: Bearerheader on every request, including theinitializecall. - "Session expired" / stale
Mcp-Session-Idโ just re-sendinitialize; stateless clients can ignore session headers entirely.
๐ How to Connect
- Copy the CastHTML endpoint URLThe remote endpoint is https://casthtml.com/mcp.
- Add it to your MCP clientClaude Code:
claude mcp add --transport http casthtml https://casthtml.com/mcp. Cursor: add"casthtml": { "url": "https://casthtml.com/mcp" }undermcpServersin ~/.cursor/mcp.json. Other clients work similarly. - Configure your credentialGenerate an access token at https://casthtml.com and add an
Authorization: Bearer <token>header to the server's config (supported by Cursor, VS Code, Windsurf and mcp-remote --header). - Verify with the online inspectorPaste https://casthtml.com/mcp into remotemcp.net/inspector, run initialize and tools/list, and confirm CastHTML's 5 tools respond.
โ FAQ
What is the CastHTML remote MCP endpoint?
The primary endpoint is https://casthtml.com/mcp. It is an official first-party server operated by CastHTML, speaking the Streamable HTTP transport.
How do I authenticate with CastHTML?
CastHTML expects a credential sent as an Authorization: Bearer header. Generate the token in your CastHTML account and add it to your client's headers.
I'm getting a 401 Unauthorized from CastHTML โ what's wrong?
Your Bearer credential is missing, malformed or expired. Confirm it is attached to every request โ including initialize โ and that no proxy is stripping the Authorization header.
Which MCP clients work with CastHTML?
Any client that supports remote MCP servers: Cursor, Claude Code (`claude mcp add --transport http casthtml https://casthtml.com/mcp`), VS Code Copilot, ChatGPT connectors, Windsurf, Kiro (`~/.kiro/settings/mcp.json`), and Claude Desktop via the `mcp-remote` bridge.
What tools does CastHTML expose?
5 tools are cataloged in this directory โ including `publish_report`, `update_report`, `list_reports` and more. Use our online inspector to fetch the live tool list straight from the endpoint.
๐ Connect Guides
๐ Embed Status Badge in README
Related Servers
GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.
Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.
Claude Skills's hosted remote MCP server. ClaudeSkills.club's public MCP lets agents search and pull from a catalog of 90,000+ Agent Skills (SKILL.md) โ workflow specs, safety scores and one-line install instructions. It is public and unauthenticated โ connect and call tools immediately.
GitLab's hosted remote MCP server. GitLab's official MCP server gives agents first-party access to repositories, merge requests, issues, pipelines and code search across gitlab.com and self-managed instances. It is protected by OAuth 2.1; compliant clients complete a browser consent flow with PKCE.