Commit Graph

101 Commits

Author SHA1 Message Date
jnjpng
67729ba35f feat: auto register mcp server tools as letta tools (#2847)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-09-11 17:42:28 -07:00
jnjpng
992ce79368 fix: catch streamable http exceptions and handle error codes for list mcp tools
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-09-11 15:17:05 -07:00
jnjpng
2aae4bf0db feat: add resync tool endpoint (#2812)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-09-09 18:11:02 -07:00
Shubham Naik
6716f5b5e8 feat: allow list tools by tool type [PRO-870] (#4036)
* feat: allow list tools by tool type

* chore: update list

* chore: respond to comments

* chore: refactor tools hella

* Add tests to managers

* chore: branch

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-09-02 15:53:36 -07:00
Kian Jones
ca6cfa5914 chore: migrate to ruff (#4305)
* base requirements

* autofix

* Configure ruff for Python linting and formatting

- Set up minimal ruff configuration with basic checks (E, W, F, I)
- Add temporary ignores for common issues during migration
- Configure pre-commit hooks to use ruff with pass_filenames
- This enables gradual migration from black to ruff

* Delete sdj

* autofixed only

* migrate lint action

* more autofixed

* more fixes

* change precommit

* try changing the hook

* try this stuff
2025-08-29 11:11:19 -07:00
Sarah Wooders
b4fc7012cc chore: patch update tools (#4090)
* patch update tools

* update tool patch

* fallback to generation for legacy tools

* avoid re-parsing source if json schema exists

* fix more tests

* remove asssert

* fix

* update

* update

* update

* Fix tests

---------

Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-08-28 11:34:36 -07:00
Charles Packer
86f7e2036d fix: patch support for custom headers + auth in MCP connects (was getting a weird silent error)
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-21 13:42:19 -07:00
cthomas
3e3a9f58c0 feat: add tools generation response to error logs (#3984) 2025-08-18 14:21:45 -07:00
Charles Packer
7bdc0a8de8 fix: handle faulty schemas from bad mcp servers better
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-15 16:08:52 -07:00
Andy Li
3952035095 feat: typescript deps in ade 2025-08-15 15:49:57 -07:00
jnjpng
8b8536c3ef feat: add mcp tool simulator
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-14 16:31:43 -07:00
jnjpng
e22dd892d9 fix: delete associated mcp oauth sessions on delete and link existing mcp oauth sessions on create
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-12 15:32:33 -07:00
Matthew Zhou
79dad6bcf7 feat: Improve tool renaming based on json schema (#3676) 2025-07-31 12:57:22 -07:00
jnjpng
95857befc2 fix: handling 401 unauthorized for streamable http oauth
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-31 12:28:51 -07:00
jnjpng
df8ccf8b17 fix: update deployment env variables for core for oauth routing
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-30 13:19:48 -07:00
jnjpng
60a0a5264d fix: oauth prod environment variables
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-30 11:02:21 -07:00
jnjpng
b65c9ab6e8 feat: redirect ouath callback through web for cloud
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-29 17:36:30 -07:00
cthomas
6f3afbb2e1 feat: tool generation improvements (#3633) 2025-07-29 15:35:08 -07:00
jnjpng
24e092cd1c fix: update mcp documentation
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-29 14:24:48 -07:00
cthomas
86b636d646 feat: pass in generated pip requirement to tool update (#3614) 2025-07-29 09:20:01 -07:00
cthomas
8758c8989d feat: ai tool helper system prompt (#3613) 2025-07-29 09:19:50 -07:00
jnjpng
cf8c59aab9 feat: allow mcp authentication overrides per agent (#3318)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-28 18:20:58 -07:00
jnjpng
4cd1853193 fix: stdio form regression with streamable oauth
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-25 15:19:16 -07:00
Andy Li
70306bdb06 feat: support for project_id and backfills 2025-07-25 13:06:12 -07:00
jnjpng
772a51777e feat: add support for oauth mcp
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-24 18:23:01 -07:00
jnjpng
bc471c6055 feat: support mcp server export/import with agent files
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-24 18:17:08 -07:00
cthomas
79da76dd06 feat: add generate tool api (#3519) 2025-07-23 17:23:53 -07:00
cthomas
30958d75de feat: use custom dependencies in tool simulator (#3410) 2025-07-19 09:01:28 -07:00
Andy Li
904d9ba5a2 chore: strings lint cleanup (#3374) 2025-07-18 09:20:45 -07:00
jnjpng
f33c5b2e0c feat: add test connection for stdio and add tool params to server list
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-17 00:22:46 +00:00
jnjpng
78a5b324a0 fix: environment variable handling for stdio mcp (#3340)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-15 14:44:48 -07:00
jnjpng
fe96b7001d feat: mcp custom headers and multiple fixes (#3079)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-07-03 00:06:21 +00:00
Matthew Zhou
40051542e3 feat: Add generate schema endpoint (#3138) 2025-07-02 13:32:20 -07:00
jnjpng
89bb559f26 feat: allow testing mcp connections before adding
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-06-26 21:25:47 +00:00
jnjpng
30b68d1fda fix: mcp fixes and update flow (#2851)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-17 16:19:27 -07:00
Matthew Zhou
878b739532 feat: Upsert on list with no pagination (#2875) 2025-06-17 15:19:27 -07:00
jnjpng
729acaedb2 feat: add token column to mcp_servers and pipe through to sse server config (#2775)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-14 18:48:10 -07:00
Sarah Wooders
f95d7d9f72 feat: default to False for mcp_read_from_config (#2691) 2025-06-06 16:28:27 -07:00
cthomas
bf5d49edf4 feat(asyncify): migrate get mcp tools (#2526) 2025-05-29 13:23:31 -07:00
Sarah Wooders
85c39dda59 feat: async mcp routes (#2506) 2025-05-29 09:29:28 -07:00
cthomas
e360620b02 feat(asyncify): migrate run tools (#2496) 2025-05-28 14:25:17 -07:00
Sarah Wooders
11d4b53380 feat: configure MCP and disable stdio servers for DB table (#2479) 2025-05-27 16:55:26 -07:00
cthomas
c86abcbebd feat(asyncify): migrate delete tool (#2457) 2025-05-27 12:04:20 -07:00
cthomas
bf0beda7dc feat(asyncify): migrate patch tool (#2440) 2025-05-26 14:09:13 -07:00
cthomas
790d00ac75 feat(asyncify): migrate tools (#2427) 2025-05-25 22:17:01 -07:00
Sarah Wooders
34df96bf2c feat: add MCP servers into a table and MCP tool execution to new agent loop (#2323)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-05-23 16:22:16 -07:00
cthomas
6432dea8e1 fix: make upsert base tools async (#2255) 2025-05-20 16:51:49 -07:00
Matthew Zhou
6e5ab8b151 feat: Add built in code interpreter tool (#2252) 2025-05-19 16:01:40 -07:00
cthomas
53e9fcf5f0 feat(asyncify): migrate add base tools (#2238) 2025-05-17 23:25:08 -07:00
cthomas
f28fff9023 feat(asyncify): migrate retrieve tool (#2228) 2025-05-16 15:17:43 -07:00