sansfiction-mcp
Sansfiction library search and management
README
SansFiction MCP & Agent Skill
Connect AI agents to SansFiction — a digital library for books, collections, reading journals, and discovery.
The same capabilities are exposed two ways, both authenticated with the same bearer token:
- MCP server (Streamable HTTP):
https://sansfiction.com/api/mcp - REST API (v1):
https://sansfiction.com/api/v1
Quick start (MCP)
claude mcp add --transport http sansfiction https://sansfiction.com/api/mcp
Or point any MCP client at the streamable-HTTP endpoint above. Public catalog tools need no auth; personal library tools require a bearer token (generate one at sansfiction.com/docs/agents).
Quick start (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"
Capabilities
Public catalog (no auth)
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
Personal library (bearer token)
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
Discovery
- Agent Skill:
SKILL.md— also served athttps://sansfiction.com/.well-known/agent-skills/sansfiction-catalog/SKILL.md - MCP Registry manifest:
server.json - OpenAPI:
https://sansfiction.com/openapi.json - MCP server card:
https://sansfiction.com/.well-known/mcp/server-card.json
Authentication
Generate a personal access token (sf_mcp_…) while signed in at
sansfiction.com/docs/agents. The same token
authenticates both the MCP server and the REST API. Rate limits: 60 req/min
anonymous, 180 req/min authenticated.
License
The SansFiction service is proprietary. This repository documents its public agent interface for discovery and integration.
Run locally as an MCP server (stdio)
This repo also ships a small stdio MCP server that proxies to the hosted REST API, so you can run it anywhere an MCP client expects a local command:
npx sansfiction-mcp
# or
npm install && node index.js
Environment variables:
SANSFICTION_TOKEN— bearer token (sf_mcp_…) for the personal-library tools (generate at https://sansfiction.com/docs/agents). Public catalog tools need none.SANSFICTION_BASE_URL— override the API base (defaulthttps://sansfiction.com).
Tools: 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 build configuration
- Build steps:
["npm install"] - CMD arguments:
["mcp-proxy","--","node","index.js"]
tools/list requires no network or credentials, so the introspection check passes
without a token.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。