MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodrevoke_token
(self, token: AccessToken | RefreshToken)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/revocation.py:85
Methodrevoke_token
Revoke token locally and with upstream server if supported. For refresh tokens, removes from local storage by hash. For all tokens, a
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2467
Methodrevoke_token
(self, token: AccessToken | RefreshToken)
tests/server/test_auth_integration_errors.py:181
Methodroot_call_next
(_mw_ctx: MiddlewareContext)
fastmcp_slim/fastmcp/server/low_level.py:256
Functionroots_backend_server
A backend server whose resource, template, and prompt all issue a server-initiated `list_roots` request via the request context.
tests/server/providers/proxy/test_proxy_client.py:693
Methodroots_handler
(ctx)
tests/client/test_roots.py:61
Methodroots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:238
Methodroots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:741
Functionroots_prompt
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:708
Functionroots_proxy_server
(roots_backend_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:716
Functionroots_resource
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:699
Functionroots_template
(key: str, context: Context)
tests/server/providers/proxy/test_proxy_client.py:703
Functionroute
( tenant: Annotated[str, Field(json_schema_extra={"x-mcp-header": "Tenant"})], )
tests/server/providers/proxy/test_proxy_server.py:1610
Methodroute1
(request)
tests/server/mount/test_advanced.py:138
Methodroute2
(request)
tests/server/mount/test_advanced.py:144
Functionrsa_key_pair
A shared RSA key pair for tests that just need *some* valid key material. RSA key generation costs tens of milliseconds; hundreds of auth tests
tests/conftest.py:151
Functionrsa_key_pair_2
A second shared RSA key pair, distinct from ``rsa_key_pair``. For tests that sign a token with the "wrong" key to prove verification against
tests/conftest.py:166
Functionrun
Run an MCP server or connect to a remote one. The server can be specified in several ways: 1. Module approach: "server.py" - runs the module
fastmcp_slim/fastmcp/cli/cli.py:395
Functionrun
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:280
Functionrun
(command, **kwargs)
tests/test_public_triage.py:72
Functionrun
(monkeypatch: pytest.MonkeyPatch)
tests/cli/test_install_cli_arguments.py:304
Functionrun
(**kwargs: Any)
tests/utilities/test_run_server_async_startup.py:34
Functionrun
()
tests/experimental/transforms/test_monty_callback_lifecycle.py:74
Methodrun
Run the tool with arguments. A tool body may return an `InputRequiredResult` (SEP-2322) to ask the client for input. Under the statel
fastmcp_slim/fastmcp/tools/function_tool.py:424
Methodrun
Create a temporary FastMCP server and run this app standalone.
fastmcp_slim/fastmcp/apps/app.py:461
Methodrun
Delegate to the child server's call_tool(). This is called when the tool is used within a TransformedTool forwarding function or othe
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:107
Methodrun
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:53
Methodrun
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:64
Methodrun
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:74
Methodrun
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:84
Methodrun
(self, arguments: dict[str, Any])
tests/server/test_input_validation.py:62
Methodrun
(self, arguments)
tests/server/middleware/test_dereference.py:149
Methodrun
(self, arguments: dict[str, Any])
tests/server/providers/test_base_provider.py:61
Methodrun
(self, arguments: dict[str, Any])
tests/server/providers/test_local_provider.py:846
Methodrun
(self, arguments: dict[str, Any])
tests/server/providers/proxy/test_non_object_outputs.py:307
Methodrun
( self, code: str, *, inputs: dict[str, Any] | None = None, external_f
tests/experimental/transforms/test_code_mode_discovery.py:55
Methodrun_and_cancel
()
tests/server/test_server_lifespan.py:583
Methodrun_application
()
fastmcp_slim/fastmcp/utilities/asgi_transport.py:188
Functionrun_async
(self: FastMCPProxy, **kwargs: Any)
tests/cli/test_fastmcp_remote.py:359
Functionrun_at
(i: int, aw: Awaitable[T])
fastmcp_slim/fastmcp/utilities/async_utils.py:90
Functionrun_in_clean_worker_context
()
tests/tasks/server/test_snapshot_restore.py:108
Functionrun_in_reused_worker_context
()
tests/tasks/server/test_snapshot_restore.py:186
Functionrun_mcp_server
(host: str, port: int)
tests/server/auth/providers/test_supabase.py:163
Functionrunning_under_debugger
()
tests/test_mcp_config.py:66
Functionrunning_under_debugger
()
tests/client/test_stdio.py:31
Functionsales_chart
Show monthly online vs. retail sales as a bar chart.
examples/apps/chart_server.py:19
Functionsales_dashboard
Company sales dashboard with KPIs, revenue trends, segment breakdown, and recent deals.
examples/apps/sales_dashboard/sales_dashboard_server.py:127
Functionsame
()
tests/server/transforms/test_model_visibility_boundary.py:145
Functionsame_v1
()
tests/client/test_versioned_call_tool_validation.py:26
Functionsame_v2
()
tests/client/test_versioned_call_tool_validation.py:30
Functionsample_config
Create a sample fastmcp.json configuration file with nested structure.
tests/cli/test_run_config.py:20
Functionsample_func
(x: int)
tests/tools/tool_transform/test_metadata.py:32
Methodsample_message
(self)
tests/server/test_event_store.py:62
Methodsample_prompt
Generate prompt about topic.
tests/test_json_schema_generation.py:127
Methodsample_prompt
(self)
tests/contrib/test_mcp_mixin.py:160
Methodsample_prompt
(self)
tests/contrib/test_mcp_mixin.py:334
Methodsample_prompt
(self)
tests/contrib/test_mcp_mixin.py:368
Methodsample_prompt
()
tests/server/test_server.py:349
Methodsample_prompt
()
tests/server/providers/test_local_provider_prompts.py:227
Methodsample_prompt
()
tests/server/providers/test_local_provider_prompts.py:333
Functionsample_prompt_fn
()
tests/server/middleware/test_caching.py:67
Methodsample_resource
Return sample data.
tests/test_json_schema_generation.py:79
Methodsample_resource
(self)
tests/contrib/test_mcp_mixin.py:114
Methodsample_resource
(self)
tests/contrib/test_mcp_mixin.py:311
Methodsample_resource
(self)
tests/contrib/test_mcp_mixin.py:364
Methodsample_resource
A sample resource.
tests/server/test_server.py:309
Methodsample_resource
()
tests/server/providers/test_local_provider_resources.py:750
Functionsample_resource_fn
()
tests/server/middleware/test_caching.py:63
Methodsample_template
Return greeting for name.
tests/test_json_schema_generation.py:102
Methodsample_template
A sample resource template.
tests/server/test_server.py:329
Methodsample_template
(param: str)
tests/server/providers/test_local_provider_resources.py:965
Functionsample_tool
()
tests/test_mcp_config.py:1512
Functionsample_tool
Sample tool for testing transformations.
tests/tools/tool_transform/test_metadata.py:29
Functionsample_tool
()
tests/cli/test_fastmcp_remote.py:31
Methodsample_tool
Add two numbers.
tests/test_json_schema_generation.py:35
Methodsample_tool
(self)
tests/contrib/test_mcp_mixin.py:69
Methodsample_tool
(self)
tests/contrib/test_mcp_mixin.py:288
Methodsample_tool
(self)
tests/contrib/test_mcp_mixin.py:360
Methodsample_tool
A sample tool.
tests/server/test_server.py:289
Methodsample_tool
(x: int)
tests/server/providers/local_provider_tools/test_enabled.py:46
Methodsample_tool
(x: int)
tests/server/providers/local_provider_tools/test_decorator.py:202
Methodsample_tool
(x: int)
tests/server/providers/local_provider_tools/test_context.py:118
Functionsample_tool_fn
(arg1: int, arg2: str)
tests/test_mcp_config.py:1507
Functionsample_tool_no_title
Sample tool without title for testing.
tests/tools/tool_transform/test_metadata.py:44
Functionsample_tool_result
Create a sample tool result for testing.
tests/server/middleware/test_caching.py:240
Functionsample_with_image
(image_bytes: bytes, context: Context)
tests/client/test_sampling.py:83
Functionsample_with_messages
(message: str, context: Context)
tests/client/test_sampling.py:66
Functionsample_with_system_prompt
(message: str, context: Context)
tests/client/test_sampling.py:53
Functionsampling
( context: Context, )
tests/server/providers/proxy/test_proxy_client.py:125
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/providers/proxy/test_proxy_client.py:264
Functionsampling_result
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:131
Functionsave
(name: str)
tests/cli/test_fastmcp_remote.py:306
Functionsave
(value: HorizonConfiguration)
tests/cli/deploy/test_configuration.py:79
Functionsave
(name: str)
tests/server/test_hashed_tool_dispatch.py:65
Functionsave
(name: str)
tests/server/providers/test_prefab_roundtrip.py:183
Functionsave
(name: str)
tests/server/providers/test_catalog_tool_names.py:37
Functionsave
(name: str)
tests/server/auth/test_authorization.py:1680
Methodsave
(name: str)
tests/test_fastmcp_app.py:48
Methodsave
(name: str)
tests/test_fastmcp_app.py:331
Methodsave
(name: str)
tests/test_fastmcp_app.py:441
← previousnext →6,701–6,800 of 15,974, ranked by callers