Files
sm-bm-plugin/mcp_links.go
Jakub Zych 464c74b80f test: expect the MCP view of BM answers
- viaMCP, includeBody and the material views (no body unless asked)
- jz.bm.mcp-links: absolute url / *_url under MCP only
- jz.bm.manage keyed per user for dispatched calls
- bm_material and bm_materials in the pinned tool list
Compile-only stubs; the tests fail on their assertions.
2026-10-28 14:34:58 +01:00

10 lines
252 B
Go

package bm
import "net/http"
// MiddlewareMCPLinks makes the links of an MCP answer absolute.
const MiddlewareMCPLinks = "jz.bm.mcp-links"
// mcpLinks is not implemented yet.
func (p *Plugin) mcpLinks(next http.Handler) http.Handler { return next }