type

Config

Route, request bounds, result limits, and explicit resource allowlists.

Properties

PropertyTypeDescription
PathstringThe Path value.
MaxBodyBytesint64The MaxBodyBytes value.
DefaultLimitintThe DefaultLimit value.
MaxLimitintThe MaxLimit value.
Collections[]ResourceThe Collections value.
Globals[]ResourceThe Globals value.

How it works

The default route is /api/mcp. The current plugin exposes only collection-list and global-read tools; writes and source mutation are not supported.

Full signature

type Config struct { Path string MaxBodyBytes int64 DefaultLimit int MaxLimit int Collections []Resource Globals []Resource }

Source plugins/mcp/mcp.go:41