Commit graph

96 commits

Author SHA1 Message Date
Jeremiah Lowin
16dd2ee252 Fix static checks 2025-04-18 08:44:48 -04:00
William Easton
8a19eb7804
Merge branch 'main' into McpRegisterable-example 2025-04-16 23:30:21 -05:00
strawgate
5de40ac300 Updates based on PR Feedback 2025-04-16 23:30:09 -05:00
Jeremiah Lowin
db32622c31
Merge branch 'main' into mount 2025-04-16 09:38:51 -04:00
Jeremiah Lowin
f2bfe53de1 move test servers to root tests dir 2025-04-16 09:33:25 -04:00
Jeremiah Lowin
5ff93f6bd6 Add mount tests 2025-04-15 21:03:00 -04:00
Jeremiah Lowin
d27141a935 Refactor remote servers 2025-04-15 20:28:14 -04:00
Jeremiah Lowin
8d922d995a restore mcp tool generation to server 2025-04-15 13:54:33 -04:00
Jeremiah Lowin
d39f787537 rename mount -> import 2025-04-15 13:01:36 -04:00
Jeremiah Lowin
67fbb4c3e8 Ensure quoted URIs work; fix proxy template issue 2025-04-15 12:54:58 -04:00
Jeremiah Lowin
4de2469d29 Improve matching logic for quoted chars 2025-04-15 11:31:10 -04:00
Jeremiah Lowin
c2ca6e1fa2 Fix matching logic 2025-04-15 11:06:51 -04:00
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