Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aschlean
Copy link
Contributor

@aschlean aschlean commented Oct 18, 2025

Pull Request Template

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Security enhancement
  • Performance improvement
  • Code refactoring (no functional changes)

Note

Pins mcp to 1.17.0 and replaces dict with model_dump() when passing MCPServerConfig through compliance, security, multi-provider, and conversation test paths.

  • Dependencies:
    • Pin mcp to 1.17.0 in requirements.txt.
  • Test execution:
    • Replace __dict__ with model_dump() for MCPServerConfig serialization when invoking:
      • execute_compliance_test_real, execute_security_test_real, execute_conversation_test_real, and execute_multi_provider_test_real in src/test_mcp/cli/test_execution.py.
      • MCPComplianceTester and MCPSecurityTester constructors.

Written by Cursor Bugbot for commit 0657c29. This will update automatically on new commits. Configure here.

dsonyy and others added 7 commits October 17, 2025 08:41
… SDK to 1.17.0

- Replace server_config.__dict__ with server_config.model_dump() in 6 places
  This ensures the oauth field is properly serialized when passing configs to test modules

- Pin MCP SDK to 1.17.0 (instead of >=1.15.0)
  Version 1.18.0 has stricter OAuth that breaks Linear's implementation

Fixes:
- OAuth browser now opens for security/compliance tests
- OAuth token properly cached and reused across tests
- Security tests: 100% pass rate with OAuth
- Compliance tests: OAuth authentication working

Tested with Linear MCP server (https://mcp.linear.app/mcp)
Fix OAuth for security/compliance tests: use model_dump() and pin MCP SDK to 1.17.0
@aschlean aschlean self-assigned this Oct 18, 2025
@aschlean aschlean merged commit 1cc9a29 into main Oct 18, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants