Talebook MCP Server
Serves as both the MCP and HTTP interface for the book-related tools, allowing the server to be accessible via HTTP endpoints.
Provides the runtime environment for the MCP server, allowing it to be executed and integrated with Python-based applications.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Talebook MCP Server
A simple Model Context Protocol (MCP) server built with FastAPI that provides book-related tools.
Features
get_books_count: Returns the current count of books in the collection (defaults to 1)
Built with FastAPI for both MCP and HTTP interfaces
Supports both stdio transport (for MCP clients) and HTTP endpoints
Related MCP server: SENTRA MCP
Installation
Install dependencies:
pip install -r requirements.txtUsage
Running as MCP Server (stdio transport)
python src/server.pyRunning as FastAPI HTTP Server
python src/server.py --fastapiThe HTTP server will be available at http://localhost:8000
Available Endpoints (HTTP mode)
GET /- Health checkGET /tools- List available toolsPOST /tools/get_books_count- Get books count
Available Tools (MCP mode)
get_books_count: Get the current count of books in the collection
Input: No parameters required
Output: Text content with the books count
MCP Configuration
To use this server with an MCP client, add the following to your MCP configuration:
{
"mcpServers": {
"talebook-mcp": {
"command": "python",
"args": ["/path/to/talebook-mcp/src/server.py"],
"env": {}
}
}
}Development
The server is structured to be easily extensible. To add new tools:
Add the tool definition to the
list_tools()functionAdd the tool handler to the
call_tool()functionImplement the tool function
Optionally add HTTP endpoints for the new tool
Example Tool Usage
When using an MCP client, you can call the get_books_count tool:
{
"method": "tools/call",
"params": {
"name": "get_books_count",
"arguments": {}
}
}The server will respond with:
{
"content": [
{
"type": "text",
"text": "Current books count: 1"
}
]
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Russian books search, details, and recommendation candidates.
MCP server for Riveter's enrichment, scraping, and monitoring API
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server implementation built with Python and FastAPI for educational purposes. Demonstrates MCP server functionality through a books API interface.MIT
- AlicenseNot gradedqualityDmaintenanceA minimal FastAPI-based MCP server that provides basic utility tools like ping and time functions. Designed for easy deployment with Docker support, authentication, and extensible architecture for future tool additions.MIT
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for accessing local Kindle library data, exposing tools to query profile, health, and book metadata.MIT
- FlicenseNot gradedqualityDmaintenanceReusable MCP server for Python backend development with FastAPI, MongoDB, and Stackraise support.-