Skip to main content
Glama
TrueLove27

Bookstore MCP Server

by TrueLove27

Bookstore MCP Server

Full-stack bookstore API with dual exposure: REST endpoints for web clients and MCP (Model Context Protocol) tools for LLM agents. One service layer powers both.

Highlights

  • REST API for inventory, orders, and members

  • Six MCP tools (search_books, get_book, check_stock, etc.)

  • React admin UI with Tool Explorer to invoke MCP tools over HTTP

  • Shared service/repository layer — no duplicated business logic

Related MCP server: bookstore-mcp-server

Stack

Layer

Tech

Backend

Node.js, Express, MCP SDK, Zod

Frontend

React, TypeScript, Vite

Data

Local JSON catalog

Getting started

npm run install:all
npm run dev:backend    # http://localhost:8003
npm run dev:frontend   # http://localhost:5176

Docker

docker compose up --build

MCP tools

Tool

Purpose

search_books

Search by title, author, genre

get_book

Book details by ID

check_stock

Availability check

get_order

Order lookup

get_member

Member profile

recommend_books

Genre-based recommendations

Example

curl -X POST http://localhost:8003/api/v1/tools/call \
  -H "Content-Type: application/json" \
  -d '{"tool":"search_books","arguments":{"query":"design"}}'

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes tools for querying a bookstore inventory, allowing AI agents to search and retrieve book information via the Model Context Protocol.
    205 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A production-ready MCP server that gives an LLM agent standalone-equivalent control over a Mineflayer Minecraft bot — movement, mining, crafting, inventory, combat, containers, chat, and much more — exposed as 110 strongly-typed tools across 23 groups, with full bot lifecycle management and dual (poll + push) event streaming.
    50 npm
    2
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude or any LLM to manage a book library via MCP tools, allowing listing, searching, creating, updating, and deleting books through natural language.
    -