<h1 align="center">
<a href="https://prompts.chat">
This file provides guidance to Claude Code when working with code in this repository.
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
This file provides guidance to Claude Code when working with code in this repository.
Official MCP reference server implementations. This is an npm workspaces monorepo containing 7 servers (4 TypeScript, 3 Python) under src/. Each server is a standalone package published to npm or PyPI.
src/
everything/ TS @modelcontextprotocol/server-everything (reference server, all MCP features)
filesystem/ TS @modelcontextprotocol/server-filesystem (file operations with Roots access control)
memory/ TS @modelcontextprotocol/server-memory (knowledge graph persistence)
sequentialthinking/ TS @modelcontextprotocol/server-sequential-thinking (step-by-step reasoning)
fetch/ Py mcp-server-fetch (web content fetching)
git/ Py mcp-server-git (git repository operations)
time/ Py mcp-server-time (timezone queries and conversion)
# Single server
cd src/<server> && npm ci && npm run build && npm test
# All TS servers from root
npm install && npm run build
tsc (target ES2022, module Node16, strict mode)@vitest/coverage-v8 (required for new tests)cd src/<server> && uv sync --frozen --all-extras --dev
# Run tests (if tests/ or test/ directory exists)
uv run pytest
# Type checking
uv run pyright
# Linting
uv run ruff check .
uv build).python-version file).js extension in import pathsget-file-info, not file-info)Accepted: Bug fixes, usability improvements, enhancements demonstrating MCP protocol features (Resources, Prompts, Roots -- not just Tools).
Selective: New features outside a server's core purpose or highly opinionated additions.
Not accepted: New server implementations (use the MCP Server Registry), README server listing changes.
Both TypeScript and Python workflows use dynamic package detection (find + jq matrix strategy):
detect-packages -- finds all package.json / pyproject.toml under src/test -- runs tests per packagebuild -- compiles and type-checks per packagepublish -- on release events only (npm for TS, PyPI trusted publishing for Python)The repo is configured with an MCP docs server (.mcp.json) pointing to https://modelcontextprotocol.io/mcp. For schema details, reference https://github.com/modelcontextprotocol/modelcontextprotocol/tree/main/schema which contains versioned schemas in JSON and TypeScript formats.
registerTools(server), registerResources(server), registerPrompts(server) functionsreadOnlyHint, idempotentHint, destructiveHint per MCP spec