內容簡介
總結:WebSamurai 將 AI 功能帶入您的 WordPress 網站,透過強大的 Model Context Protocol(MCP)伺服器實作,為您提供安全介面讓 AI 工具與您的 WordPress 安裝互動。
問題與回答:
1. WebSamurai 透過什麼方式為您的 WordPress 網站提供 AI 能力?
- 透過強大的 Model Context Protocol(MCP)伺服器實作。
2. 在何種情況下可以使用 WebSamurai?
- 可以將 Claude Desktop、Claude Code、ChatGPT 或其他喜歡的 AI 助手連接到您的 WordPress 網站。
- 可以進行 AI 動力的內容管理。
- 可以創建與 WordPress 互動的自定義 AI 工具。
- 可以使用 AI 自動化 WordPress 任務。
- 可以直接從您的網站運行指令。
- 可以讓您的客戶輕鬆接觸到 AI 驅動的內容。
3. 如何進行 WebSamurai 的自動安裝?
- 登入您的 WordPress 管理面板。
- 前往外掛程式 > 新增外掛。
- 搜尋「WebSamurai」。
- 點擊「立即安裝」,然後「啟用」外掛。
外掛標籤
開發者團隊
原文外掛簡介
WebSamurai brings AI capabilities to your WordPress site through a powerful Model Context Protocol (MCP) server implementation. This plugin provides a secure interface for your AI tools to interact with your WordPress installation.
The premium service will allow you to simply type your command on the front-end and it will update your pages or posts or other types based on your prompt.
Key Features
Model Context Protocol (MCP) Server – HTTP-based MCP server with JSON-RPC 2.0 implementation
Secure API Key Authentication – Generate and manage API keys with enterprise-grade security
Easy-to-Use Admin Interface – React-based admin panel for managing API keys
OAuth Integration – Built-in OAuth support for secure authentication to the remote services
Developer-Friendly – Clean, extensible codebase following WordPress coding standards
Use Cases
Connect Claude Desktop, Claude Code, ChatGPT or your favorite AI Assistant to your WordPress site
AI-powered content management
Create custom AI tools that interact with WordPress
Automate WordPress tasks using AI
Run instructions directly from your site
Allow your clients an easy interface to AI driven content
Technical Highlights
JSON-RPC 2.0 over HTTP protocol
Stateless HTTP transport (no persistent connections required)
API key-based authentication (X-API-Key or Authorization Bearer)
Keys prefixed with sk_ followed by 64 hexadecimal characters
Standard JSON-RPC error handling
Getting Started
Install and activate the plugin
Navigate to WebSamurai in your WordPress admin menu
Generate an API key with a descriptive name
Copy your API key immediately (you won’t be able to see it again)
Use the API key to connect your AI tools to WordPress
Premium Service
Sign up for an account on WebSamurai.
On your admin panel, Navigate to WebSamurai, OAuth Connection
Connect to the server
You will now see an “AI” tab on the front of your website that will allow you to make prompts to the AI.
The will also be a “Generate Image” on the Media and on the Image block that will allow you to create images.
API Endpoints
Main MCP Endpoint: /wp-json/websamurai/v1/mcp
Server Info: /wp-json/websamurai/v1/mcp/info
API Key Management: /wp-json/websamurai/v1/api-keys
Claude Desktop Configuration
Take a look at https://www.websamurai.io/chatbot_setup/ to see how to setup various chatbots
Developer Resources
Built with React and WordPress REST API
Follows WordPress coding standards
Extensible architecture for adding custom tools
Comprehensive MCP server implementation
Automatic Installation
Log in to your WordPress admin panel
Navigate to Plugins > Add New
Search for “WebSamurai”
Click “Install Now” and then “Activate”
Manual Installation
Download the plugin ZIP file
Log in to your WordPress admin panel
Navigate to Plugins > Add New > Upload Plugin
Choose the ZIP file and click “Install Now”
Click “Activate Plugin”
Post-Installation Setup
Navigate to WebSamurai in the admin menu
Generate your first API key
Copy the API key and store it securely
Configure your AI tools to use the API key
Privacy Policy
WebSamurai stores API keys in your WordPress database. No data is sent to external servers unless you configure external AI tools to connect to your site.
Support
For support, documentation, and updates, please visit:
* Website: https://websamurai.io
* Documentation: Included in plugin (MCP-SERVER.md)
Credits
WebSamurai is developed and maintained by the WebSamurai team.
Built with:
* React
* WordPress REST API
* Model Context Protocol
* Babel & Webpack
