Skip to content

v0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:14

Changed

  • Install with no runtime dependencies: the server and zod are bundled into dist/index.js, so npx fetches only the package itself (dd81f5c).
  • Bump @modelcontextprotocol/server to 2.4.0 (dd81f5c).
  • List the three prompts in the .mcpb manifest, so a host shows them before the server starts (ed0602f).
  • Accept score up to 10 in search_anime/search_manga (was 9.99), matching Tenrai (7c12f50).
  • hidden_gems asks Tenrai for highly-rated, little-known titles directly instead of sifting the all-time top 25 (bfff271).
  • recommend_similar fetches the picks' scores and genres in one search_anime call instead of one get_anime per pick (bfff271).
  • Quote only an upstream's own stated reason in error texts, never a raw response body (68df052).
  • Report an internal error as a stable "internal error", with its stack in the log (68df052).
  • Leave a malformed entry inside a result's own lists (a genre, credit, relation) out and count it in notice, instead of failing the lookup (2108111).
  • Mark update_my_anime_status/update_my_manga_status as destructive (a sent field overwrites the stored one), and login_mal as not (a7d0d4e).
  • Read a token file that can't be read or parsed as no login: the env tokens start the state, and the next save replaces the file (e2bf972).

Added

  • Add start-year filters (year, min_year/max_year) to the anime/manga search and top tools, and min_scored_by/max_scored_by to search (60bce71).
  • Add trend orderings to anime/manga search and seasonal lists (score_change_30d, score_spread, members_gained_7d) and more sort fields elsewhere (60bce71).
  • Add min_score/max_score and min_members/max_members to get_top_anime/get_top_manga (bfff271).
  • Add ids to search_anime/search_manga, to fetch several known titles in one call (bfff271).
  • Add today/tomorrow to get_anime_schedule's day (60bce71).
  • Add filler/recap filters to get_anime_episodes, and limit to get_anime_news/get_manga_news (60bce71).
  • Say when a result is degraded (fallback, cached copy, dropped entries) in a notice field. See docs/errors.md (2810491).
  • Attach every tool error as an RFC 9457 problem in _meta["io.github.Grinv.mal-mcp/problem"]. See docs/errors.md (68df052).

Security

  • Mask every credential the server holds (Client ID, tokens, PKCE verifier and code) by its value in logs and error texts, in any encoding (ff82402, c8f951d, baebef5).

Fixed

  • Use a login another server process (another MCP client) saved from the next call on, and never save a token refresh over it (b31335d, 06dc709, 848fc58).
  • Recognize MyAnimeList's answer for a dead refresh token: stop re-sending it, also after a restart, and say to run login_mal (281d593, 7c6df3a, ff82402).
  • Keep a valid login when MyAnimeList rejects MAL_CLIENT_ID or garbles a token reply; say to fix MAL_CLIENT_ID, not to log in again (7c6df3a, 70fd433).
  • Log when a refused refresh token ends the login, and whether the token file was cleared (e5f2c8d, a594166).
  • Keep a refresh token issued under a different MAL_CLIENT_ID, and say so, instead of discarding it as expired (e5f2c8d).
  • Keep a newer login_mal when an older attempt finishes after it; the older one reports that it wasn't used (93e3c78, c628402).
  • Make a personal-list call that starts during a token refresh wait for the new token instead of resending the rejected one (f49a33d).
  • Treat a token response without a refresh token or an expiry as unreadable, rather than saving a login that can't be renewed (d46d91f).
  • Say why the personal-list tools can't run (no MAL_CLIENT_ID, no login, a refused saved login, an unreadable token file) (7d2d1a6).
  • Say to set MAL_CLIENT_ID when login_mal runs without it, instead of to run login_mal (68df052).
  • Explain a bad submit_mal_redirect paste (access denied, no code, blank, an earlier attempt's redirect) instead of an internal error (6bb4d36).
  • Mask an authorization code pasted bare into submit_mal_redirect in logs, as one in a redirect URL already was (93e3c78).
  • Don't send a personal-list update whose call was cancelled before it (or its retry) went out (70fd433).
  • Stop a cancelled call's Tenrai requests, retries and rate-limit wait; a cancelled personal-list call stops waiting for a token refresh (e3c478e, 0570700).
  • Exclude R+ and Rx anime from sfw: true results on the official-API fallback, as Tenrai does (fe89c11).
  • Leave out a field an upstream sends as an empty string (the fallback's missing English title or background) instead of showing "" (1c3cd66).
  • Say "Not scheduled once per week" for an irregular broadcast on the official-API fallback, as Tenrai does, instead of "Others at …" (1c3cd66).
  • Reject score together with min_score/max_score in search_anime/search_manga with a clear message instead of Tenrai's 400 (577e8db).
  • Correct tool descriptions that no longer matched Tenrai: sort's default and scope per tool, get_upcoming_season's range, unknown news tags (577e8db, a7d0d4e).
  • Say in update_my_anime_status/update_my_manga_status that completed makes MyAnimeList fill in the full progress counts (e8cec69).
  • Name the Redirect URI to register in login_mal's description (a7d0d4e).
  • Require stack_type on interest stacks, which says whether each entry chains into get_anime or get_manga (a7d0d4e).
  • Return get_anime_episodes' episodes again: Tenrai's null episode image made every episode fail and the list come back empty (d92d8db).
  • Fall back to the official MAL API (or a recent cached copy) when Tenrai's data no longer matches its expected shape, instead of an internal error (520a20d, 2108111).
  • Fall back the same way when every entry of a Tenrai list is malformed, instead of answering an empty list (eabaa22).
  • Report a personal-list page with no data as an upstream error instead of an empty list (6bb4d36).
  • Show sub-minute episode durations from the official MAL API as seconds instead of "0 min per ep" (6bb4d36).
  • Stop serving a cached entry after Tenrai said it no longer exists; an old copy stands in only while Tenrai can't answer, for at most a day (68df052).