anilist-mcp-server 0.1.1 → 0.1.4
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 +32 -0
- package/README.md +29 -18
- package/dist/index.js +58 -56
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,38 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.4] - 2026-07-21
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Return `rankings` from `get_media` — AniList's own ranking badges (e.g. "#134 highest rated all time", "#11 highest rated 2024").
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Stop `search_media` from treating an empty/whitespace `term` differently from an omitted one — it now falls back to the documented term-less browse/ranking mode instead of silently returning zero results.
|
|
18
|
+
- Paginate `get_media_tags` (`page`/`perPage`) instead of always returning the full ~425-tag list in one response.
|
|
19
|
+
- Paginate `get_user_list` by `chunk`/`perChunk` (AniList's own mechanism for this field) instead of returning a user's entire list in one response.
|
|
20
|
+
- Stop blaming "credentials" for every 401/403: the error message now distinguishes a token that was actually sent (invalid/expired, or the account just isn't allowed to do this specific thing) from no token at all (log in for an anonymous 401; a likely WAF block or outage, not a permissions problem, for an anonymous 403).
|
|
21
|
+
- Bound every AniList numeric-ID input to GraphQL's 32-bit `Int` range, so an out-of-range ID now fails local validation with a clear message instead of a raw upstream GraphQL type error.
|
|
22
|
+
|
|
23
|
+
## [0.1.3] - 2026-07-21
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Fix a startup race where a `SIGINT`/`SIGTERM` arriving between `serveStdio()` starting and the signal handlers being registered would kill the process immediately instead of shutting down gracefully — handlers are now armed first. ([40d16ba](https://github.com/Grinv/anilist-mcp-server/commit/40d16ba))
|
|
28
|
+
|
|
29
|
+
## [0.1.2] - 2026-07-21
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- Reject a malformed `access_token` in AniList's OAuth token response with a clear error, instead of silently storing it. ([38c193c](https://github.com/Grinv/anilist-mcp-server/commit/38c193c))
|
|
34
|
+
- Stop `get_media_tags`'s description from implying `search_media` can filter results by tag — it can't. ([ed171f7](https://github.com/Grinv/anilist-mcp-server/commit/ed171f7))
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- Expose `ANILIST_OAUTH_PORT` and `ANILIST_TOKEN_STORE` in the `.mcpb` install form and MCP Registry entry, not just as env vars. ([d75eaf1](https://github.com/Grinv/anilist-mcp-server/commit/d75eaf1))
|
|
39
|
+
- Clarify several tool and prompt descriptions (activity/recommendation ID sources, `search_media`'s term-less sort/browse mode, `get_user_recent_activity`'s fixed 5-post count) to reduce cross-tool mix-ups. ([ed171f7](https://github.com/Grinv/anilist-mcp-server/commit/ed171f7))
|
|
40
|
+
|
|
9
41
|
## [0.1.1] - 2026-07-21
|
|
10
42
|
|
|
11
43
|
### Added
|
package/README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# AniList MCP Server
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/anilist-mcp-server)
|
|
4
|
+
[](https://github.com/Grinv/anilist-mcp-server/actions/workflows/ci.yml)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.Grinv/anilist-mcp-server&version=latest)
|
|
7
|
+
[](https://glama.ai/mcp/servers/Grinv/anilist-mcp-server)
|
|
8
|
+
|
|
3
9
|
An [MCP](https://modelcontextprotocol.io) server for **[AniList](https://anilist.co)**.
|
|
4
10
|
It works with any MCP-compatible client or agent (Claude Desktop/Code, Cursor,
|
|
5
11
|
VS Code, Cline, Continue, and others) — the server speaks the standard MCP
|
|
@@ -96,28 +102,17 @@ enable the personal-list/social tools (see
|
|
|
96
102
|
[Connect your AniList account](#connect-your-anilist-account)). Leave them
|
|
97
103
|
blank to use just the credential-free read tools.
|
|
98
104
|
|
|
99
|
-
###
|
|
100
|
-
|
|
101
|
-
```sh
|
|
102
|
-
git clone https://github.com/Grinv/anilist-mcp-server
|
|
103
|
-
cd anilist-mcp-server
|
|
104
|
-
npm ci
|
|
105
|
-
npm run build
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
This produces a self-contained `dist/index.js`. Point your client at it (see below).
|
|
109
|
-
|
|
110
|
-
## Connect it to an MCP client
|
|
105
|
+
### Via npx (no install)
|
|
111
106
|
|
|
112
|
-
|
|
113
|
-
Cline, …):
|
|
107
|
+
Published on npm as [`anilist-mcp-server`](https://www.npmjs.com/package/anilist-mcp-server).
|
|
108
|
+
Add it to your client's MCP config (Claude Desktop/Code, Cursor, VS Code, Cline, …):
|
|
114
109
|
|
|
115
110
|
```json
|
|
116
111
|
{
|
|
117
112
|
"mcpServers": {
|
|
118
113
|
"anilist": {
|
|
119
|
-
"command": "
|
|
120
|
-
"args": ["
|
|
114
|
+
"command": "npx",
|
|
115
|
+
"args": ["-y", "anilist-mcp-server"],
|
|
121
116
|
"env": {
|
|
122
117
|
"ANILIST_CLIENT_ID": "...",
|
|
123
118
|
"ANILIST_CLIENT_SECRET": "..."
|
|
@@ -130,10 +125,25 @@ Cline, …):
|
|
|
130
125
|
Or with the Claude Code CLI:
|
|
131
126
|
|
|
132
127
|
```sh
|
|
133
|
-
claude mcp add anilist -e ANILIST_CLIENT_ID=... -e ANILIST_CLIENT_SECRET=... --
|
|
128
|
+
claude mcp add anilist -e ANILIST_CLIENT_ID=... -e ANILIST_CLIENT_SECRET=... -- npx -y anilist-mcp-server
|
|
134
129
|
```
|
|
135
130
|
|
|
136
|
-
|
|
131
|
+
### From source
|
|
132
|
+
|
|
133
|
+
```sh
|
|
134
|
+
git clone https://github.com/Grinv/anilist-mcp-server
|
|
135
|
+
cd anilist-mcp-server
|
|
136
|
+
npm ci
|
|
137
|
+
npm run build
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
This produces a self-contained `dist/index.js`. Point your client at it the same
|
|
141
|
+
way as above, swapping `"command": "npx", "args": ["-y", "anilist-mcp-server"]`
|
|
142
|
+
for `"command": "node", "args": ["/absolute/path/to/anilist-mcp-server/dist/index.js"]`
|
|
143
|
+
(and `npx -y anilist-mcp-server` for `node /absolute/path/to/anilist-mcp-server/dist/index.js`
|
|
144
|
+
in the CLI form).
|
|
145
|
+
|
|
146
|
+
The `env` block (shown above for both install methods) is **optional** — omit it to use only the credential-free read
|
|
137
147
|
tools; the personal/mutation tools will return a clear error until you log in.
|
|
138
148
|
To enable them, set `ANILIST_CLIENT_ID` + `ANILIST_CLIENT_SECRET` and run the
|
|
139
149
|
**`login_anilist`** tool once (a one-time browser authorization; the token is
|
|
@@ -245,6 +255,7 @@ To be notified of new versions, click **Watch → Releases** on GitHub.
|
|
|
245
255
|
- **`.mcpb` bundle:** download the new `anilist-mcp-server.mcpb` from the
|
|
246
256
|
[releases page](https://github.com/Grinv/anilist-mcp-server/releases) and
|
|
247
257
|
reinstall it in your client (it replaces the old version).
|
|
258
|
+
- **npx:** unpinned `npx -y anilist-mcp-server` fetches the latest on the next run.
|
|
248
259
|
- **From source:** `git pull && npm ci && npm run build`.
|
|
249
260
|
|
|
250
261
|
See the [CHANGELOG](CHANGELOG.md) for what changed in each release.
|