MCP Server Policy

REPLICATE MCP POLICY

Enforce policies on every tool call to the Replicate MCP Server. 13 tools listed, categorised, and ready for rules.

mcp-replicate 9 read 4 write 13 tools total
replicate ai models predictions

GET STARTED

Download this policy scaffold and add your rules. Intercept enforces them on every tool call before it reaches Replicate.

terminal

# Download policy scaffold

curl -o replicate.yaml https://raw.githubusercontent.com/policylayer/intercept/main/policies/replicate.yaml

# Run with Intercept

intercept --policy replicate.yaml -- npx -y @mcp-replicate

Server documentation: https://www.npmjs.com/package/replicate-mcp

READ TOOLS

9

WRITE TOOLS

2

DESTRUCTIVE TOOLS

2

POLICY YAML

This scaffold lists every tool with empty rules. Add conditions — rate limits, argument validation, deny rules — then deploy with Intercept.

replicate.yaml
version: "1"
description: "Policy for mcp-replicate"
default: "allow"
tools:
    search_models:
        rules: []
    list_models:
        rules: []
    get_model:
        rules: []
    list_collections:
        rules: []
    get_collection:
        rules: []
    get_prediction:
        rules: []
    list_predictions:
        rules: []
    view_image:
        rules: []
    get_image_cache_stats:
        rules: []
    create_prediction:
        rules: []
    create_and_poll_prediction:
        rules: []
    cancel_prediction:
        rules: []
    clear_image_cache:
        rules: []

RELATED POLICIES

FREQUENTLY ASKED QUESTIONS

What tools does the Replicate MCP server expose?

The Replicate MCP Server exposes 13 tools across 3 categories: Read, Write, Destructive. Each tool can be individually controlled with Intercept policies.

How do I enforce policies on Replicate?

Download the policy scaffold, add rules (rate limits, argument validation, deny rules), then run Intercept as a proxy in front of the Replicate MCP server. Every tool call is evaluated against your YAML policy before execution.

Is the Replicate policy free to use?

Yes. All Intercept policies are open source under the Apache 2.0 licence. Download, modify, and deploy without restrictions.

ENFORCE POLICIES ON REPLICATE

Open source. One binary. Zero dependencies.