Commit graph

1,264 commits

Author SHA1 Message Date
Jeremiah Lowin
ea13dc114f Improve client return types 2025-04-12 12:16:07 -04:00
Jeremiah Lowin
2df89204f4 Add tests for tags in server decorators 2025-04-12 11:30:22 -04:00
Jeremiah Lowin
f0d07e5f04 Add tags, improve duplicate import behavior 2025-04-12 11:20:25 -04:00
Jeremiah Lowin
69751a1786 Add sampling and roots functionality and tests 2025-04-11 11:11:53 -04:00
Jeremiah Lowin
dca9c70ea3
Merge branch '2.x' into uv-sync 2025-04-11 10:53:45 -04:00
Jeremiah Lowin
5b32ffb77f Fix bug with tools that return lists 2025-04-11 10:51:07 -04:00
zzstoatzz
16af43e272 use type 2025-04-11 03:42:00 -05:00
Jeremiah Lowin
466ab331e9 Reorganize clients and transports 2025-04-10 20:44:59 -04:00
Jeremiah Lowin
8720a78747 Add fastapi conversion 2025-04-10 11:25:44 -04:00
Jeremiah Lowin
9ca99d5809 Add OpenAPI server and tests 2025-04-10 11:16:58 -04:00
Jeremiah Lowin
e8108f2b29 Merge branch '2.x' into openapi 2025-04-09 12:05:16 -04:00
Jeremiah Lowin
96485c8dfe restore 1.x code
Attempting to subclass and monkeypatch was becoming too difficult; inflexibility between low-level types and the requirements of new high-level APIs requires the potential for breaking changes, even if they don't face users.
2025-04-09 11:54:42 -04:00
Jeremiah Lowin
a683abb8a3 Add openapi parsing utilities 2025-04-08 21:11:52 -04:00
Jeremiah Lowin
8f1e06f48d Add proxy server 2025-04-08 13:28:48 -04:00
Jeremiah Lowin
728aeec293 Permit empty prefixes 2025-04-07 18:52:00 -04:00
Jeremiah Lowin
43977765fa Rename dirs 2025-04-07 18:40:51 -04:00
Jeremiah Lowin
b6df2d2048 Update test_memory_client.py 2025-04-07 18:35:14 -04:00
Jeremiah Lowin
37eeb86d1c Update in memory client to use FastMCP 2025-04-07 18:34:31 -04:00
Jeremiah Lowin
9b89715294 Support mounting FastMCPs as sub-servers 2025-04-07 17:54:55 -04:00
Jeremiah Lowin
ca810729d7 Use upstream FastMCP 2025-04-01 18:35:57 -04:00
Ben Sully
07fc1042b5
fix: handle strings containing numbers correctly
Fixes #62.
2024-12-05 15:39:57 +00:00
Jeremiah Lowin
fae91fa2f6 Fix tests 2024-12-03 13:58:29 -05:00
Jeremiah Lowin
2b3e3ec360 Pyright passing 2024-12-03 13:55:13 -05:00
Jeremiah Lowin
7331ec9712 Fix FileUrl 2024-12-03 13:49:50 -05:00
Jeremiah Lowin
5079945310 test server updates 2024-12-03 13:43:57 -05:00
Jeremiah Lowin
83eb81ff7f Handle URL tests 2024-12-03 12:54:25 -05:00
Jeremiah Lowin
f1abe01b57 Add pyright 2024-12-03 12:27:02 -05:00
zzstoatzz
e383d5d75a update references to old class names 2024-12-02 20:11:06 -06:00
zzstoatzz
8e1fa7a551 fix warning and flake 2024-12-02 20:06:57 -06:00
Michael Jurasovic
aa56d36c62 Remove docstring 2024-12-03 12:19:17 +11:00
Michael Jurasovic
5c3a4517c2 Handling of complex inputs 2024-12-03 12:19:17 +11:00
justjoehere
24a1f74095 Made the test context aware. Since windows will called npx subprocess twice, once to find it, and once to execute it, but unix will only call once. 2024-12-02 17:31:25 -05:00
justjoehere
de549c5aff Changes to accomodate windows users. 2024-12-02 15:08:20 -05:00
Jeremiah Lowin
709b48bbb7 Support dependencies 2024-12-01 20:55:16 -05:00
Jeremiah Lowin
81d5211188 Support env vars when installing 2024-11-30 22:20:18 -05:00
Jeremiah Lowin
0fb37ec4cc Merge branch 'main' into updates 2024-11-30 19:34:19 -05:00
Jeremiah Lowin
aed403d929 Update readmeUpdate README 2024-11-30 19:30:36 -05:00
zzstoatzz
f473d2e3f4 go back to baseurl 2024-11-30 17:50:18 -06:00
zzstoatzz
27c6ca2345 no extra type file
fix pyproject groups

fix lockfile

add pre-commit ci

actually run ruff and fix things
2024-11-30 17:34:52 -06:00
Jeremiah Lowin
5f58621f8b Add support for prompts 2024-11-30 18:06:00 -05:00
Jeremiah Lowin
5eec0b0d1d func → fn everywhere 2024-11-30 16:53:18 -05:00
Jeremiah Lowin
33105dc49b Add context tests and better runtime loads 2024-11-30 16:13:07 -05:00
Jeremiah Lowin
26ba6a226f Improve json handling 2024-11-30 16:01:19 -05:00
Jeremiah Lowin
384468830c Add context calls 2024-11-30 15:54:24 -05:00
Jeremiah Lowin
73a58fc7b1 Update imports 2024-11-30 15:18:04 -05:00
Jeremiah Lowin
96cf90bd97 Update tests 2024-11-30 15:16:29 -05:00
Jeremiah Lowin
55d7cd1488 Add template support 2024-11-30 10:29:34 -05:00
Jeremiah Lowin
9fbc8a3fec Add template support 2024-11-30 09:54:09 -05:00
Jeremiah Lowin
be6e0c12a9 Improve handling of image results from tools 2024-11-29 22:27:42 -05:00
Jeremiah Lowin
bffea91621 Fix server outputs for resources 2024-11-29 21:57:45 -05:00