Changeset 3470953
- Timestamp:
- 02/27/2026 09:43:00 AM (5 weeks ago)
- Location:
- notification-for-telegram
- Files:
-
- 2 edited
-
tags/3.5/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
notification-for-telegram/tags/3.5/readme.txt
r3470949 r3470953 281 281 both in option page and in the shortcode. 282 282 283 283 = Does this plugin support AI agents and MCP? = 284 Yes! Starting from version 3.5, this plugin supports the WordPress Abilities API 285 and is compatible with MCP (Model Context Protocol), the open standard that allows 286 AI agents like Claude, ChatGPT, and others to interact with WordPress autonomously. 287 288 = What do I need to enable MCP support? = 289 You need to install two additional free plugins: 290 * Abilities API — github.com/WordPress/abilities-api/releases 291 * MCP Adapter — github.com/WordPress/mcp-adapter/releases 292 293 Once both are active, the "Send Telegram Message" ability is automatically 294 available to any authorized AI agent. No extra configuration needed. 295 296 = How does an AI agent authenticate? = 297 Via WordPress Application Passwords — go to Users → Your Profile → 298 Application Passwords, create one, and use it in your MCP client configuration. 299 Your main password is never exposed. 300 301 = What can an AI agent do with this plugin? = 302 An authorized AI agent can: 303 * Send a Telegram message with custom text 304 * Include an optional inline button with label and URL 305 * Target a specific Telegram chat ID, overriding the default 306 307 = How can I test the MCP integration without an AI? = 308 You can test everything for free using curl from your terminal. 309 310 First, make sure the plugin is configured and the built-in "Send Test Message" 311 button works correctly in the plugin settings. 312 313 Then run these commands in order: 314 315 Step 1 — Initialize the session and get the Session ID: 316 317 curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ 318 -H "Content-Type: application/json" \ 319 -u "ADMIN:APP_PASSWORD" \ 320 -D - \ 321 -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' 322 323 Look for the Mcp-Session-Id value in the response headers and copy it. 324 325 Step 2 — Verify the tool is available: 326 327 curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ 328 -H "Content-Type: application/json" \ 329 -H "Mcp-Session-Id: YOUR-SESSION-ID" \ 330 -u "ADMIN:APP_PASSWORD" \ 331 -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' 332 333 You should see "notification-for-telegram-send-message" in the response. 334 335 Step 3 — Send a real Telegram message via MCP: 336 337 curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ 338 -H "Content-Type: application/json" \ 339 -H "Mcp-Session-Id: YOUR-SESSION-ID" \ 340 -u "ADMIN:APP_PASSWORD" \ 341 -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"notification-for-telegram-send-message","arguments":{"message":"🤖 MCP is working!"}}}' 342 343 If the message arrives in your Telegram chat — everything is working correctly. 344 345 APP_PASSWORD = a WordPress Application Password (Users → Your Profile → Application Passwords). 346 347 = Is MCP support stable? = 348 This feature is currently experimental. We welcome feedback and bug reports — 349 if you test it, please leave a review or open an issue on the plugin's GitHub page. 350 351 = Where can I find the MCP endpoint? = 352 Once the required plugins are installed, your MCP endpoint will be available at: 353 https://yoursite.com/wp-json/nftb-telegram/mcp 284 354 285 355 == Screenshots == -
notification-for-telegram/trunk/readme.txt
r3470949 r3470953 281 281 both in option page and in the shortcode. 282 282 283 283 = Does this plugin support AI agents and MCP? = 284 Yes! Starting from version 3.5, this plugin supports the WordPress Abilities API 285 and is compatible with MCP (Model Context Protocol), the open standard that allows 286 AI agents like Claude, ChatGPT, and others to interact with WordPress autonomously. 287 288 = What do I need to enable MCP support? = 289 You need to install two additional free plugins: 290 * Abilities API — github.com/WordPress/abilities-api/releases 291 * MCP Adapter — github.com/WordPress/mcp-adapter/releases 292 293 Once both are active, the "Send Telegram Message" ability is automatically 294 available to any authorized AI agent. No extra configuration needed. 295 296 = How does an AI agent authenticate? = 297 Via WordPress Application Passwords — go to Users → Your Profile → 298 Application Passwords, create one, and use it in your MCP client configuration. 299 Your main password is never exposed. 300 301 = What can an AI agent do with this plugin? = 302 An authorized AI agent can: 303 * Send a Telegram message with custom text 304 * Include an optional inline button with label and URL 305 * Target a specific Telegram chat ID, overriding the default 306 307 = How can I test the MCP integration without an AI? = 308 You can test everything for free using curl from your terminal. 309 310 First, make sure the plugin is configured and the built-in "Send Test Message" 311 button works correctly in the plugin settings. 312 313 Then run these commands in order: 314 315 Step 1 — Initialize the session and get the Session ID: 316 317 curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ 318 -H "Content-Type: application/json" \ 319 -u "ADMIN:APP_PASSWORD" \ 320 -D - \ 321 -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' 322 323 Look for the Mcp-Session-Id value in the response headers and copy it. 324 325 Step 2 — Verify the tool is available: 326 327 curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ 328 -H "Content-Type: application/json" \ 329 -H "Mcp-Session-Id: YOUR-SESSION-ID" \ 330 -u "ADMIN:APP_PASSWORD" \ 331 -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' 332 333 You should see "notification-for-telegram-send-message" in the response. 334 335 Step 3 — Send a real Telegram message via MCP: 336 337 curl -X POST "https://YOURSITE.com/wp-json/nftb-telegram/mcp" \ 338 -H "Content-Type: application/json" \ 339 -H "Mcp-Session-Id: YOUR-SESSION-ID" \ 340 -u "ADMIN:APP_PASSWORD" \ 341 -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"notification-for-telegram-send-message","arguments":{"message":"🤖 MCP is working!"}}}' 342 343 If the message arrives in your Telegram chat — everything is working correctly. 344 345 APP_PASSWORD = a WordPress Application Password (Users → Your Profile → Application Passwords). 346 347 = Is MCP support stable? = 348 This feature is currently experimental. We welcome feedback and bug reports — 349 if you test it, please leave a review or open an issue on the plugin's GitHub page. 350 351 = Where can I find the MCP endpoint? = 352 Once the required plugins are installed, your MCP endpoint will be available at: 353 https://yoursite.com/wp-json/nftb-telegram/mcp 284 354 285 355 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.