@open-and-async/mcp 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE-LICENSE.md +29 -0
- package/DATA-LICENSE.md +36 -0
- package/LICENSE +35 -0
- package/README.md +108 -0
- package/data/book.json +620 -0
- package/package.json +49 -0
- package/src/data.js +67 -0
- package/src/index.js +44 -0
- package/src/prompts.js +108 -0
- package/src/resources.js +58 -0
- package/src/tools/content.js +330 -0
- package/src/tools/methods.js +305 -0
package/CODE-LICENSE.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Code license
|
|
2
|
+
|
|
3
|
+
**This license governs the software in this package — the files under `src/`.**
|
|
4
|
+
It does **not** apply to the bundled data file `data/book.json`, which is
|
|
5
|
+
licensed separately under [`DATA-LICENSE.md`](DATA-LICENSE.md).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
MIT License
|
|
10
|
+
|
|
11
|
+
Copyright © 2026 Open & Async LLC
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
package/DATA-LICENSE.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Data license
|
|
2
|
+
|
|
3
|
+
**This license governs the data file `data/book.json` only.** The software in
|
|
4
|
+
this package (the files under `src/`) is licensed separately under the MIT
|
|
5
|
+
License — see [`CODE-LICENSE.md`](CODE-LICENSE.md).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Copyright © 2026 Open & Async LLC. All rights reserved.
|
|
10
|
+
|
|
11
|
+
`data/book.json` is a derived work of the book *Open and Async* by Ben Balter.
|
|
12
|
+
It contains the book's already-public summaries (outline, chapter TL;DRs,
|
|
13
|
+
key takeaways, taglines) and reviewed, paraphrased framework material. It does
|
|
14
|
+
**not** contain the book's prose.
|
|
15
|
+
|
|
16
|
+
Permission is granted to use `data/book.json` **solely as part of operating the
|
|
17
|
+
`@open-and-async/mcp` software** (for example, when the MCP server reads it to
|
|
18
|
+
answer a tool call). This is a license to use, not a transfer of any right in
|
|
19
|
+
the underlying work.
|
|
20
|
+
|
|
21
|
+
You may **not**, without prior written permission from Open & Async LLC:
|
|
22
|
+
|
|
23
|
+
- redistribute `data/book.json`, in whole or in part, as a standalone dataset
|
|
24
|
+
or as part of any package other than `@open-and-async/mcp`;
|
|
25
|
+
- create derivative datasets, compilations, or databases from it;
|
|
26
|
+
- use it, in whole or in part, as training, fine-tuning, or evaluation data for
|
|
27
|
+
any machine-learning model.
|
|
28
|
+
|
|
29
|
+
Brief quotation of individual taglines or summaries for review, commentary, or
|
|
30
|
+
attribution is fine and encouraged.
|
|
31
|
+
|
|
32
|
+
The full work — the stories, the voice, and the argument — is the book.
|
|
33
|
+
Get it at <https://open-and-async.com>.
|
|
34
|
+
|
|
35
|
+
For permissions beyond this license, contact Open & Async LLC via
|
|
36
|
+
<https://open-and-async.com>.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Licensing
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
This project is split-licensed. There is no single license that covers the
|
|
5
|
+
whole repository — the code and the bundled data are governed by different
|
|
6
|
+
terms, so please refer to the right one for what you intend to use.
|
|
7
|
+
|
|
8
|
+
Code
|
|
9
|
+
----
|
|
10
|
+
|
|
11
|
+
Everything under `src/` (the MCP server software) is licensed under the MIT
|
|
12
|
+
License. You may use, modify, and redistribute it freely under those terms.
|
|
13
|
+
|
|
14
|
+
See CODE-LICENSE.md for the full text.
|
|
15
|
+
|
|
16
|
+
Data
|
|
17
|
+
----
|
|
18
|
+
|
|
19
|
+
The bundled data file `data/book.json` is NOT open source. It is proprietary
|
|
20
|
+
content — © 2026 Open & Async LLC, derived from the book *Open and Async* by
|
|
21
|
+
Ben Balter — and is licensed only for use as part of operating the
|
|
22
|
+
`@open-and-async/mcp` software. Redistribution as a standalone dataset,
|
|
23
|
+
derivative datasets, and use as machine-learning training data are not
|
|
24
|
+
permitted.
|
|
25
|
+
|
|
26
|
+
See DATA-LICENSE.md for the full terms.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
In short: the software is MIT; the book's summaries are not. Mixing the two
|
|
31
|
+
(for example, redistributing `data/book.json` under the MIT terms above) is not
|
|
32
|
+
permitted. When in doubt, the per-file licenses above control.
|
|
33
|
+
|
|
34
|
+
For permissions beyond these licenses, contact Open & Async LLC via
|
|
35
|
+
<https://open-and-async.com>.
|
package/README.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Open and Async — MCP Server
|
|
2
|
+
|
|
3
|
+
Bring async-first working practices into your editor and AI assistant. This
|
|
4
|
+
[Model Context Protocol](https://modelcontextprotocol.io) server gives your AI the
|
|
5
|
+
tools to draft a decision doc, turn a meeting into an async artifact, pressure-test a
|
|
6
|
+
status update, or settle a sync-vs-async debate — without leaving the tools you
|
|
7
|
+
already work in.
|
|
8
|
+
|
|
9
|
+
It's the method from **[Open and Async](https://open-and-async.com)** — the
|
|
10
|
+
collaborative software-development playbook for remote and distributed teams — as
|
|
11
|
+
working tools, not reading.
|
|
12
|
+
|
|
13
|
+
## What you can do with it
|
|
14
|
+
|
|
15
|
+
- **Stop writing decision docs from a blank page.** Hand your AI the decision and the
|
|
16
|
+
options; get back a structured ADR scaffold — context, tradeoffs, the call, and how
|
|
17
|
+
reversible it is.
|
|
18
|
+
- **Turn "let's hop on a call" into an artifact.** Give it a meeting's purpose and
|
|
19
|
+
agenda; get the async equivalent with an owner and a deadline.
|
|
20
|
+
- **Ship status updates that don't blindside anyone.** Score a draft against the
|
|
21
|
+
"work loudly / no surprises" rubric and get concrete fixes before you post it.
|
|
22
|
+
- **Settle sync vs. async in seconds.** Describe the task; get a recommendation and
|
|
23
|
+
the rule behind it.
|
|
24
|
+
- **Run a standup without a meeting.** Drop in a structured async-standup template
|
|
25
|
+
your team can adopt today.
|
|
26
|
+
- **Win the "async is too slow" argument.** Map common objections to a ready reframe,
|
|
27
|
+
pull role-aware guidance, or search the book's principles — each answer cited and
|
|
28
|
+
linked.
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
**Claude Code:**
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
claude mcp add open-async -- npx -y @open-and-async/mcp
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Claude Desktop** (`claude_desktop_config.json`):
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
{
|
|
42
|
+
"mcpServers": {
|
|
43
|
+
"open-async": {
|
|
44
|
+
"command": "npx",
|
|
45
|
+
"args": ["-y", "@open-and-async/mcp"]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Any MCP client that speaks stdio works the same way: run `npx @open-and-async/mcp`.
|
|
52
|
+
|
|
53
|
+
## The toolbox
|
|
54
|
+
|
|
55
|
+
### Method tools — pure utility, use them on any project
|
|
56
|
+
|
|
57
|
+
| Tool | What it does |
|
|
58
|
+
| --- | --- |
|
|
59
|
+
| `draft_decision_doc` | Decision + options → a structured ADR/decision-doc scaffold (context, options, tradeoffs, decision, reversibility). |
|
|
60
|
+
| `convert_meeting_to_async` | Meeting purpose/agenda → the async equivalent (artifact, owner, deadline). |
|
|
61
|
+
| `score_status_update` | Scores a draft update against the "work loudly / no surprises" rubric and suggests fixes. |
|
|
62
|
+
| `run_async_standup` | A structured async-standup template a team can adopt. |
|
|
63
|
+
| `triage_sync_vs_async` | Recommends sync vs async for a task, with the decision rule. |
|
|
64
|
+
|
|
65
|
+
### Reference tools — the book's thinking, on demand
|
|
66
|
+
|
|
67
|
+
| Tool | What it does |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| `book_outline` | Sections + chapters + one-line TL;DRs. The map. |
|
|
70
|
+
| `get_chapter_summary` | A chapter's TL;DR + taglines + read-the-chapter link. |
|
|
71
|
+
| `search_principles` | Keyword search over the summary corpus; short cited snippets. |
|
|
72
|
+
| `handle_objection` | Maps skepticism ("async is slow") to the book's reframe. |
|
|
73
|
+
| `get_guidance` | Role-aware (`manager`/`ic`) guidance for a topic. |
|
|
74
|
+
| `get_taglines` | Taglines + their `/q/<slug>` quote-card URLs. |
|
|
75
|
+
|
|
76
|
+
### Resources
|
|
77
|
+
|
|
78
|
+
- `book://outline` — sections, chapters, TL;DRs (JSON)
|
|
79
|
+
- `book://taglines` — taglines + quote-card URLs (JSON)
|
|
80
|
+
|
|
81
|
+
### Prompts
|
|
82
|
+
|
|
83
|
+
Parameterized templates you invoke directly from your client:
|
|
84
|
+
`async-standup`, `write-adr`, `meeting-to-issue`, `weekly-update`.
|
|
85
|
+
|
|
86
|
+
## Good to know
|
|
87
|
+
|
|
88
|
+
**It's a real tool, not a paywall.** The method tools work on their own — no book
|
|
89
|
+
required. The reference tools answer from the book's already-public summaries and a
|
|
90
|
+
paraphrased framework layer, always capped, always cited, always linked back so you
|
|
91
|
+
can go deeper. No verbatim book prose is bundled (the only data file is
|
|
92
|
+
`data/book.json`), so what you install is genuinely useful, not a teaser.
|
|
93
|
+
|
|
94
|
+
**Staying current.** `data/book.json` ships with a `version` that tracks the book's
|
|
95
|
+
edition, so the server can tell you which edition it's based on and re-sync when a new
|
|
96
|
+
one lands.
|
|
97
|
+
|
|
98
|
+
## Licensing
|
|
99
|
+
|
|
100
|
+
This package is split-licensed — see [LICENSE](LICENSE) for the overview:
|
|
101
|
+
|
|
102
|
+
- **Code** (everything under `src/`) — [MIT](CODE-LICENSE.md).
|
|
103
|
+
- **Data** (`data/book.json`) — proprietary; © Open & Async LLC. You may use it only
|
|
104
|
+
as part of running this software. No redistribution as a standalone dataset, no
|
|
105
|
+
derivative datasets, no model training. See [DATA-LICENSE.md](DATA-LICENSE.md).
|
|
106
|
+
|
|
107
|
+
The full work — the stories, the voice, the complete argument — lives in the book:
|
|
108
|
+
**[open-and-async.com](https://open-and-async.com)**.
|