MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Functionreuse_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:851
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_pull_request
Review a pull request.
examples/prompts_as_tools/server.py:53
Functionreview_python
(code: str)
tests/deprecated/test_import_server.py:196
Methodrevocation_endpoint
(self)
tests/server/auth/oauth_proxy/conftest.py:60
Methodrevoke_token
Revokes an access or refresh token and its counterpart.
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:357
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:1939
Methodrevoke_token
(self, token: AccessToken | RefreshToken)
tests/server/test_auth_integration_errors.py:181
Methodrevoke_token
(self, token: AccessToken | RefreshToken)
tests/server/test_auth_integration.py:186
Functionroll_dice
Roll a die with the specified number of sides.
examples/sampling/tool_use.py:60
Methodroots_handler
(ctx: RequestContext)
tests/server/providers/proxy/test_proxy_client.py:118
Methodroute1
(request)
tests/server/mount/test_advanced.py:136
Methodroute2
(request)
tests/server/mount/test_advanced.py:142
Functionrsa_key_pair
()
tests/server/auth/test_jwt_provider_bearer.py:17
Functionrsa_key_pair
()
tests/server/auth/test_jwt_provider.py:78
Methodrsa_key_pair
Generate RSA key pair for testing.
tests/server/http/test_http_auth_middleware.py:15
Methodrsa_key_pair
Generate RSA key pair for testing.
tests/server/http/test_bearer_auth_backend.py:15
Methodrsa_key_pair
Generate RSA key pair for testing.
tests/server/auth/test_enhanced_error_responses.py:25
Methodrsa_key_pair
Generate RSA key pair for testing.
tests/server/auth/test_enhanced_error_responses.py:191
Methodrsa_key_pair
(self)
tests/server/auth/providers/test_http_client.py:128
Functionrun
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:235
Methodrun
Run the tool with arguments.
fastmcp_slim/fastmcp/tools/function_tool.py:286
Methodrun
Create a temporary FastMCP server and run this app standalone.
fastmcp_slim/fastmcp/apps/app.py:426
Methodrun
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
Methodrun
Executes the tool by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:167
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:736
Methodrun
(self, arguments: dict[str, Any])
tests/server/tasks/test_custom_subclass_tasks.py:26
Methodrun
(self, arguments: dict[str, Any])
tests/server/tasks/test_custom_subclass_tasks.py:39
Methodrun
(self, arguments: dict[str, Any])
tests/server/tasks/test_custom_subclass_tasks.py:50
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
Functionrun_at
(i: int, aw: Awaitable[T])
fastmcp_slim/fastmcp/utilities/async_utils.py:69
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:54
Functionrunning_under_debugger
()
tests/client/test_stdio.py:14
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:117
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:46
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:381
Methodsample_prompt
()
tests/server/providers/test_local_provider_prompts.py:224
Methodsample_prompt
()
tests/server/providers/test_local_provider_prompts.py:330
Functionsample_prompt_fn
()
tests/server/middleware/test_caching.py:58
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:341
Methodsample_resource
()
tests/server/providers/test_local_provider_resources.py:740
Functionsample_resource_fn
()
tests/server/middleware/test_caching.py:54
Methodsample_template
Return greeting for name.
tests/test_json_schema_generation.py:102
Methodsample_template
A sample resource template.
tests/server/test_server.py:361
Methodsample_template
(param: str)
tests/server/providers/test_local_provider_resources.py:898
Functionsample_tool
()
tests/test_mcp_config.py:1215
Functionsample_tool
Sample tool for testing transformations.
tests/tools/tool_transform/test_metadata.py:29
Functionsample_tool
()
tests/client/tasks/test_task_result_caching.py:98
Functionsample_tool
()
tests/cli/test_fastmcp_remote.py:12
Functionsample_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:151
Functionsample_tool
(context: Context)
tests/server/middleware/test_middleware.py:150
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:321
Methodsample_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:204
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
Functionsample_tool_fn
(arg1: int, arg2: str)
tests/test_mcp_config.py:1210
Functionsample_tool_no_title
Sample tool without title for testing.
tests/tools/tool_transform/test_metadata.py:44
Functionsample_tool_result
Create a sample tool result for testing.
tests/server/middleware/test_caching.py:231
Functionsample_with_fallback
(context: Context)
tests/client/test_sampling.py:128
Functionsample_with_image
(image_bytes: bytes, context: Context)
tests/client/test_sampling.py:51
Functionsample_with_messages
(message: str, context: Context)
tests/client/test_sampling.py:34
Functionsample_with_system_prompt
(message: str, context: Context)
tests/client/test_sampling.py:27
Methodsample_with_tool
(context: Context)
tests/client/test_sampling.py:251
Functionsampling
( context: Context, )
tests/server/providers/proxy/test_proxy_client.py:37
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling_result_types.py:22
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling_result_types.py:267
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling_tool_loop.py:26
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/telemetry/test_sampling_tracing.py:32
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/telemetry/test_sampling_tracing.py:105
Methodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestCon
tests/server/providers/proxy/test_proxy_client.py:142
Methodsampling_handler
(messages, params, ctx)
tests/server/tasks/test_context_background_task.py:300
Methodsave
(name: str)
tests/test_fastmcp_app.py:47
Methodsave
(name: str)
tests/test_fastmcp_app.py:330
Methodsave
(name: str)
tests/test_fastmcp_app.py:440
Methodsave
(name: str)
tests/test_fastmcp_app.py:467
Methodsave
(name: str)
tests/test_fastmcp_app.py:637
Methodsave
(name: str)
tests/test_fastmcp_app.py:743
Methodsave
(name: str)
tests/test_fastmcp_app.py:825
Methodsave
(name: str)
tests/server/providers/test_prefab_roundtrip.py:87
Methodsave
(name: str)
tests/server/providers/test_prefab_roundtrip.py:115
Methodsave
(name: str)
tests/server/providers/test_prefab_roundtrip.py:150
← previousnext →4,101–4,200 of 10,312, ranked by callers