Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,312 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,312
◇
Types & classes
1,519
↳
Endpoints
103
Function
reuse_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:851
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_pull_request
Review a pull request.
examples/prompts_as_tools/server.py:53
Function
review_python
(code: str)
tests/deprecated/test_import_server.py:196
Method
revocation_endpoint
(self)
tests/server/auth/oauth_proxy/conftest.py:60
Method
revoke_token
Revokes an access or refresh token and its counterpart.
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:357
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:1939
Method
revoke_token
(self, token: AccessToken | RefreshToken)
tests/server/test_auth_integration_errors.py:181
Method
revoke_token
(self, token: AccessToken | RefreshToken)
tests/server/test_auth_integration.py:186
Function
roll_dice
Roll a die with the specified number of sides.
examples/sampling/tool_use.py:60
Method
roots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:118
Method
route1
(request)
tests/server/mount/test_advanced.py:136
Method
route2
(request)
tests/server/mount/test_advanced.py:142
Function
rsa_key_pair
()
tests/server/auth/test_jwt_provider_bearer.py:17
Function
rsa_key_pair
()
tests/server/auth/test_jwt_provider.py:78
Method
rsa_key_pair
Generate RSA key pair for testing.
tests/server/http/test_http_auth_middleware.py:15
Method
rsa_key_pair
Generate RSA key pair for testing.
tests/server/http/test_bearer_auth_backend.py:15
Method
rsa_key_pair
Generate RSA key pair for testing.
tests/server/auth/test_enhanced_error_responses.py:25
Method
rsa_key_pair
Generate RSA key pair for testing.
tests/server/auth/test_enhanced_error_responses.py:191
Method
rsa_key_pair
(self)
tests/server/auth/providers/test_http_client.py:128
Function
run
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:235
Method
run
Run the tool with arguments.
fastmcp_slim/fastmcp/tools/function_tool.py:286
Method
run
Create a temporary FastMCP server and run this app standalone.
fastmcp_slim/fastmcp/apps/app.py:426
Method
run
Delegate to child server's call_tool() without task_meta. This is called when the tool is used within a TransformedTool forwarding fu
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:124
Method
run
Executes the tool by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:167
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:736
Method
run
(self, arguments: dict[str, Any])
tests/server/tasks/test_custom_subclass_tasks.py:26
Method
run
(self, arguments: dict[str, Any])
tests/server/tasks/test_custom_subclass_tasks.py:39
Method
run
(self, arguments: dict[str, Any])
tests/server/tasks/test_custom_subclass_tasks.py:50
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
Function
run_at
(i: int, aw: Awaitable[T])
fastmcp_slim/fastmcp/utilities/async_utils.py:69
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:54
Function
running_under_debugger
()
tests/client/test_stdio.py:14
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:117
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:46
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:381
Method
sample_prompt
()
tests/server/providers/test_local_provider_prompts.py:224
Method
sample_prompt
()
tests/server/providers/test_local_provider_prompts.py:330
Function
sample_prompt_fn
()
tests/server/middleware/test_caching.py:58
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:341
Method
sample_resource
()
tests/server/providers/test_local_provider_resources.py:740
Function
sample_resource_fn
()
tests/server/middleware/test_caching.py:54
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:361
Method
sample_template
(param: str)
tests/server/providers/test_local_provider_resources.py:898
Function
sample_tool
()
tests/test_mcp_config.py:1215
Function
sample_tool
Sample tool for testing transformations.
tests/tools/tool_transform/test_metadata.py:29
Function
sample_tool
()
tests/client/tasks/test_task_result_caching.py:98
Function
sample_tool
()
tests/cli/test_fastmcp_remote.py:12
Function
sample_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:151
Function
sample_tool
(context: Context)
tests/server/middleware/test_middleware.py:150
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:321
Method
sample_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:204
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:1210
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:231
Function
sample_with_fallback
(context: Context)
tests/client/test_sampling.py:128
Function
sample_with_image
(image_bytes: bytes, context: Context)
tests/client/test_sampling.py:51
Function
sample_with_messages
(message: str, context: Context)
tests/client/test_sampling.py:34
Function
sample_with_system_prompt
(message: str, context: Context)
tests/client/test_sampling.py:27
Method
sample_with_tool
(context: Context)
tests/client/test_sampling.py:251
Function
sampling
( context: Context, )
tests/server/providers/proxy/test_proxy_client.py:37
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling_result_types.py:22
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling_result_types.py:267
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling_tool_loop.py:26
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/telemetry/test_sampling_tracing.py:32
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/telemetry/test_sampling_tracing.py:105
Method
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/providers/proxy/test_proxy_client.py:142
Method
sampling_handler
(messages, params, ctx)
tests/server/tasks/test_context_background_task.py:300
Method
save
(name: str)
tests/test_fastmcp_app.py:47
Method
save
(name: str)
tests/test_fastmcp_app.py:330
Method
save
(name: str)
tests/test_fastmcp_app.py:440
Method
save
(name: str)
tests/test_fastmcp_app.py:467
Method
save
(name: str)
tests/test_fastmcp_app.py:637
Method
save
(name: str)
tests/test_fastmcp_app.py:743
Method
save
(name: str)
tests/test_fastmcp_app.py:825
Method
save
(name: str)
tests/server/providers/test_prefab_roundtrip.py:87
Method
save
(name: str)
tests/server/providers/test_prefab_roundtrip.py:115
Method
save
(name: str)
tests/server/providers/test_prefab_roundtrip.py:150
← previous
next →
4,101–4,200 of 10,312, ranked by callers