Commit 8c4804b
feat: add plugins cli, external plugin support, plugin template (IBM#722)
* feat: add support for external plugins
Signed-off-by: Teryl Taylor <[email protected]>
* feat(plugins): add external mcp server and associated test cases.
Signed-off-by: Teryl Taylor <[email protected]>
* fix(lint): fixed yamllint issues
Signed-off-by: Teryl Taylor <[email protected]>
* fix(lint): fixed flake8 issue.
Signed-off-by: Teryl Taylor <[email protected]>
* feat: define plugins cli and implement bootstrap command
Signed-off-by: Frederico Araujo <[email protected]>
* fix: implement install and package CLI commands
Signed-off-by: Frederico Araujo <[email protected]>
* fix: remote avoid insecure shell=True in subprocess invocation
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add external plugin template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: move copier config to repository root
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update copier template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: get default author from git config
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update copier settings
Signed-off-by: Frederico Araujo <[email protected]>
* fix: copier config syntax
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add external plugin template modules
Signed-off-by: Frederico Araujo <[email protected]>
* fix: template syntax
Signed-off-by: Frederico Araujo <[email protected]>
* fix: template syntax
Signed-off-by: Frederico Araujo <[email protected]>
* fix: make template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: fix template issue
Signed-off-by: Frederico Araujo <[email protected]>
* fix: toml template
Signed-off-by: Frederico Araujo <[email protected]>
* fix: plugin mcp server initialization
Signed-off-by: Frederico Araujo <[email protected]>
* feat: init module for plugin framework
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add chuck runtime and container wrapping
Signed-off-by: Frederico Araujo <[email protected]>
* fix: makefile template
Signed-off-by: Frederico Araujo <[email protected]>
* fix: plugins config path
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add .env.template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add tools and resources support
Signed-off-by: Frederico Araujo <[email protected]>
* fix: lint yaml
Signed-off-by: Frederico Araujo <[email protected]>
* chore: cleanups
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update manifest.in
Signed-off-by: Frederico Araujo <[email protected]>
* chore: linting
Signed-off-by: Frederico Araujo <[email protected]>
* fix: plugin config variable
Signed-off-by: Frederico Araujo <[email protected]>
* fix(tests): fixed doctests for plugins.
Signed-off-by: Teryl Taylor <[email protected]>
* refactor: external plugin server and plugin external API
Signed-off-by: Frederico Araujo <[email protected]>
* docs(plugins): removed subpackages from examples
Signed-off-by: Teryl Taylor <[email protected]>
* docs: update plugin docs to use public framework API
Signed-off-by: Frederico Araujo <[email protected]>
* fix(plugin): added resource payloads to base plugin.
Signed-off-by: Teryl Taylor <[email protected]>
* feat: udpate test templates
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update test templates
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update plugin template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update plugin template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: update tempalte makefile
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add template for native plugin
Signed-off-by: Frederico Araujo <[email protected]>
* feat: add readme for native template
Signed-off-by: Frederico Araujo <[email protected]>
* feat: force boostrap to be a subcommnand
Signed-off-by: Frederico Araujo <[email protected]>
* tests(plugin): added http streamable and error tests.
Signed-off-by: Teryl Taylor <[email protected]>
* tests: add tests for plugins CLI
Signed-off-by: Frederico Araujo <[email protected]>
* fix: deprecation warning
Signed-off-by: Frederico Araujo <[email protected]>
* tests: add CLI tests
Signed-off-by: Frederico Araujo <[email protected]>
* tests: update plugin cli
Signed-off-by: Frederico Araujo <[email protected]>
* tests(plugins): added client hook tests for external plugins.
Signed-off-by: Teryl Taylor <[email protected]>
* chore: update template readmes
Signed-off-by: Frederico Araujo <[email protected]>
* fix: lint docstrings in cli
Signed-off-by: Frederico Araujo <[email protected]>
* chore: fix lint errors in docstrings
Signed-off-by: Frederico Araujo <[email protected]>
* chore: fix lint errors
Signed-off-by: Frederico Araujo <[email protected]>
* tests: add external plugin server tests
Signed-off-by: Frederico Araujo <[email protected]>
* chore: cleanup
Signed-off-by: Frederico Araujo <[email protected]>
* chore: add missing docstrings
Signed-off-by: Frederico Araujo <[email protected]>
* chore: add missing docstrings
Signed-off-by: Frederico Araujo <[email protected]>
* tests: fix cli dryrun test
Signed-off-by: Frederico Araujo <[email protected]>
* chore: fix lint issues
Signed-off-by: Frederico Araujo <[email protected]>
* tests: fix teardown of client http tests
Signed-off-by: Frederico Araujo <[email protected]>
* tests: skipping flaky tests
Signed-off-by: Frederico Araujo <[email protected]>
* docs: plugin lifecycle tools
Signed-off-by: Frederico Araujo <[email protected]>
* docs: add missing plugin lifecycle doc
Signed-off-by: Frederico Araujo <[email protected]>
* Review, rebase and lint
Signed-off-by: Mihai Criveti <[email protected]>
---------
Signed-off-by: Teryl Taylor <[email protected]>
Signed-off-by: Frederico Araujo <[email protected]>
Signed-off-by: Mihai Criveti <[email protected]>
Co-authored-by: Teryl Taylor <[email protected]>
Co-authored-by: Mihai Criveti <[email protected]>1 parent eb472e1 commit 8c4804b
File tree
106 files changed
+8733
-1766
lines changed- docs/docs
- using/plugins
- mcpgateway
- plugins
- framework
- external
- mcp
- server
- loader
- tools
- services
- plugin_templates
- external
- resources
- plugins
- runtime
- tests
- {{ plugin_name.lower().replace(' ', '_').replace('-', '_') }}
- native
- plugins
- deny_filter
- external
- pii_filter
- regex_filter
- resource_filter
- resources/server
- tests
- integration
- unit/mcpgateway
- plugins
- fixtures
- configs
- plugins
- framework
- external
- mcp
- server
- loader
- plugins
- pii_filter
- resource_filter
- tools
- services
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
106 files changed
+8733
-1766
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments