sun-tzu-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sun-tzu-mcpFind a Sun Tzu quote for dealing with a micromanaging boss"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sun-tzu-mcp
An MCP server that finds the Sun Tzu quote for a situation. Built for workplace use: describe what is happening ("the PM keeps adding scope two days before release") and get back verses from The Art of War with their chapter citation, so the quote you paste is the quote Sun Tzu actually wrote.
Tools
Tool | What it does |
| Matches a plain-language situation to verses, best first |
| The theme vocabulary, with a gloss and verse count for each |
| One verse at random from the annotated set |
| Renders a verse as a PNG card, 1200x630, and copies it to the clipboard |
There is also a sun-tzu://corpus resource holding all 383 verses.
The card is written to a temp file and put on the clipboard. Clipboard copying is macOS only; on other platforms the PNG is still written and the tool says so instead of failing.
caption sets one italic line above the verse, for framing the quote (On being told "good job"). It is
taken verbatim, shrunk to fit, then clipped with an ellipsis. Omit it for a bare card.
Related MCP server: Hilanet MCP
Install
Needs Node 20 or newer. Nothing else: no API key, no network, no database.
claude mcp add sun-tzu -- npx -y sun-tzu-mcpOr, for any MCP client that takes a JSON config:
{
"mcpServers": {
"sun-tzu": {
"command": "npx",
"args": ["-y", "sun-tzu-mcp"]
}
}
}The server runs locally as a subprocess of the client and talks stdio. Nothing is hosted, nothing phones home.
From a clone
pnpm install
pnpm build
claude mcp add sun-tzu -- node /absolute/path/to/sun-tzu-mcp/dist/index.jsHow matching works
No embeddings, no network, no API key. The corpus ships with the server and matching is deterministic:
The situation is normalized, tokenized and stemmed.
A lexicon maps working-life vocabulary onto the theme vocabulary, so
reorgreaches verses taggedadaptabilityandmicromanagereachesdelegationwithout sharing a word with the text.Verses score on three fields: matched themes (weight 3), curated situation hints (2), and verse text (1). A theme that several query terms agree on counts for more, which keeps an incidental word from steering the result.
The tradeoff: paraphrase far outside the lexicon matches less well than embeddings would. In exchange it is instant, free, offline and debuggable, and the calling model is already good at rewriting a situation into words the lexicon knows.
Data
data/source/pg132.txt— the Giles 1910 translation, Project Gutenberg #132, public domain.data/verses.json— generated. 383 verses parsed out of the source bypnpm corpus. Do not edit by hand.data/tags.json— hand-curated. Themes and situation hints for the verses that carry over to working life. Kept separate fromverses.jsonso re-parsing never wipes it.data/themes.json— the theme vocabulary.tags.jsonis validated against it at server startup, so an unknown theme fails loudly instead of silently never matching.
Parsing notes
The Gutenberg plain text interleaves Giles' commentary with the verses and its brackets are not
reliable: blocks are missing opening brackets, missing closing brackets, and one verse (V.9) is missing
the period after its number. Character-level bracket counting silently swallows whole chapters. The
parser therefore works paragraph by paragraph, uses verse numbers as hard boundaries, and falls back on
markers of Giles' voice (commentator names, dates, "says:") where the brackets fail. pnpm corpus
prints verse coverage per chapter and flags any gap in the numbering, so a regression is visible.
Tests
pnpm build && pnpm testCovers the corpus (verse count, citation format, no commentary leakage) and the matcher (a table of
situations that must each reach a specific verse in the top 3). Add a row to EXPECTED in
test/match.test.mjs when you extend the lexicon.
Licence
The translation is public domain. The code and the curation are MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn elegant MCP server that lets users manage inspirational phrases directly through Claude for Desktop, offering complete CRUD operations for phrases with author attribution.61,3342MIT
- Flicense-qualityDmaintenanceA satirical MCP server providing HR-related tools that simulate actions in a corporate dystopia, such as increasing salaries, scheduling mandatory fun events, and generating corporate jargon.37
- Flicense-qualityDmaintenanceA sample MCP server that fetches random inspirational quotes, programming jokes, and advice from public APIs. Provides three simple tools for testing and demonstration purposes.
- AlicenseAqualityBmaintenanceAn MCP server that finds relevant xkcd comics during conversation by semantically matching the context to comic titles, alt text, and transcripts.1MIT
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server exposing Kettle Logic insight articles & industry guidance as tools + resources.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Sandbye/sun-tzu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server