Add MCP tool for replying to posts

This commit is contained in:
Tim
2025-10-27 20:24:47 +08:00
parent 39875acd35
commit dca14390ca
4 changed files with 136 additions and 4 deletions

View File

@@ -31,9 +31,11 @@ By default the server listens on port `8085` and serves MCP over Streamable HTTP
| Tool | Description |
| --- | --- |
| `search` | Perform a global search against the OpenIsle backend. |
| `reply_to_post` | Create a new comment on a post using a JWT token. |
| `reply_to_comment` | Reply to an existing comment using a JWT token. |
| `recent_posts` | Retrieve posts created within the last *N* minutes. |
The tools return structured data mirroring the backend DTOs, including highlighted snippets for
search results, the full comment payload for replies, and detailed metadata for recent posts.
search results, the full comment payload for post replies and comment replies, and detailed
metadata for recent posts.