
Mimetic
com.trymimeticv1.0.2更新於 Oct 7, 2026
Growth data for any site you own: audit findings, session recordings, GA4, Ads and Search Console.
概覽
Mimetic 為助手提供你所擁有網站的成長分析脈絡,包括稽核、工作階段重播、GA4、Ads 與 Search Console 資料。
- 功能
- Mimetic 提供讀取工具,用來取得依優先順序排列的稽核發現、去識別化的工作階段重播洞察,以及跨 GA4、Search Console、Google Ads、PostHog 與 Klaviyo 的唯讀分析查詢。它也包含明確描述的操作工具,可啟動稽核、建立或設定分析與廣告資源,並發起可審查的程式碼修正流程,以拉取請求、差異或預覽形式呈現。命令列工具 mim 可在終端提供相同的脈絡與操作,MCP 二進位檔則把 stdio 訊息代理到 Mimetic 託管的 Streamable HTTP 端點。
- 適用情境
- 當你希望 AI 用戶端在不匯出 CSV、不切換儀表板的情況下分析網站成長資料時使用:稽核網站、調查獲客與轉換表現、檢查生命週期行銷,或把某個高優先順序的發現轉為可審查的修正。它適合已為自有網站使用 GA4、Search Console、Google Ads、PostHog、Klaviyo、GitHub 或 Shopify 的團隊。
- 執行需求
- 本機 CLI 需要 Node.js 20 或更新版本,並全域安裝以使 mim 留在 PATH 中;遠端端點為 Mimetic 持有者權杖,可透過瀏覽器裝置流程互動取得,或在無介面與 CI 情境下以 MIM_API_TOKEN 環境變數提供。選用的 MIM_PROJECT 可設定預設專案。相關查詢需要已授權連線的服務商帳號(Google、PostHog、Klaviyo)。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mimetic,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mimetic": {
"type": "http",
"url": "https://mcp.trymimetic.com/mcp"
}
}
}README
mim: the Mimetic CLI
Bring your site's growth context into the terminal and the AI tools where you already work.
Quick start
Install it, then run setup. Setup handles sign-in, project detection, and MCP registration for whichever agents this machine has, and verifies each step for real rather than assuming it worked.
Setup registers the server with Claude Code, Codex, Cursor, Windsurf and
Claude Desktop, whichever of them it finds. Each config file is backed up
before it is written, and any other MCP servers you have are left alone. Add
one later with mim mcp install cursor, or re-run mim mcp install all.
Install globally rather than through npx. Your agent launches mim as the
MCP server, so it needs a mim that stays on your PATH, and every example in
these docs is written as mim <command>. Requires Node.js 20 or newer.
Re-running setup is safe: it reuses your existing login and registration instead of creating new credentials.
If mim says "command not found" after the install, npm's global bin
directory is not on your shell PATH. Run this to see the exact fix for your
shell:
That prints the export PATH= line to add to your shell profile. Use the npx
form for one-off commands too, but install globally before wiring up an MCP
client.
Mimetic connects audits, live analytics, ad performance, lifecycle marketing,
and session behavior so you can find what is holding growth back, decide what
to do next, and move into a reviewable fix workflow without hopping between
dashboards. Use mim directly from the shell or give the same context and
actions to Claude Code, Codex, and other MCP clients.
Mimetic is the hosted service behind the CLI. Learn more at trymimetic.com.
What you can accomplish
- Find the highest-impact problems. Pull site audits, prioritized findings, and redacted session-replay insights into one project context.
- Answer growth questions with live data. Query acquisition, conversion, revenue, search, advertising, product analytics, and lifecycle performance without exporting CSV files.
- Repair measurement and acquisition setup. Provision hosted GA4 and Search Console, install tracking through a PR, Shopify pixel, or agent-applied snippet, and create or connect Google Ads resources.
- Turn findings into reviewable work. Start a code-fix workflow, then open the proposed PR, diff, preview, or Mimetic review page.
- Give coding agents business context. Let an MCP client inspect the same findings and connected data before it recommends or starts an action.
Integrations
Questions you can answer
Once the relevant accounts are connected, you can use the CLI or ask an MCP client questions such as:
- Which landing pages lost organic clicks but still convert well in GA4?
- Where is ad spend rising without a matching increase in conversions?
- What are users struggling with in recent high-priority sessions?
- Is the abandoned-cart flow live, and which campaign templates contain dead links?
- What is the highest-priority fix that is ready to start, and where can I review the proposed change?
From context to action
Running commands
With a global install, run mim <command>. Without one, every command also
works through npx:
Authentication and local credentials
mim auth login opens a browser-based device flow. The server-issued token
expires after a configured lifetime (90 days by default).
Logging in is idempotent: if this machine already has a working token, mim auth login verifies it against the server and reuses it instead of minting a
new one. Use mim auth login --force to sign in as a different account.
After every login the CLI makes a real API call to confirm the token works and
to list your projects. Projects belong to the email your Mimetic audit or
report was sent to. If you sign in with a different email (personal instead of
work, for example), the project list will be empty and the CLI tells you which
email to use instead. mim auth status runs the same server-side verification
and shows exactly which account and projects this machine is using.
Headless servers and SSH
The browser does not need to run on the same machine as the CLI. On a server without a desktop environment, start the device flow without attempting to launch a local browser:
Keep that process running, open the printed verification URL on your laptop or
phone, and approve the login there. The server will finish the login by polling
Mimetic and will store its own token in ~/.mim/config.json.
For unattended deployments, provide MIM_API_TOKEN through the server's secret
manager or environment instead of relying on an interactive login. Do not put
the token directly in a command argument.
By default, the CLI stores that bearer token as plaintext JSON in
~/.mim/config.json. On supported POSIX systems it enforces mode 0700 on the
directory and 0600 on the file whenever credentials are saved. The token is
not encrypted locally and is not stored in the operating-system keychain.
mim auth logout revokes the stored managed token on Mimetic's server before
removing the local file. If revocation cannot be confirmed, the CLI keeps the
local credentials and reports the error. mim auth logout --local-only removes
only the local copy; the token remains usable until it expires or is revoked
another way.
For CI or a secret manager, set MIM_API_TOKEN instead. Environment tokens
override locally stored credentials and are never changed by mim auth logout.
Tokens are intentionally not accepted as command-line arguments, where they
could be exposed through shell history or process listings.
Commands
Run mim --help for all options.
MCP
The mim-mcp binary proxies MCP stdio messages to Mimetic's hosted
Streamable HTTP endpoint. mim setup registers it for you. To register only
the MCP piece:
Every file write is backed up first and read back after, and other MCP servers
already in the file are preserved. Codex config is TOML, so the entry is
appended rather than the file being reparsed and rewritten. Running any of
these twice does not create a duplicate entry. Add --print to any of them to
see the block without writing anything.
mim mcp install claude registers at user scope on purpose: the Claude Code
default (local scope) only applies to the directory the command ran in, which
is the most common reason a "successful" install never shows up in a session.
After registering, the CLI reads the entry back through claude mcp get mim
and makes a live call to the hosted endpoint, so success means the server is
reachable, not just that a command exited 0.
The MCP surface includes read tools for findings, redacted replay insights, and provider-read-only analytics queries. It also includes explicitly described action tools that can start audits, create or configure analytics/advertising resources, or initiate reviewable fix workflows. Review tool descriptions and your client's approval prompt before authorizing an action.
See docs/MCP.md for client configuration, the data flow, remote HTTP setup, and registry publication notes.
Connected-data access
The CLI and MCP wrapper are clients for Mimetic's hosted API; they do not query Google, PostHog, or Klaviyo directly from your computer. Credentials, tool arguments, and requested provider results pass through Mimetic's systems. Mimetic therefore has technical access to connected credentials and data while providing the request. A connector's “read-only” label describes its permissions at the third-party provider; it does not mean the data is invisible to Mimetic.
PostHog queries can return distinct identifiers and event or user properties available to the connected project. The current Klaviyo connector does not request profile or write scopes. If you invoke tools through an AI client, the returned data is also provided to the AI client and account you configured.
See the Privacy Policy and Terms of Service before connecting production data.
Transport security
Bearer tokens are sent only to HTTPS URLs by default. Plain HTTP is allowed for
loopback hosts such as localhost, 127.0.0.1, and ::1. For an unusual local
development environment, MIM_ALLOW_INSECURE_HTTP=1 explicitly disables this
protection; do not use it with production credentials.
Environment
Metadata telemetry includes the client version, project, command or tool name, status, duration, trace ID, HTTP status, and bounded diagnostics. It is designed not to include access tokens, query text, MCP arguments, replay narratives, or provider results. Hosted requests and results still reach Mimetic when telemetry is disabled.
Development
Licensed under the MIT License. Copyright © 2026 Mimetic Inc.
來源:README.md,提交 5213675
工具
0版本歷史
1- v1.0.2最新Oct 7, 2026
