MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functionreturn_none
()
tests/tasks/server/test_task_return_types.py:114
Functionreturn_optional
()
tests/tasks/server/test_task_return_types.py:319
Functionreturn_optional_none
()
tests/tasks/server/test_task_return_types.py:323
Functionreturn_path
()
tests/tasks/server/test_task_return_types.py:161
Functionreturn_resource_link
()
tests/tasks/server/test_task_return_types.py:392
Functionreturn_set
()
tests/tasks/server/test_task_return_types.py:199
Functionreturn_string
()
tests/tasks/server/test_task_return_types.py:86
Functionreturn_text_content
()
tests/tasks/server/test_task_return_types.py:373
Methodreturn_things
()
tests/tools/tool/test_content.py:330
Functionreturn_tuple
()
tests/tasks/server/test_task_return_types.py:195
Functionreturn_type_server
Server with tools that return various basic types.
tests/tasks/server/test_task_return_types.py:80
Functionreturn_typeddict
()
tests/tasks/server/test_task_return_types.py:303
Functionreturn_union
()
tests/tasks/server/test_task_return_types.py:311
Functionreturn_union_int
()
tests/tasks/server/test_task_return_types.py:315
Functionreturn_uuid
()
tests/tasks/server/test_task_return_types.py:157
Methodreturning_constant_cursor
( *, cursor: str | None = None, cache_mode: str = "use",
tests/server/test_pagination.py:413
Methodreturning_cycling_cursor
( *, cursor: str | None = None, cache_mode: str = "use",
tests/server/test_pagination.py:534
Methodreturning_unique_cursor
( *, cursor: str | None = None, cache_mode: str = "use",
tests/server/test_pagination.py:568
Functionreturns_image
Tool that returns an Image.
tests/tools/test_tool_future_annotations.py:45
Functionreuse_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1382
Functionreverse_string
Reverse a string.
examples/search/server_regex.py:51
Functionreverse_string
Reverse a string.
examples/search/server_bm25.py:47
Functionreverse_string
Reverse a string.
examples/code_mode/server.py:45
Functionreview
Ask for a code review.
tests/downstream/server.py:197
Functionreview_pull_request
Review a pull request.
examples/prompts_as_tools/server.py:53
Methodrevocation_endpoint
(self)
tests/server/auth/oauth_proxy/conftest.py:62
Methodrevoke_token
Revokes an access or refresh token and its counterpart.
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:360
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:2353
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:258
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:523
Methodroots_handler
(ctx)
tests/client/test_roots.py:61
Methodroots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:186
Methodroots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:571
Functionroots_prompt
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:538
Functionroots_proxy_server
(roots_backend_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:546
Functionroots_resource
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:529
Functionroots_template
(key: str, context: Context)
tests/server/providers/proxy/test_proxy_client.py:533
Functionroute
( tenant: Annotated[str, Field(json_schema_extra={"x-mcp-header": "Tenant"})], )
tests/server/providers/proxy/test_proxy_server.py:1539
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:410
Functionrun
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:274
Functionrun
(monkeypatch: pytest.MonkeyPatch)
tests/cli/test_install_cli_arguments.py:304
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:369
Methodrun
Create a temporary FastMCP server and run this app standalone.
fastmcp_slim/fastmcp/apps/app.py:440
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:47
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:737
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:577
Methodrun_application
()
fastmcp_slim/fastmcp/utilities/asgi_transport.py:188
Functionrun_at
(i: int, aw: Awaitable[T])
fastmcp_slim/fastmcp/utilities/async_utils.py:89
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
Methodrun_server
Load and run the server with this configuration. Args: **kwargs: Additional arguments to pass to server.run_async()
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:381
Functionrunning_under_debugger
()
tests/test_mcp_config.py:66
Functionrunning_under_debugger
()
tests/client/test_stdio.py:25
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
Methodsample
()
tests/server/middleware/test_caching.py:449
Functionsample_config
Create a sample fastmcp.json configuration file with nested structure.
tests/cli/test_run_config.py:19
Functionsample_func
(x: int)
tests/tools/tool_transform/test_metadata.py:32
Methodsample_message
(self)
tests/server/test_event_store.py:55
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
()
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
A sample resource.
tests/server/test_server.py:309
Methodsample_resource
()
tests/server/providers/test_local_provider_resources.py:749
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:907
Functionsample_tool
()
tests/test_mcp_config.py:1430
Functionsample_tool
Sample tool for testing transformations.
tests/tools/tool_transform/test_metadata.py:29
Functionsample_tool
()
tests/cli/test_fastmcp_remote.py:22
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
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
← previousnext →5,601–5,700 of 13,374, ranked by callers