feat(mcp): add comment reply and recent posts tools

This commit is contained in:
Tim
2025-10-27 16:13:06 +08:00
parent 016276dbc3
commit cad70c23b3
4 changed files with 409 additions and 11 deletions

View File

@@ -31,7 +31,9 @@ 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_comment` | Reply to an existing comment using a JWT token. |
| `recent_posts` | Retrieve posts created within the last *N* minutes. |
The tool returns structured data describing each search hit including highlighted snippets when
provided by the backend.
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.