anilist-mcp-server 0.1.0 → 0.1.1
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 +35 -94
- package/dist/index.js +57 -56
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,102 +6,43 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.1] - 2026-07-21
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Add a `sort` parameter to `search_media` — the underlying client already supported it, but the tool never exposed it. ([94bbd20](https://github.com/Grinv/anilist-mcp-server/commit/94bbd20))
|
|
14
|
+
- Add `excludeInList` to `get_recommendations_for_media`, filtering out recommendations already on the caller's own list. ([94bbd20](https://github.com/Grinv/anilist-mcp-server/commit/94bbd20))
|
|
15
|
+
|
|
16
|
+
## [0.1.0] - 2026-07-21
|
|
17
|
+
|
|
18
|
+
Everything below is one commit: [f84674f](https://github.com/Grinv/anilist-mcp-server/commit/f84674f).
|
|
19
|
+
|
|
9
20
|
### Added
|
|
10
21
|
|
|
11
|
-
- Initial release: an MCP server for AniList's GraphQL API,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- Add `get_notifications
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
characters/voice-actors, staff, reviews, related media, score/status
|
|
22
|
-
statistics, and airing schedule), standalone characters/staff/studios,
|
|
23
|
-
genres/tags, recommendations, forum threads, activity feeds, and personal
|
|
24
|
-
AniList list management (add/update/remove entries, favourites, follow,
|
|
25
|
-
posting/deleting activity, deleting threads, account settings). Anime/manga
|
|
26
|
-
variants of the same operation (e.g. `get_anime`/`get_manga`,
|
|
27
|
-
`search_anime`/`search_manga`, `favourite_anime`/`favourite_manga`) are
|
|
28
|
-
unified into a single tool taking a `type`/`kind` parameter instead of
|
|
29
|
-
duplicating the tool per media type.
|
|
30
|
-
- Add `login_anilist`/`submit_anilist_redirect`: an Authorization Code Grant
|
|
31
|
-
OAuth flow with localhost auto-capture (falls back to manual redirect paste
|
|
32
|
-
for remote/headless hosts), matching the sibling servers' login UX.
|
|
33
|
-
- Cache read-only GraphQL queries in-memory (`CACHE_TTL_MS`, keyed per-account
|
|
34
|
-
— not just whether the caller was authenticated) instead of re-hitting
|
|
35
|
-
AniList on every call.
|
|
36
|
-
- Add five MCP Prompts (`recommend_similar`, `seasonal_overview`,
|
|
37
|
-
`hidden_gems`, `catch_up_activity`, `check_notifications`) — reusable
|
|
38
|
-
multi-step plans a client can offer as one-click flows instead of the user
|
|
39
|
-
chaining tool calls manually.
|
|
40
|
-
- Declare an `outputSchema` on every tool, describing its `structuredContent`
|
|
41
|
-
shape so clients can validate/introspect tool results instead of only
|
|
42
|
-
getting an opaque JSON blob.
|
|
43
|
-
- Publish a one-click `.mcpb` bundle as a release asset for MCP clients that
|
|
44
|
-
support drag-and-drop install (e.g. Claude Desktop), alongside the source
|
|
45
|
-
install path.
|
|
46
|
-
- Run on MCP TypeScript SDK v2 beta (`@modelcontextprotocol/server`, pinned
|
|
47
|
-
to an exact `2.0.0-beta.x`) — see AGENTS.md for the plan to bump to the
|
|
48
|
-
first stable v2 release.
|
|
22
|
+
- Initial release: an MCP server for AniList's GraphQL API, replacing the broken third-party `anilist-mcp` wrapper (see AGENTS.md's "Why this server exists").
|
|
23
|
+
- Add 45 tools covering anime/manga search and details, characters/staff/studios, genres/tags, recommendations, forum threads, activity feeds, notifications, and personal AniList list management.
|
|
24
|
+
- Unify anime/manga tool pairs (e.g. `get_anime`/`get_manga`, `search_anime`/`search_manga`) into a single tool taking a `type` parameter, instead of one tool per media type.
|
|
25
|
+
- Add `get_notifications` for the authenticated user's AniList notifications (airing episodes, activity/thread activity, new followers).
|
|
26
|
+
- Add `login_anilist`/`submit_anilist_redirect`: an OAuth login flow with localhost auto-capture, falling back to manual redirect paste for remote/headless hosts.
|
|
27
|
+
- Cache read-only GraphQL queries in-memory (`CACHE_TTL_MS`) instead of re-hitting AniList on every call.
|
|
28
|
+
- Add five MCP Prompts (`recommend_similar`, `seasonal_overview`, `hidden_gems`, `catch_up_activity`, `check_notifications`) as one-click multi-step flows.
|
|
29
|
+
- Declare an `outputSchema` on every tool so clients can validate/introspect `structuredContent` instead of an opaque blob.
|
|
30
|
+
- Publish a one-click `.mcpb` bundle as a release asset for drag-and-drop MCP clients (e.g. Claude Desktop).
|
|
31
|
+
- Run on MCP TypeScript SDK v2 beta (`@modelcontextprotocol/server`, pinned to an exact version).
|
|
49
32
|
|
|
50
33
|
### Fixed
|
|
51
34
|
|
|
52
|
-
- Fix `seasonal_overview`
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
specific, actionable message reaches the caller instead of a generic
|
|
67
|
-
"Unexpected error" wrapper.
|
|
68
|
-
- Surface a gated tool's actual "run login_anilist" guidance instead of a
|
|
69
|
-
generic "credentials rejected" message when no token is configured —
|
|
70
|
-
previously any `unauthorized` error was mapped to the same templated text
|
|
71
|
-
regardless of whether it came from AniList itself or from our own
|
|
72
|
-
pre-flight check, discarding the specific fix instructions.
|
|
73
|
-
- Return the actual saved/deleted data from `add_list_entry`/
|
|
74
|
-
`update_list_entry`/`remove_list_entry`, the favourite/follow/activity/
|
|
75
|
-
thread mutation tools, and `update_user`, instead of the raw GraphQL
|
|
76
|
-
response envelope.
|
|
77
|
-
- Reject `remove_list_entry`/`delete_activity`/`delete_thread` when AniList
|
|
78
|
-
reports `deleted: false` (already gone, or not owned by the caller), instead
|
|
79
|
-
of reporting a successful deletion that didn't actually happen.
|
|
80
|
-
- Reject `get_user_activity`/`catch_up_activity` with a clear "no such user"
|
|
81
|
-
error when the given username doesn't resolve to any AniList account,
|
|
82
|
-
instead of silently falling back to the site-wide global activity feed.
|
|
83
|
-
- Report `get_studio` as a real tool error (not a disguised success result)
|
|
84
|
-
when neither `id` nor `name` is given.
|
|
85
|
-
- Send the logged-in user's token on read tools (get_media, search_media,
|
|
86
|
-
get_user_profile, get_user_list, etc.) when one is configured, so
|
|
87
|
-
viewer-relative fields (`isFavourite`, `isFollowing`, `isFollower`) and the
|
|
88
|
-
caller's own private list entries resolve correctly instead of always
|
|
89
|
-
looking logged-out.
|
|
90
|
-
- Generate and verify an OAuth `state` value in `login_anilist`, rejecting a
|
|
91
|
-
callback/redirect that doesn't match the login attempt that started it —
|
|
92
|
-
and don't clear that check prematurely if the token exchange itself fails.
|
|
93
|
-
- Disable retries on the OAuth token exchange, since an authorization code is
|
|
94
|
-
single-use and a retry would just replay an already-consumed code; report a
|
|
95
|
-
clear "run login_anilist again" message on a rejected code instead of a
|
|
96
|
-
generic "bad request" one.
|
|
97
|
-
- Convert `add_list_entry`/`update_list_entry`'s `score` to AniList's raw
|
|
98
|
-
0-100 scale before sending, instead of assuming every account's configured
|
|
99
|
-
`scoreFormat` is 0-10 — previously a non-decimal-10 account would have its
|
|
100
|
-
score silently written on the wrong scale.
|
|
101
|
-
- Order `advancedScores` against the account's actual configured
|
|
102
|
-
advanced-scoring categories for the entry's real anime/manga type (fetched
|
|
103
|
-
live, uncached) and convert it to AniList's raw 0-100 scale, instead of
|
|
104
|
-
sending it in the input object's own key order on a 0-10 scale — previously
|
|
105
|
-
every write was silently off by 10x, and an account with overlapping
|
|
106
|
-
anime/manga category names could have a score filed under the wrong
|
|
107
|
-
category entirely.
|
|
35
|
+
- Fix `seasonal_overview` to only filter by `RELEASING` for the current season, not an explicit past/future one.
|
|
36
|
+
- Have `catch_up_activity` check both the anime AND manga list groups, not just anime.
|
|
37
|
+
- Never cache `get_notifications`, since its `resetNotificationCount` side effect and result must always be fresh.
|
|
38
|
+
- Classify `add_list_entry`/`update_list_entry`'s advancedScores validation failures as a `bad_request` tool error instead of an unclassified one.
|
|
39
|
+
- Surface a gated tool's actual login guidance instead of a generic "credentials rejected" message.
|
|
40
|
+
- Return the actual saved/deleted data from every mutation tool, instead of the raw GraphQL response envelope.
|
|
41
|
+
- Reject `remove_list_entry`/`delete_activity`/`delete_thread` when AniList reports `deleted: false`, instead of a false success.
|
|
42
|
+
- Reject `get_user_activity`/`catch_up_activity` with a clear error when the given username doesn't resolve, instead of silently returning the global feed.
|
|
43
|
+
- Report `get_studio` as a real tool error, not a disguised success, when neither `id` nor `name` is given.
|
|
44
|
+
- Send the logged-in user's token on read tools when configured, so viewer-relative fields (`isFavourite`, `isFollowing`, `isFollower`) resolve correctly.
|
|
45
|
+
- Verify the OAuth `state` value in `login_anilist`, rejecting a mismatched callback.
|
|
46
|
+
- Disable retries on the OAuth token exchange, since an authorization code is single-use.
|
|
47
|
+
- Convert `add_list_entry`/`update_list_entry`'s `score` to AniList's raw 0-100 scale, instead of assuming a 0-10 `scoreFormat`.
|
|
48
|
+
- Order `advancedScores` against the account's real configured categories for the entry's actual media type, instead of guessing from key overlap.
|