sansfiction-mcp
SansFiction MCP & Agent Skill
Подключайте AI-агентов к SansFiction — цифровой библиотеке для книг, подборок, читательских дневников и открытий.
Одни и те же возможности представлены двумя способами, оба аутентифицируются одним и тем же токеном-носителем:
MCP-сервер (Streamable HTTP):
https://sansfiction.com/api/mcpREST API (v1):
https://sansfiction.com/api/v1
Быстрый старт (MCP)
claude mcp add --transport http sansfiction https://sansfiction.com/api/mcpИли укажите любой MCP-клиент на конечную точку streamable-HTTP выше. Инструменты публичного каталога не требуют аутентификации; инструменты личной библиотеки требуют токен-носитель (создайте его на sansfiction.com/docs/agents).
Related MCP server: Calibre RAG MCP Server
Быстрый старт (REST)
# Public catalog — no auth
curl "https://sansfiction.com/api/v1/catalog/search?q=dune&limit=5"
# Personal library — bearer token
curl -H "Authorization: Bearer $SF_TOKEN" \
"https://sansfiction.com/api/v1/library/books?status=reading"Возможности
Публичный каталог (без аутентификации)
GET /api/v1/catalog/search?q=…&searchType=all|author|series|mood|isbnGET /api/v1/catalog/books/{bookId}GET /api/v1/catalog/series/{seriesId}GET /api/v1/catalog/collections
Личная библиотека (токен-носитель)
GET/POST /api/v1/library/books·PATCH/DELETE /api/v1/library/books/{bookId}GET /api/v1/library/searchGET /api/v1/library/collections·GET /api/v1/library/collections/{id}·POST …/itemsGET /api/v1/library/stats
Обнаружение
Agent Skill:
SKILL.md— также доступен по адресуhttps://sansfiction.com/.well-known/agent-skills/sansfiction-catalog/SKILL.mdМанифест MCP Registry:
server.jsonOpenAPI:
https://sansfiction.com/openapi.jsonКарточка MCP-сервера:
https://sansfiction.com/.well-known/mcp/server-card.json
Аутентификация
Создайте персональный токен доступа (sf_mcp_…) в процессе входа на
sansfiction.com/docs/agents. Один и тот же токен
аутентифицирует и MCP-сервер, и REST API. Ограничения скорости: 60 запросов/мин
анонимно, 180 запросов/мин для аутентифицированных.
Лицензия
Сервис SansFiction является проприетарным. Этот репозиторий документирует его публичный интерфейс агента для обнаружения и интеграции.
Локальный запуск в качестве MCP-сервера (stdio)
Этот репозиторий также включает небольшой stdio MCP-сервер, который проксирует запросы к размещенному REST API, что позволяет запускать его везде, где MCP-клиент ожидает локальную команду:
npx sansfiction-mcp
# or
npm install && node index.jsПеременные окружения:
SANSFICTION_TOKEN— токен-носитель (sf_mcp_…) для инструментов личной библиотеки (создаётся на https://sansfiction.com/docs/agents). Инструменты публичного каталога не требуют токена.SANSFICTION_BASE_URL— переопределить базовый URL API (по умолчаниюhttps://sansfiction.com).
Инструменты: search_books, get_book, get_series, list_public_collections,
list_my_books, add_book_to_library, update_library_book,
remove_book_from_library, search_my_library, list_my_collections,
get_reading_stats.
Конфигурация сборки для Glama
Шаги сборки:
["npm install"]Аргументы CMD:
["mcp-proxy","--","node","index.js"]
tools/list не требует сети или учетных данных, поэтому проверка интроспекции проходит
без токена.
Maintenance
Related MCP Servers
- Alicense-qualityCmaintenanceEnables read-only access to local Calibre libraries for searching metadata, inspecting book formats, and extracting content samples. Supports full-text search, batch operations, and detailed book analysis through natural language queries.3MIT
- FlicenseBqualityDmaintenanceEnables semantic search and contextual conversations with your Calibre ebook library using vector-based RAG technology. Supports project-based organization, multi-format book processing, and OCR capabilities for enhanced content extraction and retrieval.72
- Flicense-qualityDmaintenanceEnables semantic search and conversational querying across a personal research library of PDFs, DOCX, and other documents using a vector database. It provides tools for document summarization, finding related papers, and high-accuracy retrieval for AI clients like Claude Desktop.
- Alicense-qualityDmaintenanceEnables searching, reading, and managing a Calibre ebook library through natural language, with features like metadata search, full-text search, content extraction, and library management.241Apache 2.0
Related MCP Connectors
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search and download academic papers from arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semantic…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fgbytes/sansfiction-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server