Skip to content

Commit 66ae7d9

Browse files
Align MCP doc examples with deduped server instructions
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
1 parent a6e2dbf commit 66ae7d9

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/mcp-server-patterns.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ Quick start
5555
- To modify, use 'update_issues', then verify with 'list_issues'.
5656
```
5757

58-
**Example in this repo:** The MCP server now provides a structured onboarding
59-
guide in server-level instructions (quick start, defaults, chaining patterns,
60-
and pointers to resources/prompts).
58+
**Example in this repo:** Server-level instructions are intentionally short and
59+
avoid repeating tool-level docs. Tool-specific behavior/defaults live with the
60+
tool description + schemas.
6161

6262
---
6363

@@ -309,8 +309,9 @@ export const toolsMetadata = {
309309
- Consistent naming and style
310310
- Can be extracted for documentation
311311

312-
**Example in this repo:** Server/tool metadata is centralized, and the MCP
313-
server implementation consumes it (see `mcp/server-metadata.ts`).
312+
**Example in this repo:** Server/tool metadata is centralized and consumed by
313+
the MCP server implementation (see `mcp/server-metadata.ts`). Prefer colocation
314+
when metadata is only used by a single tool registration site.
314315

315316
---
316317

0 commit comments

Comments
 (0)