EasyP

MCP Endpoint

The optional Model Context Protocol endpoint: what it exposes, how to enable it, and what it bypasses.

The service can serve a Model Context Protocol endpoint so that AI tools can look up which plugins and versions a deployment offers — for example while writing an easyp.yaml.

What it exposes

One tool, plugins_list: the plugin catalogue, with optional group, name, version and tags filters, paginated like the gRPC Plugins call. It is generated from the same proto definition, so it returns the same data.

A result carries:

FieldMeaning
plugins[]id, group, name, version, tags, createdAt (RFC 3339) of each registered version.
nextPageTokenEmpty on the last page; otherwise pass it back as pageToken to get the next one.
platformThe os/arch the service runs plugins on, e.g. linux/amd64.

Every field is lowerCamelCase, in the arguments (pageSize, pageToken) as in the result. The same JSON arrives as structuredContent and as the text content. version filters on an exact version; latest is not resolved here.

The initialize response names the server easyp-service-mcp and reports the service's own version in serverInfo.version — 1.3.2 on a release build — so a client can tell which release it is talking to.

It is read-only. It cannot generate code and cannot register, change or delete plugins.

Enabling it

Off by default.

WhereSetting
YAMLmcp.enabled: true
EnvironmentMCP_ENABLED=true
Helm--set mcp.enabled=true (also publishes the container and Service port)

The endpoint is http://<host>:<server.port.mcp>/mcp — port 23413 by default, 8083 in the Helm chart — using the streamable HTTP transport. With it off the service logs MCP endpoint disabled; set mcp.enabled to serve it and nothing listens on the port.

Client configuration, for tools that read an mcpServers map:

{
  "mcpServers": {
    "easyp": { "url": "http://localhost:23413/mcp" }
  }
}

What it bypasses

The MCP listener is plain HTTP outside the gRPC interceptor chain: no TLS, no rate limit, no per-client concurrency limit, no audit. It exposes nothing the anonymous gRPC Plugins call does not, which is why it can be anonymous by default — but it is a decision, so it is off until you make it.

With auth.require_authentication: true the endpoint requires the same bearer token as gRPC and answers 401 without it.

Serve it inside a trusted network, or behind an ingress that terminates TLS.

Checking it

Ask the endpoint to initialize:

curl -s http://localhost:23413/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"check","version":"0"}}}'

A healthy endpoint answers with "serverInfo":{"name":"easyp-service-mcp","version":"1.3.2"} (the version is the release you deployed; a local go build says dev, an edge image sha-<commit>). Any MCP client then shows a single tool, plugins_list, in tools/list.

Buf's registry also has an MCP server, with a different scope: it exposes the BSR Registry API (modules, commits, labels), including writes. See EasyP vs Buf BSR.

On this page