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: Swagger MCP Adapter

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:3000
npm run dev:frontend   # http://localhost:5173

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:3000/api/v1/tools/call \
  -H "Content-Type: application/json" \
  -d '{"tool":"search_books","arguments":{"query":"design"}}'

License

MIT

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/TrueLove27/mcp-demo-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server