Linux 软件免费装
Banner图

Llamly MCP - AI Agent with ChatGPT & Claude

开发者 dotrex
更新时间 2026年11月13日 21:19
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

chatgpt claude mcp ai-agent model-context-protocol

下载

1.1.0 1.0.3

详情介绍:

Llamly MCP connects your WordPress site to the AI you already use: ChatGPT, Claude, Codex, Cursor and other AI agents. Ask in plain language and your agent writes, edits and organizes the site for you, with your WordPress content permissions, a full change history and undo. It is a free WordPress MCP server (Model Context Protocol) that runs inside your own site: no relay, no Llamly server in between, no Llamly account and no API key from an AI provider. https://www.youtube.com/watch?v=mJwEgav2r40 Use the AI subscription you already have. Keep every change reversible. Ask things like "publish the three drafts about our new service", "find every image without alt text and fill it in", "add a FAQ section to the pricing page", "move Contact to the end of the main menu" or "undo the last change you made", and your agent does it on your site. What is a WordPress MCP server? MCP (Model Context Protocol) is the open standard AI apps use to work with other software. A WordPress MCP server gives ChatGPT, Claude or any MCP-capable agent a set of typed, permission-checked actions on your site, such as publishing a post or updating a menu, instead of you copying and pasting between a chat window and wp-admin. Llamly MCP is that server, installed like any other plugin. What your agent can do Connect ChatGPT to WordPress ChatGPT signs in with OAuth, so no key is needed. On chatgpt.com, turn on Developer mode in Settings > Security and login, add a custom MCP server with your Llamly endpoint as the server URL and OAuth authentication, then approve access on your site. Needs a ChatGPT plan with developer mode (Plus, Pro, Business, Enterprise or Edu) and your site on a public HTTPS address. Connect Claude to WordPress (claude.ai and Claude Desktop) Watch the 2-minute tutorial: https://www.youtube.com/watch?v=0lrDl_NwaSw Click "Add to Claude" in the Llamly recipe, review the request on your site, choose read only or read and write, and click Approve access. The same connector shows up in Claude Desktop on the same account. Needs a public HTTPS address; for a site on your computer, Claude Desktop uses the local bridge shown in the recipe. Connect Claude Code, Codex, Cursor, OpenCode and Antigravity CLI Create an access key in the Llamly recipe and paste the ready-made command. For Claude Code: claude mcp add --transport http my-site https://your-site.example/wp-json/llamly/v1/endpoint --header "Authorization: Bearer YOUR_KEY" The Connections tab shows the exact command or config for each app, with your endpoint filled in. These apps also work with a local WordPress site, with no public address needed. Safe by design You are handing an AI real access to your site, so Llamly is built to keep you in charge: Undo brings content back, but it cannot take back effects outside your database such as caches and CDNs. See Limitations below. What Llamly does not do No arbitrary SQL, shell, WP-CLI or file editing; no site settings, user changes or server logs; no installing, updating or switching plugins and themes; no fetching of remote URLs; no writing to Elementor. Llamly has no internal AI chat and does not send your content to any AI provider: the AI app you connect calls your site, not the other way around. Requirements The Doctor in the Connections tab (Run checks) tests these requirements on your server and tells you what to ask your host for. Tested apps Tested end to end with Claude Code, Codex, OpenCode, claude.ai, ChatGPT, Claude Desktop (cloud connector), Cursor (access key) and Antigravity CLI. Recipes are included, and testing is under way, for Cursor sign-in and the Claude Desktop local bridge. If a recipe does not work for you, please tell us in the support forum. Admin screens One Llamly menu with five tabs: Connections (connected apps, recipes and the Doctor), Activity (change history with undo and redo and approval requests), Logs (filterable audit log with CSV export), Settings and About (getting started and example requests). The interface is in English and can be translated on translate.wordpress.org; wp-admin and the OAuth sign-in page follow each user's language. Credits and licenses Llamly is GPLv2 or later. Its connection recipes, OAuth flow and transport were modelled on Cowboy MCP (GPL-2.0-or-later); interface icons come from Lucide (ISC) and client marks from Simple Icons (CC0) and OpenCode (MIT). Details are in THIRD-PARTY-NOTICES.txt inside the plugin.

安装:

  1. Install Llamly MCP from Plugins > Add New, or upload the ZIP in Plugins > Add New > Upload Plugin.
  2. Activate it. Llamly creates its own database tables on activation.
  3. Open Llamly in the admin menu. The Connections tab lists the supported apps and shows the recipe for each one with your site address already filled in.
Your MCP endpoint is 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. Apps that use an access key (Claude Code, Codex, Cursor, Antigravity CLI, OpenCode, Claude Desktop local bridge) In the recipe, create a key: give it a name and choose full access, read only or chosen tool categories. The key acts as the WordPress user who created it, with that user's content permissions and never administrator ones. It is shown once. After the first request, the Connections tab marks the app as connected and the request appears in Logs.

屏幕截图:

  • Activity: a request waiting for approval, shown with a before and after of the change, and the history of every change made by an agent with undo and redo.
  • Logs: audit trail of every MCP request, including refused ones, with filters by connection, result and date.
  • Settings: server switch, safe mode, the optional approval queue, rate limit, OAuth rules and retention.
  • About: what Llamly does, first steps and example requests to try with your agent.

升级注意事项:

1.1.0 Optional, opt-in usage statistics through Freemius: nothing is sent without your consent, and Skip keeps everything working. Llamly Pro add-on coming soon. 1.0.3 The MCP endpoint authenticates in its REST permission callback. Translations now come from translate.wordpress.org. 1.0.2 Agents now work with content permissions only, for every user role: no site settings, PHP error log or Site Health tools, and no unfiltered HTML. 1.0.1 Users are read only, global styles no longer accept custom CSS, and database restore points were removed (existing ones are deleted on update). 1.0.0 First public release. Writes no longer wait for approval by default; turn on the approval queue in Settings if you want that. Safe mode now asks the agent for confirm: true before deleting, undoing and irreversible actions.

常见问题:

What is a WordPress MCP server?

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.

How do I connect ChatGPT to my WordPress site?

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.

How do I connect Claude to my WordPress 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.

Do I need an API key from OpenAI or Anthropic?

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.

Is it free?

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.

Do I need a Llamly account?

No. There is no account and no sign-up. Everything runs inside your WordPress site.

Do I need to be a developer?

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.

Which AI apps work with it?

Any MCP client over Streamable HTTP. Recipes are included for ChatGPT, claude.ai, Claude Desktop, Claude Code, Codex, Cursor, OpenCode and Antigravity CLI.

Is it safe? Can the AI break my site?

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.

Does it work with Elementor?

Yes, read only: the agent can read Elementor pages, templates, widgets and global styles, but Llamly never writes Elementor data.

Does an outside service administer my site?

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.

Does Llamly send my content anywhere?

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.

Can the agent publish or delete things without me?

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.

Why doesn't the history show "changed outside Llamly"?

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.

How long do approval requests last?

Approval requests expire after 7 days. The agent must send a new request after that.

How do I disconnect an app?

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.

The Doctor says the server can't reach its own address.

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.

Which upload size can the agent send?

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.

Does it work with a local WordPress site?

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.

Does it work on multisite?

Connections, history and settings are kept per site.

What happens to my data when I delete the plugin?

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.

更新日志:

1.1.0 1.0.3 1.0.2 1.0.1 1.0.0 First public release on WordPress.org. It summarizes the changes since the 0.1.0 preview, which was never published here.