fastmcp/tests/cli
Jeremiah Lowin c35fa5b9e4
[3.x] Require a startup-URL session for the fastmcp dev apps preview (#5418)
Backports `security/dev-apps-preview-server` from main. The `fastmcp dev apps` UI runs as a session started from the printed startup URL, checks Host and origin, opens only launches the picker created, sandboxes tool UI resources in an opaque origin, escapes picker errors, and starts the MCP server with `FASTMCP_HTTP_HOST_ORIGIN_PROTECTION=auto` unless that variable is set. Behavior and compatibility effects match main.

Co-authored-by: Bill Easton <williamseaston@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-10-04 10:51:29 -04:00
..
__init__.py Add tests 2025-07-06 20:50:31 -04:00
test_apps_dev_server.py [3.x] Require a startup-URL session for the fastmcp dev apps preview (#5418) 2026-10-04 10:51:29 -04:00
test_cimd_cli.py Add CIMD (Client ID Metadata Document) support for OAuth (#2871) 2026-02-06 13:44:52 -05:00
test_cli.py Update ty ignore comments for 0.0.25 compatibility (#3614) 2026-03-24 20:26:26 -04:00
test_client_commands.py Sanitize untrusted output in fastmcp list and fastmcp call (#3409) 2026-03-07 12:31:46 -05:00
test_config.py Update classes to inherit from FastMCPBaseModel instead of BaseModel (#2739) 2025-12-26 08:33:23 -05:00
test_cursor.py Validate workspace path is a directory in cursor install (#3426) (#3435) 2026-03-07 11:40:33 -05:00
test_discovery.py Add fastmcp discover and name-based server resolution (#3055) 2026-02-01 21:27:22 -05:00
test_fastmcp_remote.py [3.x] Apply transforms, enabled state, and auth to hashed tool lookups (#5416) 2026-10-04 10:27:02 -04:00
test_generate_cli.py generate-cli: auto-generate SKILL.md agent skill (#3115) 2026-02-08 17:09:28 -05:00
test_goose.py feat: add fastmcp install goose command (#3040) 2026-01-31 10:53:24 -05:00
test_install.py [3.x] Pass client CLI arguments literally to Windows .cmd wrappers (#5420) 2026-10-04 09:17:32 -04:00
test_install_cli_arguments.py [3.x] Pass client CLI arguments literally to Windows .cmd wrappers (#5420) 2026-10-04 09:17:32 -04:00
test_mcp_server_config_integration.py Update ty ignore comments for 0.0.25 compatibility (#3614) 2026-03-24 20:26:26 -04:00
test_mcp_server_config_schema.py Hotfix: restore --transport streamable http at CLI (#1743) 2025-09-03 17:24:22 -04:00
test_project_prepare.py Enable more type checking rules (#1775) 2025-09-07 11:11:44 -04:00
test_run.py [3.x] Require a startup-URL session for the fastmcp dev apps preview (#5418) 2026-10-04 10:51:29 -04:00
test_run_config.py Add log level support for stdio and HTTP transports (#1840) 2025-09-19 13:46:30 -04:00
test_server_args.py Unify discovery API: deduplicate at protocol layer only (#2919) 2026-01-18 21:01:53 -05:00
test_shared.py Reject empty env var keys (#4410) 2026-06-29 09:42:06 -04:00
test_tasks.py Update ty ignore comments for 0.0.25 compatibility (#3614) 2026-03-24 20:26:26 -04:00
test_with_argv.py Consolidate server loading logic into FileSystemSource (#1614) 2025-08-24 20:50:25 -04:00