文件历史

提交图

3 次代码提交

作者 SHA1 备注 提交日期
copilot-swe-agent[bot] 49c4cd8899 Rename ToolScopes to Scopes in MCP Options
The field name "Scopes" is more universal and consistent with how
auth scopes are used throughout go-micro. Updated all code references,
tests, and documentation.

Co-authored-by: asim <17530+asim@users.noreply.github.com>
2026-02-11 20:57:18 +00:00
copilot-swe-agent[bot] 58acc44d9c Add WithEndpointScopes helper, gateway-level ToolScopes, and documentation
- Add server.WithEndpointScopes() for declaring per-endpoint auth scopes at
  handler registration time
- Add mcp.Options.ToolScopes for gateway-level scope overrides without
  changing individual services
- Update documented example to show WithEndpointScopes usage
- Update examples/mcp/README.md with scopes, tracing, and rate-limiting docs
- Update gateway/mcp/DOCUMENTATION.md with scopes section and FAQ
- Add tests for both new features

Co-authored-by: asim <17530+asim@users.noreply.github.com>
2026-02-11 20:42:10 +00:00
asim fe76f3ddb5 further mcp integrations 2026-02-11 14:12:21 +00:00