Commit graph

1,804 commits

Author SHA1 Message Date
zzstoatzz
8ccd2ea9e6 test: update OAuth tests to match MCP implementation behavior
- Remove CORS header assertions as CORSMiddleware handles these at ASGI level
- Simplify OPTIONS test to just verify endpoint responds
- MCP's create_protected_resource_routes already wraps handlers properly
2025-07-22 10:11:18 -05:00
zzstoatzz
e104811d0e fix: add OAuth protected resource metadata endpoint
Implements the missing /.well-known/oauth-protected-resource endpoint
required by the MCP spec for OAuth discovery. Also adds proper
resource_metadata URL to WWW-Authenticate headers for 401 responses.

This fixes OAuth authentication issues with FastMCP Client and Claude
Integration by providing the complete OAuth discovery mechanism.

Closes #972

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 11:21:55 -05:00
Algirdas Čičinskas
5b999ac6f1
fix: save reference when using allOf / oneOf / anyOf (#1208) 2025-07-21 10:18:17 -04:00
Jeremiah Lowin
f950b8ca95
Support from __future__ import annotations (#1199) 2025-07-20 21:05:13 -04:00
Jeremiah Lowin
cbd751f821
Update fastapi docs (#1198) 2025-07-20 19:56:24 -04:00
Jeremiah Lowin
a754311187
Merge pull request #1194 from mariotaddeucci/docs/fastapi 2025-07-20 19:14:36 -04:00
Mario Taddeucci
b8820de9aa Remove unused import from FastAPI integration documentation 2025-07-20 12:24:48 -03:00
Jeremiah Lowin
1ea3ee82fe
Merge pull request #1138 from strawgate/run-mcp-config 2025-07-19 21:18:40 -04:00
Jeremiah Lowin
a65bfd10be
Add --python, --project, and --with-requirements options to CLI commands (#1190) 2025-07-19 21:16:09 -04:00
Jeremiah Lowin
74518fb7b2 Add docs 2025-07-19 21:15:38 -04:00
Jeremiah Lowin
c9255f483f Add validation test 2025-07-19 16:11:14 -04:00
Jeremiah Lowin
ed57b4cd42 Simplify proxy load 2025-07-19 16:08:18 -04:00
Jeremiah Lowin
d8779d2c2e Merge branch 'main' into pr/1138 2025-07-19 16:04:43 -04:00
William Easton
1b953820b3
[🐶] Transform MCP Server Tools (#1132)
Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
2025-07-19 15:52:47 -04:00
Jeremiah Lowin
b737fda44f
Merge pull request #1188 from jlowin/separate-integration-tests v2.10.6 2025-07-19 15:52:26 -04:00
hopeful0
85ebe5b657
Add StatefulProxyClient (#1109) 2025-07-19 15:51:58 -04:00
Jeremiah Lowin
1f06f413cb Merge branch 'main' into separate-integration-tests 2025-07-19 15:49:13 -04:00
Jeremiah Lowin
30912c69c6 Run integration tests as separate CI job on Ubuntu only
- Add pytest marker for integration tests
- Configure automatic marking for tests/integration_tests/ folder via pytest hook
- Split CI workflow into two jobs: regular tests (all platforms) and integration tests (Ubuntu only)
- Integration tests can now be retried independently if they fail
2025-07-19 15:21:34 -04:00
Jeremiah Lowin
06b291365e
Only configure logging one time (#1187) 2025-07-19 15:21:08 -04:00
Jeremiah Lowin
5898450284 Only configure logging one time 2025-07-19 15:08:47 -04:00
Jeremiah Lowin
1c20ad77c9
Remove deprecated proxy creation (#1186) 2025-07-19 13:37:46 -04:00
Jeremiah Lowin
ea54851736
Fix mcp-json output format to include server name (#1185)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-19 13:31:11 -04:00
Jeremiah Lowin
c02be184ee
Merge pull request #1182 from jlowin/update-api-ref 2025-07-19 10:48:40 -04:00
nate nowack
dfc1a81e33
Merge pull request #1183 from jlowin/fix-tests
skip on rate limit
2025-07-18 15:30:20 -05:00
zzstoatzz
ce49880aeb fix missing import 2025-07-18 15:27:52 -05:00
nate nowack
283bf68550
Update tests/integration_tests/conftest.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-18 15:19:24 -05:00
zzstoatzz
163db94266 more specific 2025-07-18 11:19:18 -05:00
zzstoatzz
1e473cd0ef skip on rate limit 2025-07-18 11:10:26 -05:00
zzstoatzz
c289f17217 update api ref for new mdxify version 2025-07-18 10:19:16 -05:00
Martin Melka
3543c13ca9
Fix nesting when making OpenAPI arrays and objects optional (#1178) 2025-07-18 08:26:42 -04:00
Aidan
ebe817601c
add server name to mounted server warnings (#1147) 2025-07-17 12:02:30 -07:00
Ka
ceb8d85826
feat(settings): add log level normalization (#1171) 2025-07-17 12:01:03 -07:00
itaru2622
eca3174922
fix: _replace_ref_with_defs; ensure ref_path is string, because some REST servers use "$ref" as property name of schema. (#1164) 2025-07-17 11:46:23 -07:00
Jeremiah Lowin
5fc7aa04aa
Update README.md (#1165) 2025-07-16 10:16:27 -07:00
tommitt
13dd2bfa0c
Upgrade Eunomia authorization docs (#1144) 2025-07-15 07:09:29 -07:00
nate nowack
0977d552ff
Fix tool output schema generation to respect Pydantic serialization aliases (#1148)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-15 07:08:56 -07:00
nate nowack
64d469be98
Add no-commit-to-branch hook to prevent direct commits to main (#1149)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-15 07:03:56 -07:00
Johannes Maron
7966514a86
Resolve #1139 -- Implement include_context argument in Context.sample (#1141) 2025-07-15 07:01:41 -07:00
Martin Melka
5151f218cf
Do not silently exclude the "context" key from JSON body (#1153) 2025-07-15 06:59:37 -07:00
William Easton
7532e1a8ee
update for windows? 2025-07-13 15:52:24 -05:00
William Easton
22b578ba11
Merge branch 'main' into run-mcp-config 2025-07-13 15:24:24 -05:00
William Easton
91903bcbe6
update docstring 2025-07-13 15:21:06 -05:00
William Easton
c6501c1060
Support running fastmcp directly with an MCPConfig 2025-07-13 15:19:57 -05:00
Jeremiah Lowin
7ce0a59ea6
Fix optional parameter validation in OpenAPI integration (#1135)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-13 10:23:56 -04:00
Jeremiah Lowin
c0b01ceb1f
Merge pull request #1131 from jlowin/fix-tool-transform-title-field 2025-07-12 09:56:09 -04:00
Jeremiah Lowin
9326cb91db Fix title field preservation in tool transformations
Add title parameter to Tool.from_tool() and TransformedTool.from_tool()
to properly inherit or override title field when transforming tools.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 09:53:49 -04:00
Jeremiah Lowin
45228c5cfa
Merge pull request #1129 from jlowin/expand-empty-params-fix-1128 2025-07-12 09:35:35 -04:00
Jeremiah Lowin
e670ee708d
Merge branch 'main' into expand-empty-params-fix-1128 2025-07-12 09:29:34 -04:00
Jeremiah Lowin
b853bb85f9 Expand empty parameter filtering and add tests
Builds on PR #1128 by adding comprehensive filtering at parameter selection stage and test coverage for empty arrays/dicts.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 09:25:05 -04:00
Fabrizio Sandri
21ee0d3ea7
Fix OpenAPI empty parameters (#1128) 2025-07-12 09:24:11 -04:00