Commit graph

2,211 commits

Author SHA1 Message Date
zzstoatzz
129f94bc68 fix: prevent race condition in proxy component fetching
When mounting remote MCP servers via ProxyClient, concurrent list_tools/
list_resources/list_prompts calls would race to fetch from the backend,
causing duplicate connections and request cancellations. This led to
timeouts when calling tools on servers with remote proxies mounted.

This change adds caching with async locks to ensure only one fetch occurs
per component type, with subsequent concurrent calls waiting for and
reusing the cached results. The first fetch still takes time (HTTP
connection + MCP initialization), but subsequent operations are fast.

Fixes #2019
2025-10-07 15:04:25 -05:00
Jeremiah Lowin
ba1ba86a64
Support initialize requests in middleware (#1546) 2025-10-05 10:20:13 -04:00
Jeremiah Lowin
91af3cd2ae
Internal refactor of MCP handlers (#2005) 2025-10-05 08:45:10 -04:00
William Easton
05dc0f4771
Add client method wrapping examples to Tool Transformation docs (#2002)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: William Easton <strawgate@users.noreply.github.com>
2025-10-04 19:51:01 -04:00
William Easton
ad8c936fa6
Mark GitHub Integration tests as flaky
Mark GitHub Integration tests as flaky
2025-10-03 21:33:18 -05:00
William Easton
70364f555d
lint 2025-10-03 21:27:31 -05:00
William Easton
9f19c7e09d
Merge branch 'main' into flake-free-for-thee 2025-10-03 21:26:08 -05:00
William Easton
4b85b0c3ff
Mark github tests as flaky 2025-10-03 21:25:35 -05:00
William Easton
3ed553a832
Merge pull request #1999 from jlowin/fix-martian
Fixes for Martian prompts
2025-10-03 20:40:49 -05:00
William Easton
defa67f8a9
Fixes for Martian prompts 2025-10-03 20:21:06 -05:00
William Easton
5edbe57cb6
Fix improper conversion of list[Audio | File | Image] helpers
Fix improper conversion of list[Audio | File | Image] helpers
2025-10-03 16:01:49 -05:00
William Easton
13917efbb1
Merge branch 'main' into fix-fastmcp-type-list-to-text-content 2025-10-03 15:52:32 -05:00
William Easton
8b800494e3
Fix Marvin labeling and shorten Martian responses
Fix Marvin labeling and shorten Martian responses
2025-10-03 15:52:21 -05:00
William Easton
bccbeca843
Merge branch 'main' into fix-fastmcp-type-list-to-text-content 2025-10-03 15:06:46 -05:00
William Easton
528b3d47b8
Merge branch 'main' into a-better-martian 2025-10-03 15:06:28 -05:00
William Easton
bc648c6426
Add Any type annotations to args and kwargs
Add Any annotations to args and kwargs
2025-10-03 15:05:50 -05:00
William Easton
a99f1334a6
Merge branch 'main' into fix-fastmcp-type-list-to-text-content 2025-10-03 15:02:44 -05:00
William Easton
664b67d26f
Fix exclusion of content helpers if they are in a list 2025-10-03 15:02:26 -05:00
William Easton
293455ee00
Fixes for Marvin and Martian prompts 2025-10-03 14:57:07 -05:00
claude[bot]
d16c69a46d Add Any annotations to args and kwargs
Fixes strict type checker warnings by adding explicit Any type annotations
to *args and **kwargs parameters throughout the codebase.

Changes:
- tool_transform.py: forward(), forward_raw(), and _forward()
- client.py: All __init__ overload signatures
- proxy.py: All __init__ methods in proxy classes
- oauth_proxy.py: __init__ method
- low_level.py: LowLevelServer __init__
- tests.py: run_server_in_process()

Co-authored-by: William Easton <strawgate@users.noreply.github.com>
2025-10-03 17:48:52 +00:00
William Easton
11e88161be
Prompt updates 2025-10-02 13:27:28 -05:00
William Easton
7724edb97e
Merge branch 'main' into a-better-martian 2025-10-02 13:17:29 -05:00
William Easton
e30a384e58
Change martian response format 2025-10-02 13:16:17 -05:00
William Easton
d55cd086a1
Merge pull request #1983 from jlowin/a-better-martian
Improve the Martian
2025-10-02 12:37:02 -05:00
William Easton
acf2ed4628
Change trigger criteria 2025-10-02 12:30:59 -05:00
William Easton
e4bf2cfd75
Add progress tracking, remove websearch for now 2025-10-02 11:17:56 -05:00
William Easton
6da58af290
Merge branch 'main' into a-better-martian 2025-10-02 11:16:48 -05:00
William Easton
3e31aabd06
install uv 2025-10-02 09:24:37 -05:00
nate nowack
5c54ea2c09
Merge pull request #1975 from jlowin/fix/cli-emoji-width
cli: fix banner width by removing emoji variation selectors
2025-10-01 14:56:16 -05:00
nate nowack
abd5b42385
Merge branch 'main' into fix/cli-emoji-width 2025-10-01 14:45:24 -05:00
William Easton
521d4b8f41
Fix truthiness 2025-10-01 13:29:42 -05:00
William Easton
e74026b687
Fix MCP 2025-10-01 13:25:56 -05:00
William Easton
e4f8e5f885
Improve Marvin and add a Martian
Improve Marvin for labeling and add a Martian
2025-10-01 13:17:32 -05:00
William Easton
22e5a16714
Fix marvin label triage for non-contributors 2025-10-01 12:29:07 -05:00
William Easton
ccc5dc8194
Limit the martian 2025-10-01 12:25:52 -05:00
William Easton
ea81cfd08b
Add a new martian 2025-10-01 12:21:47 -05:00
zzstoatzz
3f8fbbff61 cli: fix banner width by removing emoji variation selectors (🖥️→🖥, 🏎️→🏎)
rm unnecessary diff
2025-09-30 20:46:05 -05:00
Jeremiah Lowin
f803782381
Improve env vars for marvin (#1972) 2025-09-30 16:38:51 -04:00
Jeremiah Lowin
35a8c32f61
Add RFC 6570 query parameter support to resource templates (#1971) 2025-09-30 16:28:09 -04:00
Josh Rubin
c82e1faa4e
Fixed so only converted fastmcp types 2025-09-30 14:59:44 -04:00
Josh Rubin
21bcfd52f7
Added fix to always convert all items of a content list to content blocks 2025-09-30 14:32:51 -04:00
Josh Rubin
87e31cc544
Revert "Added fix to always convert all items of a content list to content blocks"
This reverts commit 1b49523e01.
2025-09-30 14:32:30 -04:00
Josh Rubin
1b49523e01
Added fix to always convert all items of a content list to content blocks 2025-09-30 14:31:12 -04:00
Jeremiah Lowin
b549b4a323
Add --model claude-sonnet-4-5-20250929 to all workflows (#1963) 2025-09-29 21:04:05 -04:00
Jeremiah Lowin
02b6a76d11
Fix prompt_file input and bot attribution (#1960) 2025-09-29 20:42:24 -04:00
Jeremiah Lowin
b53604ca76
Fix claude-code-action@v1 authentication (#1958) 2025-09-29 20:35:44 -04:00
Jeremiah Lowin
69d9550cd7
Upgrade GitHub workflows to claude-code-action@v1 (#1956) 2025-09-29 20:28:46 -04:00
Jeremiah Lowin
d9fe373358
Fix SSE endpoint accepting POST requests instead of returning 405 (#1953) 2025-09-29 20:12:59 -04:00
marvin-context-protocol[bot]
27dbb9eabe
chore: Update fastmcp.json schema (#1955)
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
2025-09-29 20:12:24 -04:00
Jeremiah Lowin
3a21e7b9b2
Fix path resolution in install commands (#1951) 2025-09-29 20:04:12 -04:00