Skip to main content
Enter TitanOS
Demo project: Custom MCP server for Claude with tests

Demo project: a custom MCP server for Claude, with tests

The sample brief I gave myself: a small shop owner wants Claude to answer stock questions from their inventory without anyone pasting spreadsheets into a chat. It should look things up, check single items and say what needs reordering. It must not change anything.

10 of 10
tests pass, in about 15 seconds on my machine
3
tools listed and callable over a real MCP stdio connection
35 ms and 46 ms
the second and third calls; the first took about 2.2 seconds because it includes server start-up
5 of 12
products flagged for reorder on synthetic data, estimated at 2,035.72 in demo dollars

Evidence label: SYNTHETIC

Demo project. This was built to show how I work, not for a client. The data is synthetic: twelve invented products for a made-up coffee and tea shop. Nothing here is a real business or a real customer.

How fast

For a real job, a starter server is about 2 days and a full build 3 to 5 days, depending on how many tools and how tidy the source system is. If you are not sure which package fits, message me before ordering.

Fast is nice. What did it cost?

What it cost

No client money and no paid services were involved. The demo was built and run on my own machine, and no dollar figure per build is claimed. Anything that runs live for a client runs on the client's own accounts and keys, so their usage is never fronted by us.

What was built

  • A Python MCP server with three read-only tools:
  • `search_items`: find products by name or SKU text, optionally within one category.
  • `get_stock`: stock level, price and a status of ok, low or out of stock for one SKU.
  • `reorder_report`: everything at or below its reorder point, with a suggested order quantity and an estimated cost.
  • There are 10 automated tests. They cover the happy paths, bad inputs (an unknown category, a limit of zero), the boundary where stock equals the reorder point, and a check that the data is never changed by any call.
  • The business logic sits in one plain Python file with no MCP code in it. The server file is a thin wrapper that registers the three functions as tools, each with a clear name, a plain description and typed inputs. That split is deliberate: it keeps the logic easy to test and easy to point at your real database or API later. Bad input raises a clear error instead of a quiet wrong answer.
  • I checked the server the way a real client uses it. A small script starts it over stdio, lists the tools and calls each one. The screenshots show that session and the test run. The session is a scripted MCP client, not the Claude app itself, so I have not claimed a Claude screenshot I did not take.
  • What a client gets: A Python server, built to the tool list we agree.
  • Read-only by default. Write actions only where you approve them.
  • Tests for every tool and a written receipt of what was run.
  • A setup guide for Claude Code and Claude Desktop.

Cheap and fast still has to work. How do we know it does?

How it was checked

10 of 10 tests pass (about 15 seconds on my machine). All 3 tools are listed and callable over a real MCP stdio connection. After the first call, which includes server start-up (about 2.2 seconds), the other two calls returned in 35 ms and 46 ms. On the synthetic data the report flags 5 of 12 products for reorder, with an estimated cost of 2,035.72 in demo dollars, based on a stated demo assumption about wholesale pricing. These are demo measurements on invented data. They say nothing about how a client's system would perform.

Screens from the working app

Would it be okay if we talked about something like this for your business? A free consultation is the first step, and a no is welcome.

Book a free consultationAll case studies
Book a free call