Jeremiah Lowin
faa8944cfd
Fix tests
2025-04-15 10:11:06 -04:00
Jeremiah Lowin
9fdcb8ac93
Update matching logic for resources
2025-04-15 10:04:41 -04:00
Jeremiah Lowin
9ec0be8665
Update test_tool_manager.py
2025-04-15 09:54:47 -04:00
Jeremiah Lowin
6fcd333e52
Update tool manager param to key
2025-04-15 09:52:31 -04:00
Jeremiah Lowin
ed1463632d
Add key for storing resources
2025-04-15 09:50:44 -04:00
Jeremiah Lowin
6e309e1354
Fix bug with duplicate behavior == ignore
2025-04-15 09:33:23 -04:00
Jeremiah Lowin
9d8f237b82
Add get_tools() and update tests to include proxy tools
2025-04-15 09:15:18 -04:00
Jeremiah Lowin
a691b40cf7
Allow tool manager to store an alternative name for tools
2025-04-15 08:54:52 -04:00
Jeremiah Lowin
649329351b
permit optional resource template args
2025-04-15 01:17:59 -04:00
Jeremiah Lowin
ce9500f87e
Add CLI args
2025-04-14 22:12:48 -04:00
Jeremiah Lowin
d2474d558c
Only apply log config to FastMCP loggers
2025-04-14 15:45:05 -04:00
Jeremiah Lowin
0269905263
Ensure objects are copied properly and test mounting fastapi
2025-04-14 12:50:11 -04:00
Jeremiah Lowin
56801435ac
Support openapi 3.0 and 3.1
2025-04-13 22:38:37 -04:00
Jeremiah Lowin
0cc7d88bd7
Update docs and add_resource_fn
2025-04-13 21:54:56 -04:00
Jeremiah Lowin
29b31573bc
Fix typing issue
2025-04-13 21:45:17 -04:00
Jeremiah Lowin
3ea0685a17
Expand support for various method interactions
2025-04-13 21:39:19 -04:00
Jeremiah Lowin
218c49ce8d
Enter mounted app lifespans
2025-04-12 21:58:06 -04:00
Jeremiah Lowin
e5843f9782
Use _ as default mount separator and make configurable
2025-04-12 21:30:14 -04:00
Jeremiah Lowin
a833a7afa4
Clean up server tests
2025-04-12 15:03:48 -04:00
Jeremiah Lowin
79190e40e9
Ensure that openapi tags are transferred to MCP objects
2025-04-12 12:40:57 -04:00
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