AGENTS.md
src/everything/AGENTS.mdAGENTS.md
Quality
80/100
Scores the file, not the repository.Length
425 words
6 headings · 0 code blocksRepository
89k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# MCP "Everything" Server - Development Guidelines23## Build, Test & Run Commands45- Build: `npm run build` - Compiles TypeScript to JavaScript6- Watch mode: `npm run watch` - Watches for changes and rebuilds automatically7- Run STDIO server: `npm run start:stdio` - Starts the MCP server using stdio transport8- Run SSE server: `npm run start:sse` - Starts the MCP server with SSE transport9- Run StreamableHttp server: `npm run start:streamableHttp` - Starts the MCP server with StreamableHttp transport10- Prepare release: `npm run prepare` - Builds the project for publishing1112## Code Style Guidelines1314- Use ES modules with `.js` extension in import paths15- Strictly type all functions and variables with TypeScript16- Follow zod schema patterns for tool input validation17- Prefer async/await over callbacks and Promise chains18- Place all imports at top of file, grouped by external then internal19- Use descriptive variable names that clearly indicate purpose20- Implement proper cleanup for timers and resources in server shutdown21- Handle errors with try/catch blocks and provide clear error messages22- Use consistent indentation (2 spaces) and trailing commas in multi-line objects23- Match existing code style, import order, and module layout in the respective folder.24- Use camelCase for variables/functions,25- Use PascalCase for types/classes,26- Use UPPER_CASE for constants27- Use kebab-case for file names and registered tools, prompts, and resources.28- Use verbs for tool names, e.g., `get-annotated-message` instead of `annotated-message`2930## Extending the Server3132The Everything Server is designed to be extended at well-defined points.33See [Extension Points](docs/extension.md) and [Project Structure](docs/structure.md).34The server factory is `src/everything/server/index.ts` and registers all features during startup as well as handling post-connection setup.3536### High-level3738- Tools live under `src/everything/tools/` and are registered via `registerTools(server)`.39- Resources live under `src/everything/resources/` and are registered via `registerResources(server)`.40- Prompts live under `src/everything/prompts/` and are registered via `registerPrompts(server)`.41- Subscriptions and simulated update routines are under `src/everything/resources/subscriptions.ts`.42- Logging helpers are under `src/everything/server/logging.ts`.43- Transport managers are under `src/everything/transports/`.4445### When adding a new feature4647- Follow the existing file/module pattern in its folder (naming, exports, and registration function).48- Export a `registerX(server)` function that registers new items with the MCP SDK in the same style as existing ones.49- Wire your new module into the central index (e.g., update `tools/index.ts`, `resources/index.ts`, or `prompts/index.ts`).50- Ensure schemas (for tools) are accurate JSON Schema and include helpful descriptions and examples.51 `server/index.ts` and usages in `logging.ts` and `subscriptions.ts`.52- Keep the docs in `src/everything/docs/` up to date if you add or modify noteworthy features.53
Also in modelcontextprotocol/servers
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| modelcontextprotocol/serversCLAUDE.md · 89k | CLAUDE.md | setupbuildtestlint-format+6 | 97/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
