anilist-mcp-server 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,68 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.10.0] - 2026-10-20
10
+
11
+ ### Added
12
+
13
+ - Add exclusion, tag-rank, country-of-origin, length and licensor filters to `search_media` (`genre_not_in`, `tag_not_in`, `minimumTagRank`, `countryOfOrigin`, `licensedBy_in`, …), all applied server-side. [3df0b9a](https://github.com/Grinv/anilist-mcp-server/commit/3df0b9a)
14
+ - Add `createdAfter`/`createdBefore` to `search_activity` and `get_user_activity`, plus a `type` filter to `get_user_activity`. [3df0b9a](https://github.com/Grinv/anilist-mcp-server/commit/3df0b9a), [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
15
+ - Add `sort` to `get_user_list`, ordering entries server-side (within each status group). [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
16
+ - Add `voiceActorLanguage` and `role` to `get_media_characters`, and `airingAfter`/`airingBefore` to `get_anime_schedule`. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2), [f27ab65](https://github.com/Grinv/anilist-mcp-server/commit/f27ab65)
17
+ - Add pagination to `get_todays_birthdays`, sorted by favourites; it previously dropped everyone past the first 50. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
18
+ - Add `startedAt_*`/`completedAt_*` bounds to `get_user_list`, so "what did they finish in 2026" is one server-side call. [459f7a9](https://github.com/Grinv/anilist-mcp-server/commit/459f7a9)
19
+ - Add `isAdult` to `search_media` for adult-only results (`sfw: true` still excludes them), and `isFollowing` to `search_activity` for the followed-users feed. [6325506](https://github.com/Grinv/anilist-mcp-server/commit/6325506)
20
+ - Accept a list of types in `search_activity`/`get_user_activity`'s `type`. [6325506](https://github.com/Grinv/anilist-mcp-server/commit/6325506)
21
+ - Add `credits: "voice"` to `get_staff`, returning a voice actor's roles; production credits never included them. [2895326](https://github.com/Grinv/anilist-mcp-server/commit/2895326)
22
+
23
+ ### Changed
24
+
25
+ - **BREAKING:** Every tool rejects an unknown argument ("Unrecognized key") instead of dropping it: `search_media` with `genre_in` (the field is `genres`) returned unfiltered results, and `get_anime_schedule` with `id` (it takes `mediaId`) the site-wide schedule. [b73aed6](https://github.com/Grinv/anilist-mcp-server/commit/b73aed6)
26
+ - `advancedScores` reads back on the 0-10 scale it's written on, not AniList's raw 0-100, so a read value can be passed straight to `update_list_entry`. [41d10e2](https://github.com/Grinv/anilist-mcp-server/commit/41d10e2)
27
+ - A blank `term` on `search_media`/`search_thread` is rejected (omit it to browse) instead of being treated as no term; `user` and `get_studio`'s `name` are trimmed, so `" Grinv "` finds the user. [8dfaedd](https://github.com/Grinv/anilist-mcp-server/commit/8dfaedd)
28
+ - `onList` on `search_media` and `get_character`/`get_staff`/`get_studio` now requires login; without one AniList silently ignored it and returned unfiltered results. [4452400](https://github.com/Grinv/anilist-mcp-server/commit/4452400)
29
+ - `excludeInList` on `get_recommendations_for_media` now requires login; without one it filtered nothing. [0fb7c0a](https://github.com/Grinv/anilist-mcp-server/commit/0fb7c0a)
30
+ - `submit_anilist_redirect` is rejected when no login is in progress (e.g. after a restart); run `login_anilist` again. [0fb7c0a](https://github.com/Grinv/anilist-mcp-server/commit/0fb7c0a)
31
+ - Rename the display name to "AniList MCP Server (Unofficial)", as AniList's naming guidelines require; the package name is unchanged. [9545ada](https://github.com/Grinv/anilist-mcp-server/commit/9545ada)
32
+ - Update `@modelcontextprotocol/server`/`client` to 2.3.1, which fixes several security advisories (GHSA-jm63-cq47-j5jp, GHSA-46jr-4wx8-v453). [f042f57](https://github.com/Grinv/anilist-mcp-server/commit/f042f57)
33
+ - Update zod to 4.6.7. An over-long `ids`/`malIds` batch in `get_media` now reports the tool's own "up to 50 IDs" message instead of Zod's generic "Too big". [f042f57](https://github.com/Grinv/anilist-mcp-server/commit/f042f57)
34
+ - `get_media_characters` lists main characters first; `search_thread` without a term lists the most recently replied-to threads, not the oldest. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2), [3df0b9a](https://github.com/Grinv/anilist-mcp-server/commit/3df0b9a)
35
+ - `toggle_favourite` echoes only the toggled kind's favourites, not all five categories. [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
36
+ - `seasonal_overview` asks for the season's most popular titles, and pins the actual current season instead of anything still airing. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
37
+ - Save an advanced-scored list entry in 2 requests instead of 3. [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
38
+ - Stop returning the deprecated `mediaListOptions.*.theme` field from profile tools. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
39
+
40
+ ### Fixed
41
+
42
+ - `search_thread` with a nonexistent `mediaCategoryId` errors as not found instead of returning an empty page. [3f6f785](https://github.com/Grinv/anilist-mcp-server/commit/3f6f785)
43
+ - A `user` given as a digit string (e.g. `"7640432"`) that isn't found now says it was looked up as a username and to pass an ID as a number. [7960a3a](https://github.com/Grinv/anilist-mcp-server/commit/7960a3a)
44
+ - `update_user` with no fields is rejected instead of sending an empty write, and an invalid activity `type` lists the valid types instead of "Invalid input". [1179d58](https://github.com/Grinv/anilist-mcp-server/commit/1179d58)
45
+ - Deleting an unknown or already-deleted list entry, activity, thread or comment reports not found instead of "rejected as invalid". [19b8c76](https://github.com/Grinv/anilist-mcp-server/commit/19b8c76)
46
+ - 401/403 errors include AniList's own text (e.g. its outage notice or "Invalid token"), and an HTML error page is reduced to its title. [420a1e7](https://github.com/Grinv/anilist-mcp-server/commit/420a1e7)
47
+ - Prompts escape free-text arguments, so a quote or newline in a title, genre or username can't break the instruction; `catch_up_activity` passes `"007"`-style usernames as strings, not as user 7. [47dc9ba](https://github.com/Grinv/anilist-mcp-server/commit/47dc9ba)
48
+ - Paginate `get_character`/`get_staff`/`get_studio` filmographies (with `type`, `onList`, and `isMain` for studios); they silently stopped at 25 or 10 titles. [ddd7a6f](https://github.com/Grinv/anilist-mcp-server/commit/ddd7a6f)
49
+ - Fix titles on hiatus being reported as `RELEASING`, and relations missing `SOURCE`/`COMPILATION`/`CONTAINS`/`SAME_UNIVERSE`: both now use AniList's current enum versions. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
50
+ - Cap `perPage` at 25 on `get_media_characters`/`staff`/`reviews` and `get_recommendations_for_media`, AniList's real limit there; they advertised 50. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
51
+ - Correct `get_recommendations_for_media`: `excludeInList` filters each fetched page locally, so a page can come back short. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
52
+ - Stop list-entry dates without a `year` (including `{}`) from clearing the stored date; `update_list_entries` could wipe dates across every listed entry. [f35b3f8](https://github.com/Grinv/anilist-mcp-server/commit/f35b3f8)
53
+ - `toggle_favourite` returns `isFavourite`; on a long favourites list the toggled title could be missing from the response. [f35b3f8](https://github.com/Grinv/anilist-mcp-server/commit/f35b3f8)
54
+ - `get_media` with `malIds` no longer loses a requested ID when two AniList entries share one MAL ID (unless a 50-ID batch matches more than 50 entries). [f35b3f8](https://github.com/Grinv/anilist-mcp-server/commit/f35b3f8)
55
+ - Stop retrying writes after a timeout or server error: a retry could undo a `toggle_favourite`/`toggle_follow_user` or post an activity or thread twice. A rate-limited (429) write is still retried, since AniList rejected it before applying it. [ed0f51f](https://github.com/Grinv/anilist-mcp-server/commit/ed0f51f), [fcd62d3](https://github.com/Grinv/anilist-mcp-server/commit/fcd62d3)
56
+ - Fix a read that overlapped a write caching pre-write data for the whole cache TTL. [ed0f51f](https://github.com/Grinv/anilist-mcp-server/commit/ed0f51f)
57
+ - A write that times out or hits a server error now says it may have been applied and to check before retrying, instead of "please retry"; the read cache is cleared after it too. [0fb7c0a](https://github.com/Grinv/anilist-mcp-server/commit/0fb7c0a)
58
+ - `submit_anilist_redirect` now asks for the full redirected URL; a bare code always failed the state check after `login_anilist`. [ed0f51f](https://github.com/Grinv/anilist-mcp-server/commit/ed0f51f)
59
+ - Correct `search_media`'s `startDate_*`/`endDate_*` descriptions: the bounds are strict, so `startDate_lesser: {year: 2020}` excludes 2020. [ed0f51f](https://github.com/Grinv/anilist-mcp-server/commit/ed0f51f)
60
+ - Correct `search_user`'s `includeDescription`: a user's bio comes back as `about`, not `description`. [ed0f51f](https://github.com/Grinv/anilist-mcp-server/commit/ed0f51f)
61
+ - `catch_up_activity` passes a numeric user ID as a number; as a string it was looked up as a username and failed. [ed0f51f](https://github.com/Grinv/anilist-mcp-server/commit/ed0f51f)
62
+ - `update_user` requires `enabled`/`disabled` on every `notificationOptions`/`disabledListActivity` entry; omitted, AniList unset the notification type or failed with a 500. [44d7d92](https://github.com/Grinv/anilist-mcp-server/commit/44d7d92)
63
+ - `get_anime_schedule` with `notYetAired: false` lists the newest aired episodes first, not the oldest on record. [44d7d92](https://github.com/Grinv/anilist-mcp-server/commit/44d7d92)
64
+ - `get_recommendations_for_media` returns each title's `averageScore` and `genres`, which `recommend_similar` asks the model to present. [60a99c4](https://github.com/Grinv/anilist-mcp-server/commit/60a99c4)
65
+ - A date filter with a `day` but no `month` now errors; it silently meant January 1st. [60a99c4](https://github.com/Grinv/anilist-mcp-server/commit/60a99c4)
66
+ - `update_list_entry` with only `listEntryId` is rejected, like `update_list_entries`; it sent a write that changed nothing. [60a99c4](https://github.com/Grinv/anilist-mcp-server/commit/60a99c4)
67
+ - Correct `get_user_activity`/`get_user_recent_activity`'s `user` descriptions: `search_activity` also errors on an unknown user. [60a99c4](https://github.com/Grinv/anilist-mcp-server/commit/60a99c4)
68
+ - `search_character`/`search_staff`/`search_studio`/`search_user` reject a blank `term` instead of sending it to AniList. [b211fe0](https://github.com/Grinv/anilist-mcp-server/commit/b211fe0)
69
+ - `search_media` rejects an empty `sort` (it dropped the relevance default) and `get_notifications` an empty `type_in`. [b211fe0](https://github.com/Grinv/anilist-mcp-server/commit/b211fe0)
70
+
9
71
  ## [0.9.0] - 2026-09-24
10
72
 
11
73
  ### Added
package/PRIVACY.md CHANGED
@@ -100,9 +100,10 @@ maintainer.
100
100
  TTL (`CACHE_TTL_MS`, default 5 minutes) to cut latency and ease pressure on
101
101
  AniList's rate-limited API. Cache keys include the token in use, so
102
102
  different accounts' cached data can never cross. Mutations are never cached,
103
- and a successful one immediately clears the whole cache (a write can change
104
- the answer to an already-cached read, e.g. a newly-favourited title's
105
- `isFavourite` flag), so the next read is fresh. The cache is cleared when
103
+ and every one immediately clears the whole cache (a write can change the
104
+ answer to an already-cached read, e.g. a newly-favourited title's
105
+ `isFavourite` flag) — a failed one too, since a timed-out write may still
106
+ have been applied — so the next read is fresh. The cache is cleared when
106
107
  the process exits and is never shared across machines or users.
107
108
  - **Your access token**: if obtained via `login_anilist`, it is written to a
108
109
  single local file (`~/.config/anilist-mcp-server/tokens.json` on
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # AniList MCP Server
1
+ # AniList MCP Server (Unofficial)
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/anilist-mcp-server.svg)](https://www.npmjs.com/package/anilist-mcp-server)
4
4
  [![CI](https://github.com/Grinv/anilist-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/Grinv/anilist-mcp-server/actions/workflows/ci.yml)
@@ -83,7 +83,10 @@ Once it's connected, just ask your agent in natural language.
83
83
  | `get_notifications` | token |
84
84
  | `login_anilist`, `submit_anilist_redirect` | login |
85
85
 
86
- `token` = needs an AniList login (run `login_anilist` once).
86
+ `token` = needs an AniList login (run `login_anilist` once). A few `none` tools
87
+ also have a filter that does: `onList` on `search_media`/`get_character`/
88
+ `get_staff`/`get_studio`, `isFollowing` on `search_activity`, and
89
+ `excludeInList` on `get_recommendations_for_media` error without a login.
87
90
 
88
91
  ## Prompts
89
92
 
package/SECURITY.md CHANGED
@@ -31,6 +31,9 @@ token; the server can't write to anyone else's account:
31
31
  - **Deleting**: `delete_activity`, `delete_thread`, `delete_thread_comment`
32
32
  - **Account settings**: `update_user`
33
33
 
34
+ One read tool also changes server state: `get_notifications` with
35
+ `markAsRead: true` resets your unread-notification count.
36
+
34
37
  **Posts and deletions go to your own AniList account**, public and attributed
35
38
  to you just like anything you post on anilist.co directly. The server has no
36
39
  per-tool allow/deny list; the only gate is whether a token is configured, so