| 开发者 | dotrex |
|---|---|
| 更新时间 | 2026年11月13日 21:19 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_undo_change / wp_redo_change), newest first in batches, and conflicts with later human edits are reported instead of overwritten.confirm: true before it deletes or trashes something, undoes a change, makes a destructive redo or takes an irreversible action. The agent controls that flag, so it is a brake and not a security boundary.javascript: links and Custom HTML blocks are refused or removed.wsrep_on=ON) and a custom wp-content/db.php drop-in.GET_LOCK() and to run SET SESSION TRANSACTION ISOLATION LEVEL. Llamly sets REPEATABLE READ for each write and restores the previous level, so the host default does not need to change.innodb_flush_log_at_trx_commit must be 1 or 2. Value 1 is fully durable; with 2 an operating system crash or power loss can lose about one second of committed changes, including journal entries. Value 0 is refused.max_allowed_packet of 16 MB or more is recommended; large changes can be refused below that.https://your-site.example/wp-json/llamly/v1/endpoint. OAuth discovery is published at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server on your site root.
Apps that sign in with OAuth (claude.ai, Claude Desktop, ChatGPT, Cursor)
OAuth needs your site on a public HTTPS address. New OAuth clients can only register while the registration window is open: the recipe opens it for 30 minutes when you start. Closing the window never disconnects existing apps, and an app that is already registered can reconnect at any time when an administrator approves the sign-in on your site. Other users can approve a sign-in only while the window is open.
{ "mcpServers": { "my-site": { "url": "<endpoint>" } } } to ~/.cursor/mcp.json and approve access on your site when Cursor asks.claude mcp add --transport http my-site <endpoint> --header "Authorization: Bearer <key>", then run /mcp in a new session.export LLAMLY_API_KEY="<key>" (also in your shell profile), then codex mcp add my-site --url <endpoint> --bearer-token-env-var LLAMLY_API_KEY, then /mcp.agy mcp add --header "Authorization: Bearer <key>" my-site <endpoint>. To remove it: agy mcp remove my-site."type": "remote", "url": "<endpoint>", "oauth": false and an Authorization: Bearer <key> header to ~/.config/opencode/opencode.json (or opencode.json in a project), then opencode mcp list."url" and an Authorization: Bearer <key> header to ~/.cursor/mcp.json and restart Cursor.claude_desktop_config.json entry that starts the open source mcp-remote bridge through npx (Node.js required) with your key. The key is stored in plain text in that file, so prefer a read-only key if you do not need edits.A plugin that lets AI apps act on your site through the Model Context Protocol (MCP), the open standard that ChatGPT, Claude, Cursor and other agents use to call external tools. Llamly MCP turns your WordPress site into one of those tools, so your agent can publish, edit and organize things directly instead of telling you what to click.
Install Llamly MCP, open Llamly > Connections and pick ChatGPT. On chatgpt.com, turn on Developer mode in Settings > Security and login, add a custom MCP server with your Llamly endpoint and OAuth authentication, and approve access on your site. It needs a Plus, Pro, Business, Enterprise or Edu plan and a public HTTPS site.
For claude.ai and Claude Desktop, click "Add to Claude" in the Llamly recipe and approve the sign-in on your site, with no terminal and no key. For Claude Code, create a key in the recipe and run the one-line command shown there.
No. Llamly does not call any AI model. You use the AI app you already have, on its own plan, and that app connects to your site. Llamly only needs its own access key or an OAuth approval, both created inside your site.
Yes. This plugin is free and licensed GPLv2 or later. Llamly does not meter requests; the only limit is the rate limit per connection you set in Settings.
No. There is no account and no sign-up. Everything runs inside your WordPress site.
No. Apps like ChatGPT and claude.ai connect with a click and an approval on your site, and from then on you just ask in plain language. Terminal apps such as Claude Code and Codex get a ready-to-paste command.
Any MCP client over Streamable HTTP. Recipes are included for ChatGPT, claude.ai, Claude Desktop, Claude Code, Codex, Cursor, OpenCode and Antigravity CLI.
Almost every change is journaled and can be undone, safe mode makes the agent confirm before deleting or undoing, and the optional approval queue holds publishing for you. The agent works with content permissions only, never administrator ones. Keys can be read only, and every request is logged. See "Safe by design" above.
Yes, read only: the agent can read Elementor pages, templates, widgets and global styles, but Llamly never writes Elementor data.
No. There is no Llamly server or relay. The AI app you connect (ChatGPT, Claude, Codex, Cursor and others) sends requests straight to your site with an access key or an OAuth grant that a user of your site created, and you can revoke it at any time in Connections. Each request runs as that user with content permissions only: an administrator's key cannot change site settings, users, plugins, themes or code, and cannot write unfiltered HTML.
No. Your posts, pages, media, connections, keys, logs and change journal are never sent anywhere. Llamly makes no outbound calls at runtime, except the optional usage statistics described in External services, which send nothing unless an administrator opts in. The AI app you connect sends requests to your site and receives the answers; what that app does with them is governed by its own terms. The connection diagnostics in Connections (Run checks) only call your own site (loopback) to check that the REST API, the MCP endpoint and the OAuth discovery URLs answer.
By default the agent can create, edit and publish without waiting for you, and every change is journaled, so almost everything can be undone in Activity. With safe mode on (the default) the agent must first show you what it will do and send confirm: true before it deletes or trashes something, before it undoes a change, before a redo that is destructive or irreversible, and before changes that cannot be undone. Llamly cannot create, change or delete users. Llamly cannot change site settings either. If you want to approve things yourself, turn on "Require my approval to publish" in Settings: those requests then wait for you in wp-admin.
The Activity tab does not read the current state of every item, so it stays fast with a large history. If you edited an item in WordPress after the agent changed it, Llamly checks the real state when you click Undo and, if the item changed, warns you instead of overwriting your edit.
Approval requests expire after 7 days. The agent must send a new request after that.
In Connections, open the app's menu under Connected apps and click Revoke access. The next request with that token or key is rejected. Deactivating the plugin also stops every connection: the endpoint no longer exists while Llamly is inactive.
If the browser checks pass, this is shown as a warning, not a failure: AI apps connect from outside. Security and cache plugins (Wordfence, Solid Security, All In One WP Security, Sucuri, WP Rocket, W3 Total Cache, LiteSpeed Cache and others) are listed as a heads-up, since they sometimes restrict or cache REST requests.
Media uploads go through MCP as base64 in a single request that is limited to 1 MiB, so one wp_upload_media call carries a file of up to about 693 KB (or less if your PHP upload limit is lower). Text fields such as the caption travel in the same request; for long texts upload the file first and then call wp_update_media. Larger files are refused with a clear message.
Yes for apps that run on your computer and use a key (Claude Code, Codex, Cursor, Antigravity CLI, OpenCode) and for Claude Desktop through the local bridge. claude.ai, ChatGPT and the Claude cloud connector need a public HTTPS address.
Connections, history and settings are kept per site.
By default nothing is removed, so you can reinstall without losing connections, history and settings. If you turn on "Delete data when deleting the plugin" in Settings (it asks for confirmation), deleting the plugin removes Llamly's own tables, options, transients, user meta and the uploads/llamly-mcp folder. Posts, pages, media, users and any other WordPress content are never removed by uninstall.
Before an update that rewrites or removes existing data or columns in Llamly's tables, the previous tables are first copied to backup tables named <table>_bak_v<N>. Purely additive updates (new columns or tables) make no copy. The latest backups stay in the database as a safety net, and older ones are removed after a later verified update; deleting the plugin with "Delete data when deleting the plugin" turned on also removes them.
javascript: links and Custom HTML blocks are refused or removed in posts, patterns, block edits and templates.confirm: true to delete, trash, delete a restore point, undo, redo destructive or irreversible changes and for irreversible actions. An optional approval queue in Settings holds publishing or changing anything visitors see (content, comments, menus, templates, styles, media in use), users and settings for a human. A restore requested by an agent always needs a human.db.php drop-ins, GET_LOCK and PHP time limits before it writes, and the Doctor reports each one with what to ask your host.