anilist-mcp-server 0.8.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,98 @@ 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
+
71
+ ## [0.9.0] - 2026-09-24
72
+
73
+ ### Added
74
+
75
+ - Add `update_list_entries`: apply one set of values to many list entries in one atomic call — an unknown id fails it without changing anything. [5e2108c](https://github.com/Grinv/anilist-mcp-server/commit/5e2108c)
76
+ - Add `malIds` to `get_media`, resolving MyAnimeList IDs to AniList titles in one call; set `type`, since MAL numbers anime and manga separately. [7078daa](https://github.com/Grinv/anilist-mcp-server/commit/7078daa)
77
+ - Add `format: "compact"` to `get_media`: only the identifying fields, 169 bytes per title against 4,182 for the full card. The default stays `"full"`. [066718d](https://github.com/Grinv/anilist-mcp-server/commit/066718d)
78
+ - Add `statuses` to `get_user_list`, filtering entries server-side instead of fetching a whole list and discarding most of it. [5e2108c](https://github.com/Grinv/anilist-mcp-server/commit/5e2108c)
79
+ - Add `includeDescription` to `search_user`, for the `about` bio it no longer fetches by default. [7886efa](https://github.com/Grinv/anilist-mcp-server/commit/7886efa)
80
+
81
+ ### Changed
82
+
83
+ - `get_user_list` now defaults to a compact tab-separated table — 20KB against 208KB on a 324-entry list. The previous shape is `format: "full"`. [5e2108c](https://github.com/Grinv/anilist-mcp-server/commit/5e2108c)
84
+ - Raise the `perPage` cap on every paginated tool from 25 to 50, AniList's own ceiling; `get_media`'s ID batch rises likewise, and must not go higher. [7078daa](https://github.com/Grinv/anilist-mcp-server/commit/7078daa)
85
+ - Remove `get_user_list`'s 25-entry cap on `perChunk`, so a whole list can be fetched in one call; the default stays 25. [5e2108c](https://github.com/Grinv/anilist-mcp-server/commit/5e2108c)
86
+ - `add_list_entry`/`update_list_entry` echo `customLists`, `advancedScores`, `notes` and timestamps only when the call sets them — 278 bytes, not 474. [5e2108c](https://github.com/Grinv/anilist-mcp-server/commit/5e2108c)
87
+ - Name the scale on every score a tool returns: 0-100 for site-wide averages and review scores, 0-10 for a personal list-entry score. [a71a5ea](https://github.com/Grinv/anilist-mcp-server/commit/a71a5ea)
88
+ - `summarize_user_activity` now asks `get_user_list` for `statuses: ["CURRENT"]`, so its plan no longer pages through completed entries first. [5e2108c](https://github.com/Grinv/anilist-mcp-server/commit/5e2108c)
89
+ - Stop fetching each result's `about` bio by default in `search_user`. [7886efa](https://github.com/Grinv/anilist-mcp-server/commit/7886efa)
90
+ - Reword `update_user`'s `scoreFormat`: it changes display on anilist.co only, not the scale any score this server returns. [a71a5ea](https://github.com/Grinv/anilist-mcp-server/commit/a71a5ea)
91
+ - Update `@modelcontextprotocol/server`/`client` to 2.1.0. [e34e980](https://github.com/Grinv/anilist-mcp-server/commit/e34e980)
92
+ - Update zod to 4.6.5. [a705fa8](https://github.com/Grinv/anilist-mcp-server/commit/a705fa8)
93
+
94
+ ### Fixed
95
+
96
+ - Pin `get_media`'s `mediaListEntry.score` to a 0-10 scale; it followed the account's display format, so 9.4 read back as 94 on a 100-point account. [a71a5ea](https://github.com/Grinv/anilist-mcp-server/commit/a71a5ea)
97
+ - `search_activity` with an unknown numeric user ID now errors with not_found instead of returning an empty result. [47dd014](https://github.com/Grinv/anilist-mcp-server/commit/47dd014)
98
+ - Return a clean not_found from `get_media` when a single ID resolves to null, matching its sibling tools. [acb3175](https://github.com/Grinv/anilist-mcp-server/commit/acb3175)
99
+ - Guard `get_recommendations_for_media`'s `excludeInList` filter against a null `nodes` field instead of crashing. [acb3175](https://github.com/Grinv/anilist-mcp-server/commit/acb3175)
100
+
9
101
  ## [0.8.0] - 2026-08-16
10
102
 
11
103
  ### 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)
@@ -76,14 +76,17 @@ Once it's connected, just ask your agent in natural language.
76
76
  | `get_activity`, `get_user_activity` | none |
77
77
  | `get_user_list` | none |
78
78
  | `toggle_favourite` | token |
79
- | `add_list_entry`, `update_list_entry`, `remove_list_entry` | token |
79
+ | `add_list_entry`, `update_list_entry`, `update_list_entries`, `remove_list_entry` | token |
80
80
  | `post_text_activity`, `post_message_activity`, `delete_activity` | token |
81
81
  | `post_thread`, `post_thread_comment`, `delete_thread`, `delete_thread_comment` | token |
82
82
  | `get_authorized_user`, `toggle_follow_user`, `update_user` | token |
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
@@ -19,17 +19,21 @@ account it's configured with.
19
19
 
20
20
  ## The mutating tool surface
21
21
 
22
- These 13 tools each write to `graphql.anilist.co` when called, with no
22
+ These 14 tools each write to `graphql.anilist.co` when called, with no
23
23
  confirmation step of the server's own. Each one needs the caller's own access
24
24
  token; the server can't write to anyone else's account:
25
25
 
26
- - **List entries**: `add_list_entry`, `update_list_entry`, `remove_list_entry`
26
+ - **List entries**: `add_list_entry`, `update_list_entry`, `update_list_entries`,
27
+ `remove_list_entry`
27
28
  - **Favourites and follows**: `toggle_favourite`, `toggle_follow_user`
28
29
  - **Posting**: `post_text_activity`, `post_message_activity`, `post_thread`,
29
30
  `post_thread_comment`
30
31
  - **Deleting**: `delete_activity`, `delete_thread`, `delete_thread_comment`
31
32
  - **Account settings**: `update_user`
32
33
 
34
+ One read tool also changes server state: `get_notifications` with
35
+ `markAsRead: true` resets your unread-notification count.
36
+
33
37
  **Posts and deletions go to your own AniList account**, public and attributed
34
38
  to you just like anything you post on anilist.co directly. The server has no
35
39
  per-tool allow/deny list; the only gate is whether a token is configured, so