48-hour HTTPS previews of prebuilt static sites and HTML slides. No server builds or backends.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add aifra-temporary-static-previews --env AI_DEPLOY_API_ORIGIN='<AI_DEPLOY_API_ORIGIN>' --env AIFRA_PROJECT_ROOT='<AIFRA_PROJECT_ROOT>' -- npx -y aifra~/.codex/config.toml
[mcp_servers.aifra-temporary-static-previews]
command = "npx"
args = ["-y", "aifra"]
env = { AI_DEPLOY_API_ORIGIN = "<AI_DEPLOY_API_ORIGIN>", AIFRA_PROJECT_ROOT = "<AIFRA_PROJECT_ROOT>" }
# codex mcp add aifra-temporary-static-previews --env AI_DEPLOY_API_ORIGIN='<AI_DEPLOY_API_ORIGIN>' --env AIFRA_PROJECT_ROOT='<AIFRA_PROJECT_ROOT>' -- npx -y aifra~/.cursor/mcp.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"command": "npx",
"args": [
"-y",
"aifra"
],
"env": {
"AI_DEPLOY_API_ORIGIN": "<AI_DEPLOY_API_ORIGIN>",
"AIFRA_PROJECT_ROOT": "<AIFRA_PROJECT_ROOT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"aifra-temporary-static-previews": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"aifra"
],
"env": {
"AI_DEPLOY_API_ORIGIN": "<AI_DEPLOY_API_ORIGIN>",
"AIFRA_PROJECT_ROOT": "<AIFRA_PROJECT_ROOT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"command": "npx",
"args": [
"-y",
"aifra"
],
"env": {
"AI_DEPLOY_API_ORIGIN": "<AI_DEPLOY_API_ORIGIN>",
"AIFRA_PROJECT_ROOT": "<AIFRA_PROJECT_ROOT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"command": "npx",
"args": [
"-y",
"aifra"
],
"env": {
"AI_DEPLOY_API_ORIGIN": "<AI_DEPLOY_API_ORIGIN>",
"AIFRA_PROJECT_ROOT": "<AIFRA_PROJECT_ROOT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"command": "npx",
"args": [
"-y",
"aifra"
],
"env": {
"AI_DEPLOY_API_ORIGIN": "<AI_DEPLOY_API_ORIGIN>",
"AIFRA_PROJECT_ROOT": "<AIFRA_PROJECT_ROOT>"
}
}
}
}Remote
claude mcp add --transport http aifra-temporary-static-previews https://api.aifra.ru/mcp~/.codex/config.toml
[mcp_servers.aifra-temporary-static-previews]
url = "https://api.aifra.ru/mcp"
# codex mcp add aifra-temporary-static-previews --url https://api.aifra.ru/mcp~/.cursor/mcp.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"url": "https://api.aifra.ru/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"aifra-temporary-static-previews": {
"type": "http",
"url": "https://api.aifra.ru/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"httpUrl": "https://api.aifra.ru/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"aifra-temporary-static-previews": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.aifra.ru/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"aifra-temporary-static-previews": {
"url": "https://api.aifra.ru/mcp"
}
}
}Environment variables
AI_DEPLOY_API_ORIGINAIFRA_PROJECT_ROOT
Replace the placeholders with your own credentials and keep them out of version control.