
yuna0x0/anilist-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
yuna0x0/anilist-mcp - кандидат на сервер MCP, импортированный из https://github.com/yuna0x0/anilist-mcp.
Обзор
yuna0x0/anilist-mcp - кандидат на сервер MCP, импортированный из https://github.com/yuna0x0/anilist-mcp.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который взаимодействует с API AniList, позволяя клиентам LLM получать доступ и взаимодействовать с аниме, мангой, персонажами, персоналом и пользовательскими данными из AniList.
Особенности
- Поиск аниме, манги, персонажей, сотрудников и студий Получите подробную информацию о конкретных аниме, манге, персонажах и сотрудниках
- Доступ к профилям и спискам пользователей Поддержка расширенных вариантов фильтрации
- Retrieve жанры и медиа-теги -Двойная транспортная поддержка: Как HTTP, так и STDIO Развертывание облака готово: Поддержка Smithery и других платформ
Требования
Node.js 18+
##Местная установка (STDIO Transport)
1.Добавьте этот сервер к своему mcp.json / claude_desktop_config.json:
Вы можете полностью удалить объект env, если вы не планируете использовать токен AniList для операций, требующих входа в систему.
2 Перезагрузите клиент MCP (например, Claude Desktop) 3. Используйте инструменты для взаимодействия с AniList
Развертывание сервера (HTTP Transport)
Самостоятельный хостинг
Следуйте инструкциям по локальному развитию, чтобы настроить проект локально, а затем запустить:
Это запустит сервер на порту 8081 по умолчанию.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
AniList MCP Server
A Model Context Protocol (MCP) server that interfaces with the AniList API, allowing LLM clients to access and interact with anime, manga, character, staff, and user data from AniList.
Features
- Search for anime, manga, characters, staff, and studios
- Get detailed information about specific anime, manga, characters, and staff members
- Access user profiles and lists
- Support for advanced filtering options
- Retrieve genres and media tags
- Dual transport support: Both HTTP and STDIO transports
- Cloud deployment ready: Support Smithery and other platforms
Requirements
- Node.js 18+
Local Installation (STDIO Transport)
- Add this server to your
mcp.json/claude_desktop_config.json:
{
"mcpServers": {
"anilist": {
"command": "npx",
"args": ["-y", "anilist-mcp"],
"env": {
"ANILIST_TOKEN": "your_api_token"
}
}
}
}
You may remove the env object entirely, if you are not planning to use the AniList Token for operations that require login.
- Restart your MCP client (e.g., Claude Desktop)
- Use the tools to interact with AniList
Server Deployment (HTTP Transport)
Self-Hosting
Follow the Local Development instructions to set up the project locally, then run:
pnpm run start:http
This will start the server on port 8081 by default. You can change the port by setting the PORT environment variable.
Cloud Deployment
You can deploy this MCP server to any cloud platform that supports Node.js server applications.
You can also deploy via MCP platforms like Smithery.
Configuration
Environment Variables (STDIO Transport and HTTP Transport server where host provides the config)
When using the STDIO transport or hosting the HTTP transport server, you can pass configuration via environment variables:
ANILIST_TOKEN: (Optional) AniList API Token (Only needed for operations that require login)
[!CAUTION] If you are hosting the HTTP transport server with token pre-configured, you should protect your endpoint and implement authentication before allowing users to access it. Otherwise, anyone can access your MCP server while using your AniList token.
HTTP Headers (HTTP Transport where user provides the config)
When using the HTTP transport, user can pass configuration via HTTP headers:
Anilist-Token: (Optional) AniList API Token (Only needed for operations that require login)
If the user provides the token in the header, while the server also has ANILIST_TOKEN set, the header value will take precedence.
Get an AniList API Token (Optional)
To get an API token, follow these steps:
- Go to AniList settings.
- Click on “Create New Client”.
- Use this URL as your client’s “Redirect URL”:
https://anilist.co/api/v2/oauth/pin
- Click “Save”
Установка
npx -y anilist-mcpКонфигурация
{
"mcpServers": {
"anilist": {
"command": "npx",
"args": ["-y", "anilist-mcp"],
"env": {
"ANILIST_TOKEN": "your_api_token"
}
}
}
}