Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
revoke_token
(self, token: AccessToken | RefreshToken)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/revocation.py:85
Method
revoke_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
Method
revoke_token
(self, token: AccessToken | RefreshToken)
tests/server/test_auth_integration_errors.py:181
Method
root_call_next
(_mw_ctx: MiddlewareContext)
fastmcp_slim/fastmcp/server/low_level.py:256
Function
roots_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
Method
roots_handler
(ctx)
tests/client/test_roots.py:61
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:238
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:741
Function
roots_prompt
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:708
Function
roots_proxy_server
(roots_backend_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:716
Function
roots_resource
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:699
Function
roots_template
(key: str, context: Context)
tests/server/providers/proxy/test_proxy_client.py:703
Function
route
( tenant: Annotated[str, Field(json_schema_extra={"x-mcp-header": "Tenant"})], )
tests/server/providers/proxy/test_proxy_server.py:1610
Method
route1
(request)
tests/server/mount/test_advanced.py:138
Method
route2
(request)
tests/server/mount/test_advanced.py:144
Function
rsa_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
Function
rsa_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
Function
run
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
Function
run
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:280
Function
run
(command, **kwargs)
tests/test_public_triage.py:72
Function
run
(monkeypatch: pytest.MonkeyPatch)
tests/cli/test_install_cli_arguments.py:304
Function
run
(**kwargs: Any)
tests/utilities/test_run_server_async_startup.py:34
Function
run
()
tests/experimental/transforms/test_monty_callback_lifecycle.py:74
Method
run
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
Method
run
Create a temporary FastMCP server and run this app standalone.
fastmcp_slim/fastmcp/apps/app.py:461
Method
run
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
Method
run
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:53
Method
run
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:64
Method
run
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:74
Method
run
(self, arguments: dict[str, Any])
tests/tasks/server/test_custom_subclass_tasks.py:84
Method
run
(self, arguments: dict[str, Any])
tests/server/test_input_validation.py:62
Method
run
(self, arguments)
tests/server/middleware/test_dereference.py:149
Method
run
(self, arguments: dict[str, Any])
tests/server/providers/test_base_provider.py:61
Method
run
(self, arguments: dict[str, Any])
tests/server/providers/test_local_provider.py:846
Method
run
(self, arguments: dict[str, Any])
tests/server/providers/proxy/test_non_object_outputs.py:307
Method
run
( self, code: str, *, inputs: dict[str, Any] | None = None, external_f
tests/experimental/transforms/test_code_mode_discovery.py:55
Method
run_and_cancel
()
tests/server/test_server_lifespan.py:583
Method
run_application
()
fastmcp_slim/fastmcp/utilities/asgi_transport.py:188
Function
run_async
(self: FastMCPProxy, **kwargs: Any)
tests/cli/test_fastmcp_remote.py:359
Function
run_at
(i: int, aw: Awaitable[T])
fastmcp_slim/fastmcp/utilities/async_utils.py:90
Function
run_in_clean_worker_context
()
tests/tasks/server/test_snapshot_restore.py:108
Function
run_in_reused_worker_context
()
tests/tasks/server/test_snapshot_restore.py:186
Function
run_mcp_server
(host: str, port: int)
tests/server/auth/providers/test_supabase.py:163
Function
running_under_debugger
()
tests/test_mcp_config.py:66
Function
running_under_debugger
()
tests/client/test_stdio.py:31
Function
sales_chart
Show monthly online vs. retail sales as a bar chart.
examples/apps/chart_server.py:19
Function
sales_dashboard
Company sales dashboard with KPIs, revenue trends, segment breakdown, and recent deals.
examples/apps/sales_dashboard/sales_dashboard_server.py:127
Function
same
()
tests/server/transforms/test_model_visibility_boundary.py:145
Function
same_v1
()
tests/client/test_versioned_call_tool_validation.py:26
Function
same_v2
()
tests/client/test_versioned_call_tool_validation.py:30
Function
sample_config
Create a sample fastmcp.json configuration file with nested structure.
tests/cli/test_run_config.py:20
Function
sample_func
(x: int)
tests/tools/tool_transform/test_metadata.py:32
Method
sample_message
(self)
tests/server/test_event_store.py:62
Method
sample_prompt
Generate prompt about topic.
tests/test_json_schema_generation.py:127
Method
sample_prompt
(self)
tests/contrib/test_mcp_mixin.py:160
Method
sample_prompt
(self)
tests/contrib/test_mcp_mixin.py:334
Method
sample_prompt
(self)
tests/contrib/test_mcp_mixin.py:368
Method
sample_prompt
()
tests/server/test_server.py:349
Method
sample_prompt
()
tests/server/providers/test_local_provider_prompts.py:227
Method
sample_prompt
()
tests/server/providers/test_local_provider_prompts.py:333
Function
sample_prompt_fn
()
tests/server/middleware/test_caching.py:67
Method
sample_resource
Return sample data.
tests/test_json_schema_generation.py:79
Method
sample_resource
(self)
tests/contrib/test_mcp_mixin.py:114
Method
sample_resource
(self)
tests/contrib/test_mcp_mixin.py:311
Method
sample_resource
(self)
tests/contrib/test_mcp_mixin.py:364
Method
sample_resource
A sample resource.
tests/server/test_server.py:309
Method
sample_resource
()
tests/server/providers/test_local_provider_resources.py:750
Function
sample_resource_fn
()
tests/server/middleware/test_caching.py:63
Method
sample_template
Return greeting for name.
tests/test_json_schema_generation.py:102
Method
sample_template
A sample resource template.
tests/server/test_server.py:329
Method
sample_template
(param: str)
tests/server/providers/test_local_provider_resources.py:965
Function
sample_tool
()
tests/test_mcp_config.py:1512
Function
sample_tool
Sample tool for testing transformations.
tests/tools/tool_transform/test_metadata.py:29
Function
sample_tool
()
tests/cli/test_fastmcp_remote.py:31
Method
sample_tool
Add two numbers.
tests/test_json_schema_generation.py:35
Method
sample_tool
(self)
tests/contrib/test_mcp_mixin.py:69
Method
sample_tool
(self)
tests/contrib/test_mcp_mixin.py:288
Method
sample_tool
(self)
tests/contrib/test_mcp_mixin.py:360
Method
sample_tool
A sample tool.
tests/server/test_server.py:289
Method
sample_tool
(x: int)
tests/server/providers/local_provider_tools/test_enabled.py:46
Method
sample_tool
(x: int)
tests/server/providers/local_provider_tools/test_decorator.py:202
Method
sample_tool
(x: int)
tests/server/providers/local_provider_tools/test_context.py:118
Function
sample_tool_fn
(arg1: int, arg2: str)
tests/test_mcp_config.py:1507
Function
sample_tool_no_title
Sample tool without title for testing.
tests/tools/tool_transform/test_metadata.py:44
Function
sample_tool_result
Create a sample tool result for testing.
tests/server/middleware/test_caching.py:240
Function
sample_with_image
(image_bytes: bytes, context: Context)
tests/client/test_sampling.py:83
Function
sample_with_messages
(message: str, context: Context)
tests/client/test_sampling.py:66
Function
sample_with_system_prompt
(message: str, context: Context)
tests/client/test_sampling.py:53
Function
sampling
( context: Context, )
tests/server/providers/proxy/test_proxy_client.py:125
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/providers/proxy/test_proxy_client.py:264
Function
sampling_result
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:131
Function
save
(name: str)
tests/cli/test_fastmcp_remote.py:306
Function
save
(value: HorizonConfiguration)
tests/cli/deploy/test_configuration.py:79
Function
save
(name: str)
tests/server/test_hashed_tool_dispatch.py:65
Function
save
(name: str)
tests/server/providers/test_prefab_roundtrip.py:183
Function
save
(name: str)
tests/server/providers/test_catalog_tool_names.py:37
Function
save
(name: str)
tests/server/auth/test_authorization.py:1680
Method
save
(name: str)
tests/test_fastmcp_app.py:48
Method
save
(name: str)
tests/test_fastmcp_app.py:331
Method
save
(name: str)
tests/test_fastmcp_app.py:441
← previous
next →
6,701–6,800 of 15,974, ranked by callers