[WordPress] 外掛分享: BotCreds Agent Access

首頁 › 外掛目錄 › BotCreds Agent Access
WordPress 外掛 BotCreds Agent Access 的封面圖片
30+
安裝啟用
—
尚無評分
10 天前
最後更新
—
問題解決
WordPress 5.7+ PHP 7.4+ v2.4.5 上架:2026-05-21

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.4.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「BotCreds Agent Access」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

BotCreds Agent Access gives your AI agent, MCP client, or automation tool a secure, scoped credential to interact with your site — no code required.
Whether you’re connecting Claude, ChatGPT, a custom MCP server, or an OpenClaw agent, BotCreds gives you profile controls that generate a properly scoped WordPress Application Password and logs recognized write activity by default.
Connecting Claude, Codex, GrokBot or another agent
This page is the setup reference. Your API is on your publisher’s website, not wordpress.org or the demo site. Agent Access issues scoped WordPress credentials; it is not an MCP server and does not give a chat application HTTP tools. Use an agent with authenticated HTTP tools (for example a CLI agent with a terminal) or a compatible REST/MCP connector. Client capabilities vary; a subscription or model name alone does not establish connector support.

An administrator creates a dedicated account through Users → Add Agent, then opens that user’s profile and clicks Connect Agent in Agent Access. Use a separate account per agent.
Select the needed scope and additional permissions, and save. The account’s WordPress permissions still apply; a route allowance is not an Administrator role.
Copy the generated connection JSON and setup prompt into the agent’s private credential/configuration flow. Never put passwords in public chats, screenshots, source control or support tickets. If a tool would forward credentials to another service, review that connector first.
Start with read-only connection checks. Do not use a content write as a login test.

Copy/paste setup prompt

Connect to the publisher site in the credentials I supply privately. Save the application password in your private credential store, not source code. Use HTTPS HTTP Basic Auth with the WordPress username and application password, never my browser-login password. Do not print the Authorization header or password. First GET the site’s WordPress REST users/me endpoint and the supplied connection_info_url. Report the authenticated identity, configured scope, dependencies and any permission blockers. Make no writes until I request them. Do not follow authentication redirects to another host. If authenticated HTTP tools are unavailable, tell me what connector or tool is missing. Do not guess that a successful login grants permission to edit content.

On Agent Access 2.4.4 or later, GET /wp-json/agent-access/v1/connection returns information about only the managed application password used for that request: scope mode, selected grants, account capabilities, dependencies, approval status, configured rate ceilings and endpoint URLs. It does not return passwords, hashes or other credentials. Browser sessions, manually created passwords and Pro tokens are not supported by this discovery endpoint. Older versions return a missing-route error; authentication can still work without discovery. Use the supplied URL when WordPress is installed in a subdirectory or uses ?rest_route= URLs.
Endpoint cookbook

Identity: GET /wp-json/wp/v2/users/me. A 200 proves authentication, not permission for another operation.
Public content: GET /wp-json/wp/v2/posts?per_page=1. This may work anonymously, so it is not a login test. Edit-context reads require separate permissions.
List/count accounts: with List users enabled, GET /wp-json/wp/v2/users?context=view&per_page=100&page=1. Read X-WP-Total and X-WP-TotalPages; paginate to retrieve all matches. This is not permission to create, edit or delete users.
Yoast-only: with Yoast active and the SEO scope selected, GET /wp-json/agent-access/v1/yoast-seo/POST_ID; requested writes go to that same endpoint, for example POST {"opengraph-title":"Social title"}. Regular post writes remain blocked.
Co-Authors Plus: with Assign authors enabled, first GET /wp-json/agent-access/v1/authors/POST_ID/available?search=NAME, then use returned canonical author IDs in a requested POST {"authors":[ID,...]} to /wp-json/agent-access/v1/authors/POST_ID. These are Co-Authors Plus IDs, not interchangeable WordPress user IDs. Requires already-editable content within the credential’s scope. Assign authors last: handing ownership away can remove editing access.

Connection troubleshooting

401 / anonymous identity: verify exact site, username and application password; use HTTPS. Check whether a proxy/firewall strips Authorization or redirects the request. Never send credentials to a redirected host automatically.
403 after users/me succeeds: the password works. Record the JSON error code and route. agent_scope_violation means the requested write is outside the credential scope; agent_credential_pending needs administrator approval. Native WordPress permission errors may require account capabilities or ownership, not broader route patterns. Do not rotate a valid password merely because a write returns 403.
403 on connection discovery: use the plugin-managed BotCreds password, not a browser cookie or a manually created password. This endpoint describes access; it cannot grant it.
404 / rest_no_route: confirm plugin version, route, method and required dependency. Check the REST index on the publisher site. Do not assume a missing discovery endpoint means the credentials are invalid.
429: respect any Retry-After information and back off; ask an administrator to review the rate tier if necessary. Do not retry in a tight loop.
HTML instead of JSON: a login page, hosting firewall or security plugin may be answering before WordPress. Record the status and sanitized response, not credentials.
Working reads but no activity log: reads are not logged by default. Managed writes appear in the log; manually created replacement passwords are not automatically managed. If a password is lost, revoke and regenerate it through Agent Access for the same user, then update the agent’s private store.

Scope changes normally take effect on the next request with the same password; regeneration is not required. Existing prerelease SEO-only credentials may need an administrator to re-save the current scope. For support, provide plugin version, client/tool, sanitized route and method, HTTP status, JSON error code, and whether users/me succeeded. Never provide the password or Authorization header.
Why BotCreds?
Most AI agent setups require digging into wp-config, creating users manually, or sharing admin credentials. BotCreds removes all of that. Install, click, copy, paste — your agent is connected in under a minute.
Features:

Connection setup on user profiles; dashboard under Tools → Agent Access
Generates a secure, scoped Application Password for your AI agent or MCP client
Works with any agent that supports the WordPress REST API: Claude, ChatGPT, OpenClaw, n8n, Zapier, custom MCP servers, and more
User-level and site-level logging of agent actions — see exactly what your agent did and when
Displays credentials in ready-to-paste format (table and JSON)
Shows connection status, creation date, and last used date
One-click revoke with confirmation
Clean, modern admin UI using native WordPress styles
Proper security: nonces, capability checks, password shown only once

Compatibility:

Works with compatible REST/MCP connectors; does not include an MCP server
Requires a client with authenticated HTTP tools or a compatible connector
No third-party services or accounts required — everything stays on your site

延伸相關外掛

文章
Filter
Mastodon