NM

nicoaguerrero/myanimelist-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 6 forks 质量 64 趋势 5MIT

MyAnimeList MCP 服务器

概览

MCP 磁共振 用于与 MyAnimeList API 互动的服务器,允许LLM客户端访问并和 anime,manga 等互动. 通过Smithery自动为克洛德桌面安装 myanimelist-mcp-server: 1. 将此服务器添加到您的 Claude desktop config.json 中 : 2. 重新启动克洛德桌面 3. 使用工具与MyAnimeList互动 - 获取基于搜索查询和过滤器的动能列表 - 获取其ID的动能细节,如推荐,工作室,广播等 - : 获得动能排名 - :根据年份和季节获得季节性动能 - :根据用户名获取用户的动能列表 - : [要求 Auth] 为登录的用户获取 anime 建议 - : [要求 Auth] 从已登录用户的 anime 列表更新一个动画 - : [要求 Auth] 从登录用户的 anime 列表中删除一个 anime - :根据搜索查询和过滤器获取漫画列表 - :通过它的ID获取漫画的细节 - :获取漫画排名 - :根据它的用户名获取用户的漫画列表 - : [需要.

概述(AI 翻译)

MCP 磁共振 用于与 MyAnimeList API 互动的服务器,允许LLM客户端访问并和 anime,manga 等互动.

□ 使用 Claude 桌面( 或其他 MCP 客户端)

通过 Smithery 安装

通过Smithery自动为克洛德桌面安装 myanimelist-mcp-server:

手动安装

  1. 将此服务器添加到您的 [[T0] :

  2. 重新启动克洛德桌面

  3. 使用工具与MyAnimeList互动

□ 可用的工具

动画

  • get anime:根据搜索查询和过滤器获得一个动画列表
  • ** 得到 anime 详情**: 按其ID获取动画的细节,如推荐,工作室,广播等.
  • 得到 anime 级别**: 获得动画排名
  • get seasonal anime:根据年份和季节获得季节性动画
  • 获得 anime list**: 根据用户名获取用户的 anime 列表
  • [要求] 为登录用户获取 anime 建议 -update mianimelist:[要求] 更新登录用户的动画列表中的动画
  • delete mianimelist 项目:[要求] 从登录用户的 anime 列表中删除一个 anime

漫画

本页由 AI 翻译,技术细节请以原文为准。

README

MyAnimeList MCP Server

MCP Server for interacting with the MyAnimeList API, allowing LLM clients to access and interact with anime, manga and more.

Using with Claude Desktop (or other MCP clients)

Installing via Smithery

To install myanimelist-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @nicoaguerrero/myanimelist-mcp-server --client claude

Manual Installation

  1. Add this server to your claude_desktop_config.json:
{
    "mcpServers": {
        "myanimelist": {
            "command": "uv",
            "args": [
                "--directory",
                "",
                "run",
                "main.py"
            ]
        }
    }
}
  1. Restart Claude Desktop
  2. Use the tools to interact with MyAnimeList

Available Tools

Anime

  • get_anime: Get a list of anime based on a search query and filters
  • get_anime_details: Get details of an anime by its ID, like recommendations, studios, broadcasting, etc.
  • get_anime_ranking: Get anime rankings
  • get_seasonal_anime: Get seasonal anime based on year and season
  • get_anime_list: Get an user’s anime list based on it’s username
  • get_suggested_anime: [Requires Auth] Get anime recommendations for a logged user
  • update_myanimelist: [Requires Auth] Update an anime from the logged user’s anime list
  • delete_myanimelist_item: [Requires Auth] Delete an anime from the logged user’s anime list

Manga

  • get_manga: Get a list of manga based on a search query and filters
  • get_manga_details: Get details of a manga by its ID
  • get_manga_ranking: Get manga rankings
  • get_manga_list: Get an user’s manga list based on it’s username
  • update_mymangalist: [Requires Auth] Update a manga from the logged user’s manga list
  • delete_mymangalist_item: [Requires Auth] Delete a manga from the logged user’s manga list

User

  • get_user_profile: [Requires Auth] Get details about the logged user

Get an MyAnimeList API Token for Auth

To get an API token, follow these steps:

  1. Go to API in profile settings.
  2. Click on “Create ID” and select app type web.
  3. Use this URL as your client’s “Redirect URL”:
http://localhost:8080/callback
  1. Click “Submit”
  2. Then click “Edit” in your generated client and you will see the the client_ID and client_secret.
  3. Copy them in your .env file or environment variables (see .env_example).

Useful resources

https://myanimelist.net/apiconfig/references/authorization https://myanimelist.net/forum/?topicid=1850649&show=150#msg69272815 https://myanimelist.net/apiconfig/references/api/v2

在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @nicoaguerrero/myanimelist-mcp-server --client claude
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "myanimelist": { "command": "uv", "args": [ "--directory", "<path to your project>", "run", "main.py" ] } } }