| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 6 | 1 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 1 | 0 | 0 | 100% |
What each file covers
Sections
0 shared · 6 only in A · 1 only in B- − @second-brain/mcp-server — Agent Instructions
- − Entry Point
- − Transports
- − Tools (32 total)
- − Resources
- − Adding a New MCP Tool
- + CLAUDE.md
Commands
neither file has anySection tags
1 shared · 0 only in A · 0 only in B- agent-behaviour
Line diff
thangaram611/second-brain · packages/mcp-server/AGENTS.md
@@ −1 @@
1# @second-brain/mcp-server — Agent Instructions
2
3MCP (Model Context Protocol) server exposing 32 tools for knowledge graph operations.
4
5## Entry Point
6
7`src/server.ts` → `createMcpServer()` registers all tools and resources.
8
9## Transports
10
11- `src/stdio.ts` — stdio transport (for CLI-based MCP clients)
12- `src/http.ts` — Streamable HTTP transport
13- `src/transports/` — Transport helpers
14
15## Tools (32 total)
16
17| File | Category | Count |
18|------|----------|-------|
19| `src/tools/read-tools.ts` | Read operations | 15 |
20| `src/tools/write-tools.ts` | Write operations | 12 |
21| `src/tools/pipeline-tools.ts` | Pipeline operations | 5 |
22| `src/tools/formatters.ts` | Response formatting helpers | — |
23
24## Resources
25
26`src/resources/` — MCP resource definitions (graph metadata, schemas).
27
28## Adding a New MCP Tool
29
301. Add tool definition in the appropriate file under `src/tools/`
312. Register in `src/server.ts` via `createMcpServer()`
323. Follow existing patterns: Zod schema for input, formatter for output
33
thangaram611/second-brain · CLAUDE.md
@@ +1 @@
1# CLAUDE.md
2
3Second Brain — a developer knowledge graph: shared engineering memory for teams ("git remembers the code; Second Brain remembers why"). pnpm monorepo, Turborepo, Node.js 24+, TypeScript 5.8+ strict, ESM only.
4
5All conventions, monorepo map, data model, architecture decisions, and common tasks are in [AGENTS.md](./AGENTS.md) (auto-loaded alongside this file).
6
7Deep-dive docs:
8- [docs/architecture.md](./docs/architecture.md) — Full technical architecture
9- [docs/getting-started.md](./docs/getting-started.md) — End-to-end usage guide
10- [docs/api-reference.md](./docs/api-reference.md) — REST API + MCP tools + CLI reference
11
@@ −1 +1 @@
1−# @second-brain/mcp-server — Agent Instructions
1+# CLAUDE.md
22
3−MCP (Model Context Protocol) server exposing 32 tools for knowledge graph operations.
3+Second Brain — a developer knowledge graph: shared engineering memory for teams ("git remembers the code; Second Brain remembers why"). pnpm monorepo, Turborepo, Node.js 24+, TypeScript 5.8+ strict, ESM only.
44
5−## Entry Point
5+All conventions, monorepo map, data model, architecture decisions, and common tasks are in [AGENTS.md](./AGENTS.md) (auto-loaded alongside this file).
66
7−`src/server.ts` → `createMcpServer()` registers all tools and resources.
8−
9−## Transports
10−
11−- `src/stdio.ts` — stdio transport (for CLI-based MCP clients)
12−- `src/http.ts` — Streamable HTTP transport
13−- `src/transports/` — Transport helpers
14−
15−## Tools (32 total)
16−
17−| File | Category | Count |
18−|------|----------|-------|
19−| `src/tools/read-tools.ts` | Read operations | 15 |
20−| `src/tools/write-tools.ts` | Write operations | 12 |
21−| `src/tools/pipeline-tools.ts` | Pipeline operations | 5 |
22−| `src/tools/formatters.ts` | Response formatting helpers | — |
23−
24−## Resources
25−
26−`src/resources/` — MCP resource definitions (graph metadata, schemas).
27−
28−## Adding a New MCP Tool
29−
30−1. Add tool definition in the appropriate file under `src/tools/`
31−2. Register in `src/server.ts` via `createMcpServer()`
32−3. Follow existing patterns: Zod schema for input, formatter for output
7+Deep-dive docs:
8+- [docs/architecture.md](./docs/architecture.md) — Full technical architecture
9+- [docs/getting-started.md](./docs/getting-started.md) — End-to-end usage guide
10+- [docs/api-reference.md](./docs/api-reference.md) — REST API + MCP tools + CLI reference
3311
