Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Function
return_image_path
()
tests/tasks/server/test_task_return_types.py:246
Function
return_int
()
tests/tasks/server/test_task_return_types.py:90
Function
return_list
()
tests/tasks/server/test_task_return_types.py:106
Function
return_mixed_content
()
tests/tasks/server/test_task_return_types.py:398
Function
return_model
()
tests/tasks/server/test_task_return_types.py:110
Function
return_none
()
tests/tasks/server/test_task_return_types.py:114
Function
return_optional
()
tests/tasks/server/test_task_return_types.py:319
Function
return_optional_none
()
tests/tasks/server/test_task_return_types.py:323
Function
return_path
()
tests/tasks/server/test_task_return_types.py:161
Function
return_resource_link
()
tests/tasks/server/test_task_return_types.py:392
Function
return_set
()
tests/tasks/server/test_task_return_types.py:199
Function
return_string
()
tests/tasks/server/test_task_return_types.py:86
Function
return_text_content
()
tests/tasks/server/test_task_return_types.py:373
Method
return_things
()
tests/tools/tool/test_content.py:330
Function
return_tuple
()
tests/tasks/server/test_task_return_types.py:195
Function
return_type_server
Server with tools that return various basic types.
tests/tasks/server/test_task_return_types.py:80
Function
return_typeddict
()
tests/tasks/server/test_task_return_types.py:303
Function
return_union
()
tests/tasks/server/test_task_return_types.py:311
Function
return_union_int
()
tests/tasks/server/test_task_return_types.py:315
Function
return_uuid
()
tests/tasks/server/test_task_return_types.py:157
Method
returning_constant_cursor
( *, cursor: str | None = None, cache_mode: str = "use",
tests/server/test_pagination.py:413
Method
returning_cycling_cursor
( *, cursor: str | None = None, cache_mode: str = "use",
tests/server/test_pagination.py:534
Method
returning_unique_cursor
( *, cursor: str | None = None, cache_mode: str = "use",
tests/server/test_pagination.py:568
Function
returns_image
Tool that returns an Image.
tests/tools/test_tool_future_annotations.py:45
Method
reuse
()
tests/client/test_stdio.py:491
Function
reuse_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1619
Method
reuse_on_new_loop
()
tests/client/test_stdio.py:496
Function
reveal
(ctx: Context)
tests/server/test_subscriptions.py:172
Method
reveal
(secret: SecretStr)
tests/server/test_input_validation.py:323
Function
reverse_string
Reverse a string.
examples/search/server_regex.py:51
Function
reverse_string
Reverse a string.
examples/search/server_bm25.py:47
Function
reverse_string
Reverse a string.
examples/code_mode/server.py:45
Function
review
Ask for a code review.
tests/downstream/server.py:197
Function
review
()
tests/skills/test_list_skill_resources.py:111
Function
review_file
(path: str)
tests/server/providers/proxy/test_skills.py:92
Method
review_guide
()
tests/server/middleware/test_caching.py:761
Method
review_guide
()
tests/server/providers/proxy/test_proxy_server.py:999
Method
review_guide
()
tests/prompts/test_prompt.py:812
Function
review_pull_request
Review a pull request.
examples/prompts_as_tools/server.py:53
Method
revocation_endpoint
(self)
tests/server/auth/oauth_proxy/conftest.py:62
Method
revoke_access
(self, data)
tests/pbt/test_oauth_proxy_machine.py:372
Method
revoke_refresh
(self, data)
tests/pbt/test_oauth_proxy_machine.py:354
Method
revoke_token
Revokes an access or refresh token and its counterpart.
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:360
Method
revoke_token
Revoke token locally and with upstream server if supported. For refresh tokens, removes from local storage by hash and ends the grant
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2634
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:262
Function
roots
(context: Any)
tests/server/providers/proxy/test_relayed_capabilities.py:154
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:797
Method
roots_handler
(ctx)
tests/client/test_roots.py:61
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:267
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:845
Function
roots_prompt
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:812
Function
roots_proxy_server
(roots_backend_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:820
Function
roots_resource
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:803
Function
roots_template
(key: str, context: Context)
tests/server/providers/proxy/test_proxy_client.py:807
Function
route
( tenant: Annotated[str, Field(json_schema_extra={"x-mcp-header": "Tenant"})], )
tests/server/providers/proxy/test_proxy_server.py:1610
Function
route
(self: EventsClientExtension, kind: str, frame: StreamFrame)
tests/experimental/events/test_push_lifecycle.py:251
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:396
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:69
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
← previous
next →
7,101–7,200 of 16,725, ranked by callers