| Filename | Latest commit message | Latest commit date |
|---|---|---|
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 |
||
| .. | ||
| src | ||
| .eslintrc.json | ||
| .nvmrc | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vitest.config.js | ||
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.