# tilda-mcp

Connects the Tilda API to your AI agent: project and page lists, page HTML and CSS, export for self-hosting.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 21
- Author: theYahia
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/theYahia/tilda-mcp
- Updated: 2026-09-02
- HTML: https://affpapa.org/en/nevibecode/mcp/tilda-mcp

## What it does

This server puts your Tilda sites inside the agent. Ask which pages a project holds and when each went live, and the answer comes back as a table with dates. There are 7 tools, one per Tilda API method: projects list, project details with a sample `htaccess` or `nginx` config, pages list, a full page with `<head>`, body only, and two export calls that bring localised assets along.

Page tools accept `metadata_only: true`, which returns just the metadata and skips `html`, `css` and `js`. Handy when a page is large. Whole-project export has no single call: run `get_pages`, then `get_page_export` for every `id`.

You need the public and secret keys from your Tilda account, passed as `TILDA_PUBLIC_KEY` and `TILDA_SECRET_KEY`. The Tilda API only reads keys from query parameters, so keep them out of unencrypted proxies and logs. The API allows 150 requests per hour; the client retries with growing delays and honours `Retry-After`. An HTTP mode is available too (`--http --port 3001`, endpoint `http://localhost:3001/mcp`), and it keeps no session state.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `TILDA_PUBLIC_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add tilda-mcp -e TILDA_PUBLIC_KEY=<TILDA_PUBLIC_KEY> -- npx -y @theyahia/tilda-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add tilda-mcp --env TILDA_PUBLIC_KEY=<TILDA_PUBLIC_KEY> -- npx -y @theyahia/tilda-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "tilda-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@theyahia/tilda-mcp"
            ],
            "env": {
                "TILDA_PUBLIC_KEY": "<TILDA_PUBLIC_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "tilda-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@theyahia/tilda-mcp"
            ],
            "env": {
                "TILDA_PUBLIC_KEY": "<TILDA_PUBLIC_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e TILDA_PUBLIC_KEY=<TILDA_PUBLIC_KEY> tilda-mcp npx -y @theyahia/tilda-mcp
```
Replace <…> with your own values

## When to use it
- list the pages in a Tilda project with their publish dates
- pull a page's HTML and CSS so the assistant can suggest edits
- export a page with its assets for your own hosting
- get a web server config for a project's domain
- read metadata of a big page without spending context on markup

## Example prompts
- Show my Tilda projects
- List pages of project 12345 with publish dates
- Export page 67890 for my own hosting

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
