Skip to main content

tollgate templates

The templates command provides quick access to pre-configured MCP server templates. Instead of writing configuration from scratch, you can browse, inspect, and apply templates for popular servers.

Available Subcommands

CommandDescription
tollgate templates listList all available templates
tollgate templates show <name>Show detailed template information
tollgate templates apply <names...>Apply templates to configuration

templates list

List all available server configuration templates.
tollgate templates list [options]

Options

OptionDescription
-c, --category <category>Filter by category
-s, --search <query>Search by keyword
--jsonOutput as JSON

Categories

  • database - PostgreSQL, SQLite
  • filesystem - Local files, Google Drive
  • web - Puppeteer, Fetch, Brave Search
  • productivity - Notion
  • developer - GitHub, GitLab, Sentry
  • ai - Memory
  • communication - Slack

Examples

# List all templates
tollgate templates list

# Filter by category
tollgate templates list --category database

# Search for templates
tollgate templates list --search chat

# Get JSON output for scripting
tollgate templates list --json

templates show

Display detailed information about a specific template.
tollgate templates show <name> [options]

Options

OptionDescription
--jsonOutput as JSON

Output Includes

  • Server command and arguments
  • Required environment variables
  • Recommended tool policies
  • Documentation link
  • Searchable tags

Example

tollgate templates show slack
Output:
📦 Slack
   Interact with Slack workspaces

  Details:
    Name:     slack
    Category: 💬 Communication
    Verified: Yes
    Docs:     https://github.com/anthropics/...

  Server Command:
    npx -y @anthropic/mcp-server-slack

  Required Environment Variables:
    SLACK_BOT_TOKEN
      Slack Bot User OAuth Token

  Recommended Policies:
    Read: list_channels, get_channel_history, search_*, get_*
    Write: post_message, reply_*, update_*
    Destructive: delete_message

templates apply

Apply one or more templates to create or update your configuration file.
tollgate templates apply <names...> [options]

Options

OptionDescription
-o, --output <path>Output path (default: ./tollgate.yaml)
-f, --forceOverwrite existing file
-a, --appendAppend to existing file instead of overwriting
-p, --preset <preset>Policy preset: strict, balanced, or permissive

Policy Presets

PresetReadWriteDestructive
strictpromptdenydeny
balanced (default)allowpromptdeny
permissiveallowpromptprompt

Examples

# Create new config with one template
tollgate templates apply postgres

# Create config with multiple templates
tollgate templates apply postgres slack notion --output tollgate.yaml

# Use strict security preset
tollgate templates apply github --preset strict

# Add templates to existing config
tollgate templates apply notion --append

# Overwrite existing config
tollgate templates apply postgres --force

Available Templates

NameCategoryDescription
postgresDatabasePostgreSQL database access via SQL queries
sqliteDatabaseSQLite database access for local databases
filesystemFilesystemLocal filesystem read/write access
google-driveFilesystemAccess and manage Google Drive files
puppeteerWebWeb browsing via headless Chrome
fetchWebMake HTTP requests to external APIs
brave-searchWebWeb search using Brave Search API
slackCommunicationInteract with Slack workspaces
notionProductivityAccess and manage Notion workspaces
memoryAIPersistent memory and knowledge storage
githubDeveloperGitHub repository operations
gitlabDeveloperGitLab repository and CI/CD operations
sentryDeveloperMonitor and debug application errors