MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functionbasic_openapi_30_spec
Basic OpenAPI 3.0 spec for testing.
tests/utilities/openapi/conftest.py:7
Functionbasic_openapi_31_spec
Basic OpenAPI 3.1 spec for testing.
tests/utilities/openapi/conftest.py:49
Methodbasic_remote_provider
Basic RemoteAuthProvider fixture for testing base AuthProvider behaviors.
tests/server/auth/test_auth_provider.py:39
Methodbasic_route
Create a basic HTTPRoute for testing.
tests/utilities/openapi/test_director.py:22
Functionbatch_process
Process multiple items.
tests/server/middleware/test_rate_limiting.py:420
Methodbearer_auth_provider
(self, rsa_key_pair)
tests/server/http/test_http_auth_middleware.py:84
Functionbearer_provider
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:26
Functionbearer_provider
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider.py:146
Functionbearer_token
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:17
Functionbearer_token
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider.py:137
Functionbeside_an_unrelated_filter
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:218
Functionbg_progress_tool
( name: str, delay: float, progress: Progress = Progress() )
tests/tasks/server/test_concurrent_dependencies.py:113
Functionbg_tool
(name: str, ctx: Context)
tests/tasks/server/test_concurrent_dependencies.py:89
Methodbig_answer
()
tests/server/middleware/test_response_limiting.py:170
Methodbinary_data
()
tests/server/transforms/test_resources_as_tools.py:181
Methodbinary_tool
()
tests/server/middleware/test_response_limiting.py:134
Functionbinary_type_server
Server with tools returning binary and special types.
tests/tasks/server/test_task_return_types.py:147
Methodbind_tools
(self, tools: Any, **kwargs: Any)
tests/downstream/smoke_langchain_mcp.py:51
Methodbind_tools
(self, tools: Any, **kwargs: Any)
tests/downstream/smoke_langchain_mcp_adapters.py:36
Methodblocked
()
tests/tools/test_tool_run_in_thread.py:89
Functionblocked_import
( name: str, globals: Mapping[str, object] | None = None, locals: Mapping[str, object]
tests/client/test_slim_package_boundaries.py:19
Methodblocked_prompt
()
tests/utilities/test_inspect.py:389
Methodblocked_prompt
()
tests/server/auth/test_authorization.py:695
Methodblocked_prompt
()
tests/server/mount/test_filtering.py:93
Methodblocked_resource
()
tests/utilities/test_inspect.py:381
Methodblocked_resource
()
tests/server/auth/test_authorization.py:653
Methodblocked_resource
()
tests/server/mount/test_filtering.py:72
Methodblocked_resource_template
(item: str)
tests/server/auth/test_authorization.py:673
Methodblocked_tool
()
tests/utilities/test_inspect.py:369
Methodblocked_tool
()
tests/server/auth/test_authorization.py:633
Methodblocked_tool
()
tests/server/mount/test_filtering.py:23
Methodblocking
()
tests/tools/test_tool_run_in_thread.py:142
Methodbody
()
tests/server/providers/proxy/test_stateful_proxy_client.py:281
Methodbook
(x: int)
tests/server/test_mrtr_guards.py:174
Functionbook_flight
(ctx: Context)
tests/server/test_mrtr_guards.py:92
Methodbook_flight
(ctx: Context)
tests/server/test_mrtr_guards.py:1184
Methodboolean_const
(self)
tests/utilities/json_schema_type/test_advanced.py:216
Functionboom
()
tests/tasks/client/test_client_tool_tasks.py:39
Functionboom
()
tests/tasks/client/test_transparent_tasks.py:36
Functionboom
()
tests/tasks/server/test_extension.py:67
Functionboom
(*_args, **_kwargs)
tests/tasks/server/test_snapshot_restore.py:211
Functionboom
()
tests/server/test_protocol_eras.py:417
Functionboom
()
tests/experimental/transforms/test_code_mode.py:798
Methodboom
(scope: Scope, receive: Receive, send: Send)
tests/utilities/test_asgi_transport.py:91
Methodboom
(*_args, **_kwargs)
tests/tasks/server/test_snapshot_encryption.py:325
Functionbridge
(monkeypatch)
examples/smart_home/tests/test_lights.py:14
Functionbroken_async_factory
()
tests/server/providers/proxy/test_server_metadata.py:516
Functionbroken_factory
()
tests/server/providers/proxy/test_server_metadata.py:513
Methodbuffer_event
(event: EventMessage)
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:48
Methodbuggy_async_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:397
Methodbuggy_auth_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:333
Methodbuild_command
Build the full command with environment setup. Args: command: Base command to wrap with environment setup Returns:
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/environments/base.py:13
Functionbulk_caller_live
Fixture to create a BulkToolCaller instance connected to the live server.
tests/contrib/test_bulk_tool_caller.py:81
Functionbundle
()
tests/server/test_extension_runtime.py:41
Functionby_id
(category: str, ids: list[int] = Field(default_factory=list))
tests/downstream/server.py:185
Methodbytes_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:66
Functionc
Tool C.
tests/experimental/transforms/test_code_mode_discovery.py:494
Methodcache
(self)
tests/utilities/test_token_cache.py:66
Methodcache_lifespan
(app: Any)
tests/server/test_server_lifespan.py:388
Methodcaching_server
Create a FastMCP server for caching tests.
tests/server/middleware/test_caching.py:340
Methodcalc
()
tests/server/versioning/test_mounting.py:82
Methodcalc
()
tests/server/versioning/test_mounting.py:156
Methodcalc
()
tests/server/versioning/test_calls.py:54
Methodcalc
(x: int)
tests/server/versioning/test_calls.py:293
Methodcalc
()
tests/server/versioning/test_filtering.py:23
Methodcalc
()
tests/server/versioning/test_filtering.py:368
Methodcalc
()
tests/server/versioning/test_filtering.py:511
Methodcalc
()
tests/server/versioning/test_visibility_version_fallback.py:46
Methodcalc
()
tests/server/versioning/test_visibility_version_fallback.py:268
Functioncalc_v1
()
tests/tasks/server/test_task_config.py:68
Methodcalc_v1
()
tests/tasks/server/test_task_mount.py:174
Methodcalc_v1
()
tests/server/auth/test_authorization.py:992
Functioncalc_v2
()
tests/tasks/server/test_task_config.py:72
Methodcalc_v2
()
tests/tasks/server/test_task_mount.py:180
Methodcalc_v2
()
tests/server/auth/test_authorization.py:996
Functioncalculate
Add two numbers (v1.0).
examples/versioning/versioned_components.py:25
Methodcalculate
Calculate the sum of two numbers.
tests/tools/tool/test_title.py:17
Methodcalculate
Calculate something.
tests/utilities/test_inspect_icons.py:70
Methodcalculate
(x: int, y: int)
tests/utilities/test_inspect.py:183
Methodcalculate
(x: int, y: int)
tests/server/versioning/test_calls.py:184
Methodcalculate_area
Calculate rectangle area.
tests/server/test_input_validation.py:112
Methodcalculate_stats
Calculate statistics for a list of numbers.
tests/server/middleware/test_tool_injection.py:185
Methodcalculate_sum
No return annotation.
tests/tools/tool/test_content.py:413
Functioncalculate_v1
(x: int)
tests/server/middleware/test_versioned_caching.py:31
Functioncalculate_v2
(x: int)
tests/server/middleware/test_versioned_caching.py:36
Functioncall_api
( endpoint: str, client: dict[str, str] = Depends(get_api_client) )
tests/server/test_dependencies.py:115
Functioncall_endpoint
( endpoint: str, ctx: Context, version: str = Depends(get_version) )
tests/server/test_dependencies.py:355
Methodcall_original_handler
( _mw_ctx: MiddlewareContext, )
fastmcp_slim/fastmcp/server/low_level.py:341
Methodcall_tool
(tool_name: str, params: dict[str, Any])
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:717
Methodcallback
(event: EventMessage)
tests/server/test_event_store.py:88
Methodcallback
(event: EventMessage)
tests/server/test_event_store.py:376
Methodcallback1
(event: EventMessage)
tests/server/test_event_store.py:166
Methodcallback2
(event: EventMessage)
tests/server/test_event_store.py:176
Functioncallback_handler
Handle OAuth callback requests with proper HTML responses.
fastmcp_slim/fastmcp/client/oauth_callback.py:153
Methodcallback_handler
Parse stored response and return the authorization code result.
fastmcp_slim/fastmcp/utilities/tests.py:483
Functioncalls_route_to_their_own_server
()
tests/downstream/smoke_langchain_mcp.py:272
Methodcaplog_for_mcp_validation
Capture logs from the MCP SDK's tool name validation logger.
tests/tools/tool/test_tool.py:487
Functioncapture
(request)
tests/client/sampling/handlers/test_anthropic_handler.py:416
Functioncapture
(request: httpx2.Request)
tests/server/providers/openapi/test_query_array_defaults.py:59
Functioncapture
(request: httpx2.Request)
tests/server/providers/openapi/test_json_request_bodies.py:56
← previousnext →3,401–3,500 of 13,374, ranked by callers