- Renamed Python README title to "MCP-Use for Python" and added a description of its capabilities.
- Enhanced Python README with sections on MCP Agent, MCP Client, and upcoming MCP Server.
- Updated TypeScript README to include a new section on MCP-UI Resources for building interactive applications.
- Improved formatting and added quick links in both README files for better navigation.
- Ensured consistency in package descriptions and features across both implementations.
* Added a step in the GitHub Actions workflow to check for broken links in the documentation.
* Updated the documentation structure by replacing AccordionItem with Accordion for better organization.
* Corrected links in the middleware and configuration documentation for accuracy.
* feat: enhance API documentation and structure
* Added new background configuration options in docs.json.
* Introduced a script to generate Mintlify-compatible MDX API documentation.
* Updated API reference structure in docs.json to reflect new organization.
* Removed outdated API reference files for adapters and introduction.
* Improved organization of API reference groups for better navigation.
* chore: update GitHub Actions workflow for documentation generation
* Added a step to create a virtual environment before installing dependencies.
* Improved the workflow by ensuring the documentation generation script runs in the correct directory.
* feat: automatic documentation
* fix: empty new line messes up with linter
* linted docs
* fix: docs.json linting newline
* check only docs files
* feat: action comments PR with instructions
* test: expect action failure
* docs: update API documentation
* gradient generator
* feat: import path in docs
* Middlware first commit
* Add context to middleware
- Add context to middleware with mcp types
- Update logging middleware with new implementation
- Add hooks for every type of action
* Update example and metrics
* Adapt tests to middleware
* Fix metrics and example
* Update docs and new add_middleware function
* Fix metrics property
* Fix on add_middleware function
* Fix formatting
* chore: nicer example
* chore: remove global exports for middleware
* chore: middleware blog
---------
Signed-off-by: Vincenzo Reina <vincenzoreinaa05@gmail.com>
Co-authored-by: pietrozullo <pietro.zullo@gmail.com>
* Fix enum validation issue in jsonschema_to_pydantic
- Enhanced fix_schema method to automatically add 'type': 'string' to enum fields without explicit type
- This resolves validation errors when passing string values to enum fields in FastMCP tools
- Added comprehensive unit tests for enum handling scenarios
- Fix is backward compatible and preserves existing functionality
- Resolves issue where enum fields without explicit type caused Pydantic validation errors
* Fix linting issues
- Remove whitespace from blank lines
- Sort imports according to project standards
- All ruff checks now pass
* Apply ruff formatting to test file
- Format test_enum_handling.py according to project standards
- All formatting checks now pass
* Fix enum validation test to reflect actual jsonschema-pydantic behavior
- Replace test that expected strict enum validation with test that verifies valid values are accepted
- jsonschema-pydantic doesn't enforce strict enum validation as expected
- Focus on testing that our fix allows valid enum values to pass validation
- This addresses the test failure in CI
---------
Co-authored-by: Amrithesh Kakkoth <amritheshkakkoth@gmail.com>
* Auth 1.0
* Defualt to DCR
* Fix client list server names
* Fix oauth problems with no oauth servers, enhance documentation and comments
* Add OAuth metadata provider and specific fixes
- Remove auth field to reduce API verbosity
- Add "auth" support for MCPClient's config
- Add "oauth_provider" key to MCPClient's config to provide metadata
- Fix no OAuth servers' errors
* Relocate authentication doc
* Fix ruff formatting as usual
* Fix http connectors tests with oauth support
* Fix test_config unit tests
* Final fix for tests
* Add integration for auth
- Add auth server for testing
- Add test for complete auth flow with mock on OAuth callback
- Add test for custom client auth
- Add test for bearer auth token
* Add further test and update README
- Add OAuth metadata provider (no discovery)
- Update README with new auth badge
* Format fixes
* Remove redefined exception
* Add auth test on GH action
* Update docs with correct example
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pietro Zullo <62951181+pietrozullo@users.noreply.github.com>
* Update mcp_use/auth/oauth.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pietro Zullo <62951181+pietrozullo@users.noreply.github.com>
* Add custom callback port feature
- Add customizable port for callback
- Remove dynamic port
- Fix bug of registration before checking port
* Add GitHub MCP support
* Update docs
* chore: highlight hack
* chore: change wording in docs
* Add authlib on project dependencies
* Remove useless example
* Fix formatting as usual
---------
Signed-off-by: Vincenzo Reina <vincenzoreinaa05@gmail.com>
Signed-off-by: Pietro Zullo <62951181+pietrozullo@users.noreply.github.com>
Co-authored-by: renvins <vincenzoreinaa05@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* improve logging
* import logging first
* make callback functions for observability + observability manager for mcp agent
* improve runner callbacks logic
* use laminar auto instrumentation + remove opentelemetry callbacks from laminar