experimental-ext-interceptors/typescript/sdk
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kurt Degiorgio 20974b6fa0
Initial project structure for MCP interceptors (#3)
Establishes a multi-language monorepo structure for MCP interceptors
with Python and TypeScript SDKs alongside the existing Go
implementation. Implements an efficient CI/CD system that only tests
what changes.


#### 🏗️ SDK Scaffolding
- **Python SDK** (`python/sdk/`): Modern Python package using
`pyproject.toml`, aligned with official MCP Python SDK patterns
- **TypeScript SDK** (`typescript/sdk/`): ESM-based package structure,
compatible with official MCP TypeScript SDK
- **Monorepo structure**: Consistent `{language}/sdk/` pattern across
all implementations
  
 #### 🚀 CI/CD Pipeline
- **Path-based workflow triggering**: Only runs CI for languages that
actually changed
    - Change Python → only Python CI runs
    - Change multiple languages → only those CIs run
- **Status check workflow**: Single required check that dynamically
validates based on changes
- **Comment triggers**: Maintainers can run all checks with `/test all`
PR comment
2026-01-26 17:54:37 +00:00
..
src Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00
.eslintrc.json Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00
.nvmrc Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00
package.json Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00
README.md Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00
tsconfig.json Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00
vitest.config.js Initial project structure for MCP interceptors (#3) 2026-01-26 17:54:37 +00:00

MCP Interceptors TypeScript SDK

TypeScript implementation of the Model Context Protocol (MCP) interceptor framework.

Installation

npm install @ext-modelcontextprotocol/interceptors

Usage

import { Interceptor } from '@ext-modelcontextprotocol/interceptors';

// The MCP SDK is available as a peer dependency
import { Client, Server } from '@modelcontextprotocol/sdk';

// Example usage will be added as the implementation progresses

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Lint
npm run lint

License

Apache License 2.0 - See LICENSE file in the root directory for details.