anilist-mcp-server 0.9.0 → 0.11.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 +76 -0
- package/PRIVACY.md +19 -14
- package/README.md +9 -3
- package/SECURITY.md +5 -2
- package/dist/index.js +120 -110
- package/package.json +15 -17
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,82 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.11.0] - 2026-10-22
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Declare the Node requirement in the `.mcpb` manifest, so clients can check it before installing. [f3965f8](https://github.com/Grinv/anilist-mcp-server/commit/f3965f8)
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **BREAKING:** Raise runtime floor to Node ≥ 22.18 (was ≥ 20.11). [f3965f8](https://github.com/Grinv/anilist-mcp-server/commit/f3965f8)
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Correct PRIVACY.md: a configured token is sent with read requests too, not only with writes. [14e6f26](https://github.com/Grinv/anilist-mcp-server/commit/14e6f26)
|
|
22
|
+
|
|
23
|
+
## [0.10.0] - 2026-10-20
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- 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)
|
|
28
|
+
- 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)
|
|
29
|
+
- Add `sort` to `get_user_list`, ordering entries server-side (within each status group). [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
|
|
30
|
+
- 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)
|
|
31
|
+
- 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)
|
|
32
|
+
- 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)
|
|
33
|
+
- 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)
|
|
34
|
+
- Accept a list of types in `search_activity`/`get_user_activity`'s `type`. [6325506](https://github.com/Grinv/anilist-mcp-server/commit/6325506)
|
|
35
|
+
- 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)
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- **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)
|
|
40
|
+
- `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)
|
|
41
|
+
- 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)
|
|
42
|
+
- `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)
|
|
43
|
+
- `excludeInList` on `get_recommendations_for_media` now requires login; without one it filtered nothing. [0fb7c0a](https://github.com/Grinv/anilist-mcp-server/commit/0fb7c0a)
|
|
44
|
+
- `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)
|
|
45
|
+
- 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)
|
|
46
|
+
- 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)
|
|
47
|
+
- 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)
|
|
48
|
+
- `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)
|
|
49
|
+
- `toggle_favourite` echoes only the toggled kind's favourites, not all five categories. [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
|
|
50
|
+
- `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)
|
|
51
|
+
- Save an advanced-scored list entry in 2 requests instead of 3. [886a06e](https://github.com/Grinv/anilist-mcp-server/commit/886a06e)
|
|
52
|
+
- Stop returning the deprecated `mediaListOptions.*.theme` field from profile tools. [7117ab2](https://github.com/Grinv/anilist-mcp-server/commit/7117ab2)
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- `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)
|
|
57
|
+
- 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)
|
|
58
|
+
- `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)
|
|
59
|
+
- 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)
|
|
60
|
+
- 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)
|
|
61
|
+
- 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)
|
|
62
|
+
- 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)
|
|
63
|
+
- 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)
|
|
64
|
+
- 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)
|
|
65
|
+
- 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)
|
|
66
|
+
- 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)
|
|
67
|
+
- `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)
|
|
68
|
+
- `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)
|
|
69
|
+
- 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)
|
|
70
|
+
- 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)
|
|
71
|
+
- 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)
|
|
72
|
+
- `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)
|
|
73
|
+
- 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)
|
|
74
|
+
- 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)
|
|
75
|
+
- `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)
|
|
76
|
+
- `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)
|
|
77
|
+
- `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)
|
|
78
|
+
- `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)
|
|
79
|
+
- 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)
|
|
80
|
+
- `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)
|
|
81
|
+
- 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)
|
|
82
|
+
- `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)
|
|
83
|
+
- `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)
|
|
84
|
+
|
|
9
85
|
## [0.9.0] - 2026-09-24
|
|
10
86
|
|
|
11
87
|
### Added
|
package/PRIVACY.md
CHANGED
|
@@ -37,25 +37,29 @@ The only inputs it handles are:
|
|
|
37
37
|
|
|
38
38
|
## Usage and third-party sharing
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
infrastructure: the public GraphQL API (`graphql.anilist.co`) for every tool
|
|
42
|
-
|
|
43
|
-
one-time `login_anilist` /
|
|
44
|
-
|
|
40
|
+
Tool calls make outbound HTTPS requests only to AniList's own
|
|
41
|
+
infrastructure: the public GraphQL API (`graphql.anilist.co`) for every tool
|
|
42
|
+
except the login pair, and AniList's OAuth endpoints
|
|
43
|
+
(`anilist.co/api/v2/oauth/*`) only during the one-time `login_anilist` /
|
|
44
|
+
`submit_anilist_redirect` login flow. A read answered from the in-memory cache
|
|
45
|
+
(see below) makes no request at all; a few take two (e.g. an activity feed by
|
|
46
|
+
username first resolves the username to an ID). No other third party is ever
|
|
47
|
+
contacted.
|
|
45
48
|
|
|
46
49
|
- **Reads** (search, details, genres/tags, recommendations, forum threads,
|
|
47
50
|
activity feeds, public/unlisted user profiles and lists) call the public
|
|
48
|
-
GraphQL endpoint
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
GraphQL endpoint and need no credentials. When a token is configured it is
|
|
52
|
+
sent with reads too (so viewer-relative fields such as `isFavourite` reflect
|
|
53
|
+
your account), but reads never change anything.
|
|
54
|
+
- **Your access token, when configured**, rides on every GraphQL request, as a standard `Authorization: Bearer <token>` header. To AniList
|
|
51
55
|
the request looks the same as one you'd make while logged in.
|
|
52
56
|
- **This server can write to and post from your real AniList account** when a
|
|
53
57
|
personal/mutation tool runs with a valid token. That's the main thing
|
|
54
58
|
setting it apart from a read-only MCP server. These tools write to
|
|
55
59
|
`graphql.anilist.co` when called, with no confirmation step of the server's
|
|
56
60
|
own:
|
|
57
|
-
- **Your list**: `add_list_entry`, `update_list_entry`,
|
|
58
|
-
add, change (status, score, progress, notes, dates, custom lists,
|
|
61
|
+
- **Your list**: `add_list_entry`, `update_list_entry`,
|
|
62
|
+
`update_list_entries`, `remove_list_entry` add, change (status, score, progress, notes, dates, custom lists,
|
|
59
63
|
advanced scores, rewatches), or delete entries on your anime/manga list.
|
|
60
64
|
- **Favourites and follows**: `toggle_favourite` (anime, manga, characters,
|
|
61
65
|
staff, or studios) and `toggle_follow_user`.
|
|
@@ -100,12 +104,13 @@ maintainer.
|
|
|
100
104
|
TTL (`CACHE_TTL_MS`, default 5 minutes) to cut latency and ease pressure on
|
|
101
105
|
AniList's rate-limited API. Cache keys include the token in use, so
|
|
102
106
|
different accounts' cached data can never cross. Mutations are never cached,
|
|
103
|
-
and
|
|
104
|
-
|
|
105
|
-
`isFavourite` flag)
|
|
107
|
+
and every one immediately clears the whole cache (a write can change the
|
|
108
|
+
answer to an already-cached read, e.g. a newly-favourited title's
|
|
109
|
+
`isFavourite` flag) — a failed one too, since a timed-out write may still
|
|
110
|
+
have been applied — so the next read is fresh. The cache is cleared when
|
|
106
111
|
the process exits and is never shared across machines or users.
|
|
107
112
|
- **Your access token**: if obtained via `login_anilist`, it is written to a
|
|
108
|
-
single local file (
|
|
113
|
+
single local file (`$XDG_CONFIG_HOME/anilist-mcp-server/tokens.json` (default `~/.config/…`) on
|
|
109
114
|
macOS/Linux, `%APPDATA%\anilist-mcp-server\tokens.json` on Windows, or the
|
|
110
115
|
path in `ANILIST_TOKEN_STORE`), created with `0600` permissions
|
|
111
116
|
(owner-read/write only) so it survives restarts without a fresh login
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# AniList MCP Server
|
|
1
|
+
# AniList MCP Server (Unofficial)
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/anilist-mcp-server)
|
|
4
4
|
[](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
|
|
|
@@ -93,6 +96,9 @@ Reusable multi-step plans your client can offer as one-click flows:
|
|
|
93
96
|
|
|
94
97
|
## Install
|
|
95
98
|
|
|
99
|
+
The npx and from-source installs run on your own Node.js, which must be
|
|
100
|
+
**≥ 22.18**.
|
|
101
|
+
|
|
96
102
|
### As an `.mcpb` bundle (one-click, e.g. Claude Desktop)
|
|
97
103
|
|
|
98
104
|
Download [**`anilist-mcp-server.mcpb`**](https://github.com/Grinv/anilist-mcp-server/releases/latest/download/anilist-mcp-server.mcpb)
|
|
@@ -244,7 +250,7 @@ npm run check:api # live health-check of the AniList GraphQL endpoint
|
|
|
244
250
|
npm run inspector # run under the MCP Inspector
|
|
245
251
|
```
|
|
246
252
|
|
|
247
|
-
Runtime requires Node ≥
|
|
253
|
+
Runtime requires Node ≥ 22.18. See [AGENTS.md](AGENTS.md) for contributor/agent
|
|
248
254
|
guidance, including why this server exists and how it avoids the upstream bug
|
|
249
255
|
that motivated building it.
|
|
250
256
|
|
package/SECURITY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Security
|
|
2
2
|
|
|
3
3
|
`anilist-mcp-server` only talks to AniList's own GraphQL API. But of this
|
|
4
|
-
project
|
|
4
|
+
project and its three sibling servers, it has the widest write/social surface: it can
|
|
5
5
|
post and delete public content, and change account settings, on the AniList
|
|
6
6
|
account it's configured with.
|
|
7
7
|
|
|
@@ -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
|
|
@@ -41,7 +44,7 @@ the agent means to do before letting it act.
|
|
|
41
44
|
## Token storage
|
|
42
45
|
|
|
43
46
|
- A token obtained via `login_anilist` is written to a single local file
|
|
44
|
-
(
|
|
47
|
+
(`$XDG_CONFIG_HOME/anilist-mcp-server/tokens.json` (default `~/.config/…`) on macOS/Linux,
|
|
45
48
|
`%APPDATA%\anilist-mcp-server\tokens.json` on Windows, or the path in
|
|
46
49
|
`ANILIST_TOKEN_STORE`), created with `0600` permissions (owner-read/write
|
|
47
50
|
only). Pre-supplying `ANILIST_ACCESS_TOKEN` directly instead keeps the
|