{"id":42655931,"url":"https://github.com/modelcontextprotocol/experimental-ext-interceptors","last_synced_at":"2026-01-29T08:01:19.486Z","repository":{"id":334970746,"uuid":"1109551767","full_name":"modelcontextprotocol/experimental-ext-interceptors","owner":"modelcontextprotocol","description":"Status: Experimental. This repository provides a multi-language reference implementation of the proposed interceptor extension for the Model Context Protocol (MCP), as described in SEP-1763.","archived":false,"fork":false,"pushed_at":"2026-01-27T23:53:48.000Z","size":139,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-28T06:28:16.295Z","etag":null,"topics":["experimental","extension"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modelcontextprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-04T00:50:02.000Z","updated_at":"2026-01-28T01:48:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/modelcontextprotocol/experimental-ext-interceptors","commit_stats":null,"previous_names":["modelcontextprotocol/experimental-ext-interceptors"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/modelcontextprotocol/experimental-ext-interceptors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fexperimental-ext-interceptors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fexperimental-ext-interceptors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fexperimental-ext-interceptors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fexperimental-ext-interceptors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modelcontextprotocol","download_url":"https://codeload.github.com/modelcontextprotocol/experimental-ext-interceptors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelcontextprotocol%2Fexperimental-ext-interceptors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28871333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T07:35:32.468Z","status":"ssl_error","status_checked_at":"2026-01-29T07:33:31.463Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["experimental","extension"],"created_at":"2026-01-29T08:00:58.316Z","updated_at":"2026-01-29T08:01:19.474Z","avatar_url":"https://github.com/modelcontextprotocol.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCP Interceptors (Experimental Extension)\n\n\u003e #### **Status:** Experimental. This work is for prototyping and feedback only, and is not an accepted or official MCP extension.\n\nThis repository provides a multi-language reference implementation of the proposed interceptor extension for the Model Context Protocol (MCP), as described in [SEP-1763](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1763).\n\n\n## Implementations\n\n| Language | Directory | Package | Status |\n|----------|-----------|---------|--------|\n| C# | `csharp/sdk/` | `ModelContextProtocol.Interceptors` | In Progress |\n| Go | `go/sdk/` | `github.com/modelcontextprotocol/ext-interceptors/go/sdk` | Planned |\n| Python | `python/sdk/` | `mcp-ext-interceptors` | Planned |\n| TypeScript | `typescript/sdk/` | `@ext-modelcontextprotocol/interceptors` | Planned |\n\n\n## CI/CD\n\nThis monorepo uses **path-based CI workflows** to efficiently test only what changes:\n\n### How It Works\n\n1. **Language-specific workflows** (`csharp.yml`, `python.yml`, `go.yml`, `typescript.yml`)\n   - Only trigger when their language directory or workflow file changes\n   - Run all tests, linting, and checks for that language\n\n2. **Status check workflow** (`status-check.yml`)\n   - Runs on every PR to verify required checks passed\n   - Determines what needs to pass based on which files changed\n   - This is the only required check in branch protection\n\n### Examples\n\n- Change `python/sdk/file.py` → Only Python CI runs → PR requires Python checks to pass\n- Change both Go and TypeScript files → Both CIs run → PR requires both to pass\n- Change only `README.md` → No language CIs run → PR can merge immediately\n\n### Forcing All Checks\n\nTo run all language checks regardless of changed files:\n- **In a PR**: Comment `/test all` (only works for repo owners/members/collaborators)\n- **Manually**: Use GitHub Actions UI or CLI to trigger individual workflows\n\n### Adding New Required Checks\n\n1. **Add your check** to the appropriate language workflow (e.g., `python.yml`):\n   ```yaml\n   python-security-scan:\n     name: \"Security Scan\"\n     runs-on: ubuntu-latest\n     steps:\n       - name: Run security checks\n         run: # your commands here\n   ```\n\n2. **Update the status check** in `.github/workflows/status-check.yml`:\n   ```javascript\n   const requiredChecks = {\n     python: [\n       'Python CI / Linting',\n       'Python CI / Unit Tests (3.10)',\n       // ... existing checks ...\n       'Python CI / Security Scan'  // ← Add your new check\n     ],\n   ```\n\n3. **Submit PR** - Your new check is now required for all relevant changes!\n\n## License\n\nApache License 2.0 - See LICENSE file for details\n\n## Resources\n\n- [Interceptor Framework Specification (SEP-1763)](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1763) - Full specification and design details\n- [Model Context Protocol](https://modelcontextprotocol.io/specification)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelcontextprotocol%2Fexperimental-ext-interceptors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelcontextprotocol%2Fexperimental-ext-interceptors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelcontextprotocol%2Fexperimental-ext-interceptors/lists"}