Commit graph

288 commits

Author SHA1 Message Date
Jeremiah Lowin
05288fc507 Fix handling tools without descriptions 2025-05-27 09:08:24 -04:00
Jeremiah Lowin
307a3b908a Ensure content-length is always stripped from client headers 2025-05-24 07:38:34 -04:00
Jeremiah Lowin
794ef3f114 Match functions and methods 2025-05-23 19:00:54 -04:00
Jeremiah Lowin
010170337f Ensure that tools/templates/prompts are compatible with callable objects 2025-05-23 18:53:55 -04:00
Jeremiah Lowin
b924dd54d4 Add tests 2025-05-23 17:31:46 -04:00
Jeremiah Lowin
ae960e2f5a Update tests for new names 2025-05-23 17:16:32 -04:00
Jeremiah Lowin
e0ae84c75f Use lowercase name for headers 2025-05-23 16:02:42 -04:00
Jeremiah Lowin
9350d558c6 Update test_openapi.py 2025-05-23 15:42:56 -04:00
Jeremiah Lowin
de666be70d Update test_openapi.py 2025-05-23 15:40:03 -04:00
Jeremiah Lowin
b8e918a862 Ensure headers are passed through proxy servers 2025-05-23 15:39:45 -04:00
Jeremiah Lowin
213abc4244 Pass client headers through to OpenAPI client 2025-05-23 12:38:24 -04:00
Jeremiah Lowin
98d00dcbf1
Merge branch 'main' into mask-errors 2025-05-23 11:18:18 -04:00
Jeremiah Lowin
6436adaaf3 Split into routemapfn and mcpcomponentfn 2025-05-23 11:03:57 -04:00
Jeremiah Lowin
4e6b1bf611
Merge branch 'main' into mask-errors 2025-05-23 08:36:10 -04:00
Jeremiah Lowin
2c922bf5d4 Merge branch 'main' into route_map_fn 2025-05-23 08:32:08 -04:00
Jeremiah Lowin
ef8bb6f631
Merge branch 'main' into custom-tags 2025-05-23 08:27:41 -04:00
Jeremiah Lowin
9a906f05cf Merge branch 'main' into custom-routes 2025-05-22 22:19:30 -04:00
Jeremiah Lowin
aa2747497c Add route_map_fn for fine control 2025-05-22 22:10:45 -04:00
Jeremiah Lowin
6cac09cf2a Add support for RouteMap tags, update docs 2025-05-22 21:59:16 -04:00
Jeremiah Lowin
702412e28b Remove custom names 2025-05-22 21:11:46 -04:00
Jeremiah Lowin
4c3bf80652 Add custom naming and deprecate all_routes_as_tools 2025-05-22 15:46:46 -04:00
Jeremiah Lowin
e6b1c6984c Update route map logic 2025-05-22 15:06:10 -04:00
Jeremiah Lowin
998de22a6e
Merge pull request #558 from jlowin/custom-routes
Ensure custom routes are respected
2025-05-22 12:26:08 -04:00
Jeremiah Lowin
189389a3a4 Ensure custom routes are respected 2025-05-22 12:20:29 -04:00
Jeremiah Lowin
de581e462a
Merge pull request #542 from davenpi/set-model-preferences
Expose model preferences in `Context.sample` for flexible model selection.
2025-05-22 11:52:09 -04:00
Jeremiah Lowin
4437594e1f
Merge pull request #554 from jlowin/clientconfig
Raise an error if a Client is created with no servers in config
2025-05-22 11:29:23 -04:00
Jeremiah Lowin
5c94447168
Merge branch 'main' into set-model-preferences 2025-05-22 11:28:56 -04:00
Jeremiah Lowin
d618f9151b add transport to stdio server in mcpconfig, with default 2025-05-22 11:25:25 -04:00
Jeremiah Lowin
451fc3bfc2 Merge branch 'main' into clientconfig 2025-05-22 11:23:52 -04:00
Jeremiah Lowin
06b9b98b6c Raise an error if a Client is created with no servers in config 2025-05-22 11:22:45 -04:00
Jeremiah Lowin
53b067b4e7 Make error masking configurable 2025-05-22 09:08:16 -04:00
davenpi
9122833998 Expose model preferences in ctx.sample 2025-05-21 19:34:45 -04:00
Jeremiah Lowin
1afe73c136 feat: support FastMCP v1 server transport 2025-05-21 17:42:26 -04:00
Jeremiah Lowin
f2325fdc23
Merge pull request #534 from jlowin/backwards-compat-resources
Make resource prefix format configurable
2025-05-21 14:57:04 -04:00
Jeremiah Lowin
85c2acf66d Make resource prefix format configurable 2025-05-21 12:37:21 -04:00
Jeremiah Lowin
fa1c94ccdc Support creating clients from mcpconfig 2025-05-20 20:48:16 -04:00
Jeremiah Lowin
cec40ddfea Remove customizable separators; improve resource separator 2025-05-20 20:30:33 -04:00
Jeremiah Lowin
80ba464162
Merge branch 'main' into config-dicts 2025-05-20 17:45:50 -04:00
Jeremiah Lowin
02cb6f8291 Add config inference test 2025-05-20 17:45:13 -04:00
Jeremiah Lowin
f5cddc3219 Formalize MCP Config 2025-05-20 17:43:32 -04:00
nate nowack
c34beee8db
Merge pull request #521 from jlowin/add-better-error
better error when missing lifespan
2025-05-20 14:48:59 -05:00
zzstoatzz
7f46580c14 rm slop markers 2025-05-20 13:48:23 -05:00
Jeremiah Lowin
a39100bd05 Allow * Methods and all routes as tools shortcuts 2025-05-20 13:24:44 -04:00
Jeremiah Lowin
eb9c8ca960
Merge branch 'main' into openapi-path 2025-05-20 12:26:51 -04:00
Jeremiah Lowin
20dd0047c7 Update tests 2025-05-20 12:26:26 -04:00
Jeremiah Lowin
2cce73a133 Unify openapi 3.0 and 3.1 parsing 2025-05-20 12:12:47 -04:00
Jeremiah Lowin
a4f6ecd0be Ensure openapi path params are handled properly 2025-05-20 11:50:57 -04:00
Jeremiah Lowin
e16cb61bc1 Improve client documentation 2025-05-20 11:44:23 -04:00
Jeremiah Lowin
4eb5c3245b
Merge branch 'main' into initialize-result 2025-05-20 10:45:50 -04:00
Jeremiah Lowin
eadec83083 Add request id back to tests 2025-05-20 10:45:27 -04:00