Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
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
Function
reuse_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1382
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_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_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. For all tokens, a
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2353
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:258
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:523
Method
roots_handler
(ctx)
tests/client/test_roots.py:61
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:186
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:571
Function
roots_prompt
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:538
Function
roots_proxy_server
(roots_backend_server: FastMCP)
tests/server/providers/proxy/test_proxy_client.py:546
Function
roots_resource
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:529
Function
roots_template
(key: str, context: Context)
tests/server/providers/proxy/test_proxy_client.py:533
Function
route
( tenant: Annotated[str, Field(json_schema_extra={"x-mcp-header": "Tenant"})], )
tests/server/providers/proxy/test_proxy_server.py:1539
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:410
Function
run
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:274
Function
run
(monkeypatch: pytest.MonkeyPatch)
tests/cli/test_install_cli_arguments.py:304
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:369
Method
run
Create a temporary FastMCP server and run this app standalone.
fastmcp_slim/fastmcp/apps/app.py:440
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:47
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:737
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:577
Method
run_application
()
fastmcp_slim/fastmcp/utilities/asgi_transport.py:188
Function
run_at
(i: int, aw: Awaitable[T])
fastmcp_slim/fastmcp/utilities/async_utils.py:89
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
Method
run_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
Function
running_under_debugger
()
tests/test_mcp_config.py:66
Function
running_under_debugger
()
tests/client/test_stdio.py:25
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
Method
sample
()
tests/server/middleware/test_caching.py:449
Function
sample_config
Create a sample fastmcp.json configuration file with nested structure.
tests/cli/test_run_config.py:19
Function
sample_func
(x: int)
tests/tools/tool_transform/test_metadata.py:32
Method
sample_message
(self)
tests/server/test_event_store.py:55
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
()
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
A sample resource.
tests/server/test_server.py:309
Method
sample_resource
()
tests/server/providers/test_local_provider_resources.py:749
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:907
Function
sample_tool
()
tests/test_mcp_config.py:1430
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:22
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
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
← previous
next →
5,601–5,700 of 13,374, ranked by callers