Files
picoclaw/pkg/tools
yuchou87 91c168db20 feat(mcp): add Model Context Protocol integration
Implement comprehensive MCP support with stdio/HTTP/SSE transports, environment variable configuration (env and envFile), custom headers, tool registration, and automatic resource cleanup. Includes full test coverage and VSCode-compatible configuration.

- Added pkg/mcp/manager.go for server lifecycle management
- Added pkg/tools/mcp_tool.go for tool wrapping
- Integrated into agent loop with cleanup
- Support for envFile loading (.env format)
- Headers injection for HTTP/SSE authentication
- Example configs for filesystem, github, brave-search, postgres
2026-02-15 17:26:36 +08:00
..
2026-02-13 17:51:47 +08:00
2026-02-12 21:58:40 +08:00
2026-02-13 17:51:47 +08:00
2026-02-13 17:51:47 +08:00
2026-02-13 17:51:47 +08:00
2026-02-09 19:20:19 +08:00
2026-02-14 16:24:20 +08:00