picoclaw/pkg
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
..
agent feat(mcp): add Model Context Protocol integration 2026-02-15 17:26:36 +08:00
auth fix(codex): include required instructions and improve account-id extraction 2026-02-14 12:48:16 +08:00
bus * First commit 2026-02-09 19:20:19 +08:00
channels Merge pull request #165 from alexhoshina/feat/onebot 2026-02-15 09:12:00 +08:00
config feat(mcp): add Model Context Protocol integration 2026-02-15 17:26:36 +08:00
constants refactor(tools): extract shared logic for internal channels and tool definitions 2026-02-13 15:05:16 +08:00
cron fix concurrency and persistence safety in session/cron/heartbeat services 2026-02-12 23:11:28 +03:00
devices feat: add device hotplug event notifications (USB on Linux) 2026-02-14 17:03:04 +08:00
heartbeat * fix: heartbeat/service_test.go test failed 2026-02-13 22:19:18 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
mcp feat(mcp): add Model Context Protocol integration 2026-02-15 17:26:36 +08:00
migrate Merge branch 'main' of https://github.com/sipeed/picoclaw 2026-02-13 15:36:43 +05:30
providers Merge pull request #173 from is-Xiaoen/fix/code-review-bugs-116 2026-02-15 09:42:26 +08:00
session fix: resolve multiple bugs from code review #116 2026-02-15 09:36:59 +08:00
skills Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00
state refactor(heartbeat): add configurable interval and channel-aware routing 2026-02-13 11:13:32 +08:00
tools feat(mcp): add Model Context Protocol integration 2026-02-15 17:26:36 +08:00
utils refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00