Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ repos:
- id: remove-tabs
name: 🚀 Remove Tabs
description: Replaces tabs by whitespaces.
# exclude root-level Makefiles and any path ending in /Makefile or .mk
exclude: '(^|/)Makefile$|\.mk$'
# exclude root-level Makefiles and any path ending in /Makefile or .mk or .jinja
exclude: '(^|/)Makefile$|(\.mk|\.jinja)$'

# -----------------------------------------------------------------------------
# 🚫 Branch Protection Hooks
Expand Down
12 changes: 11 additions & 1 deletion docs/docs/using/plugins/lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,17 @@ Inspect those two files and get familiar with them. There are many options you c

### Dependencies

Plugins are Python packages with dependencies managed by `uv`. Just like the gateway, you can add, lock, lint, and ensure that best practices are followed when creating your plugins. To ensure compatibility with the gateway linters, we do not directly install them in the template. Instead, please install the gateway package with the dev extras, which will include all required linters.
Plugins are Python packages with dependencies managed by `uv`. Just like the gateway, you can add, lock, lint, and ensure that best practices are followed when creating your plugins. To install dependencies with dev packages (required for linting and testing), run:

```bash
make install-dev
```

Alternatively, you can also install it in editable mode:

```bash
make install-editable
```

### Test

Expand Down
4 changes: 1 addition & 3 deletions mcpgateway/plugins/tools/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
# ---------------------------------------------------------------------------
# Configuration defaults
# ---------------------------------------------------------------------------
DEFAULT_TEMPLATE_BASE_URL = "https://github.com/IBM/mcp-context-forge.git"
DEFAULT_TEMPLATE_TYPE = "external"
DEFAULT_TEMPLATE_URL = f"{DEFAULT_TEMPLATE_BASE_URL}::plugin_templates/{DEFAULT_TEMPLATE_TYPE}"
DEFAULT_TEMPLATE_URL = "https://github.com/IBM/mcp-context-forge.git"
DEFAULT_AUTHOR_NAME = "<changeme>"
DEFAULT_AUTHOR_EMAIL = "<changeme>"
DEFAULT_PROJECT_DIR = Path("./.")
Expand Down
Loading
Loading