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
log
( message: str, level: LoggingLevel, logger: str, context: Context )
tests/server/providers/proxy/test_stateful_proxy_client.py:34
Function
log
( message: str, level: LoggingLevel, logger: str, context: Context )
tests/server/providers/proxy/test_proxy_client.py:68
Function
log_callback
(params: LoggingMessageNotificationParams)
fastmcp_slim/fastmcp/client/logging.py:51
Function
log_handler
(message: LogMessage)
tests/test_mcp_config.py:625
Method
log_handler
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:246
Method
log_handler_a
(message: LogMessage)
tests/server/providers/proxy/test_stateful_proxy_client.py:89
Method
log_handler_a
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:288
Method
log_handler_b
(message: LogMessage)
tests/server/providers/proxy/test_stateful_proxy_client.py:92
Method
log_handler_b
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:291
Function
log_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:147
Function
log_tool
(context: Context)
tests/server/middleware/test_middleware.py:146
Method
log_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:200
Function
logging_server
Create a FastMCP server specifically for logging middleware tests.
tests/server/middleware/test_logging.py:402
Method
logging_server
Create a FastMCP server specifically for logging middleware tests.
tests/server/middleware/test_logging.py:442
Method
long_timeout
()
tests/tools/test_tool_timeout.py:160
Method
ls_a
(server: FastMCP)
tests/server/test_server_lifespan.py:194
Method
ls_a
(app: Any)
tests/server/test_server_lifespan.py:462
Method
ls_b
(server: FastMCP)
tests/server/test_server_lifespan.py:202
Method
ls_b
(app: Any)
tests/server/test_server_lifespan.py:470
Method
ls_c
(server: FastMCP)
tests/server/test_server_lifespan.py:210
Method
ls_c
(app: Any)
tests/server/test_server_lifespan.py:478
Function
main
(argv: Sequence[str] | None = None)
fastmcp_remote/fastmcp_remote/cli.py:251
Method
make_greeting
(greeting: str)
tests/utilities/test_async_utils.py:98
Function
make_middleware_wrapper
Create a wrapper that applies a single middleware to a context. The closure bakes in the middleware and call_next function, so it can be passe
fastmcp_slim/fastmcp/server/middleware/middleware.py:65
Method
make_prompt
(prefix: str)
tests/utilities/test_async_utils.py:113
Method
make_prompt
()
tests/server/test_pagination.py:148
Method
make_resource
()
tests/server/test_pagination.py:134
Method
make_tool
()
tests/server/test_pagination.py:118
Method
make_tool
()
tests/server/test_pagination.py:520
Method
manager
Create a CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:332
Method
manager
(self)
tests/server/auth/test_cimd_validators.py:512
Method
mapping_lifespan
Simulates a Starlette-style lifespan that yields a Mapping.
tests/server/test_server_lifespan.py:518
Method
math_tool
(context: Context)
tests/client/test_sampling_result_types.py:45
Method
max_items_array
(self)
tests/utilities/json_schema_type/test_containers.py:32
Method
max_length_string
(self)
tests/utilities/json_schema_type/test_constraints.py:25
Method
max_number
(self)
tests/utilities/json_schema_type/test_constraints.py:90
Function
mcp
Create a FastMCP server for testing.
tests/server/test_dependencies.py:39
Function
mcp
()
tests/server/test_file_server.py:24
Function
mcp
Create a FastMCP server for testing.
tests/server/test_dependencies_advanced.py:29
Method
mcp
Create a FastMCP server with test tools, resources, and prompts.
tests/contrib/test_component_manager.py:14
Function
mcp_content_server
Server with tools returning MCP content blocks.
tests/server/tasks/test_task_return_types.py:557
Function
mcp_json_command
Generate MCP configuration JSON for manual installation. Args: server_spec: Python file to install, optionally with :object suffix
fastmcp_slim/fastmcp/cli/install/mcp_json.py:98
Function
mcp_prompt
Decorator to mark a method as an MCP prompt for later registration. Accepts all parameters supported by ``Prompt.from_function``. Any new pa
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:141
Function
mcp_resource
Decorator to mark a method as an MCP resource for later registration. Accepts all parameters supported by ``Resource.from_function``. Any new
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:95
Function
mcp_server
()
tests/server/test_logging.py:17
Function
mcp_server
(recording_middleware)
tests/server/middleware/test_middleware_nested.py:123
Function
mcp_server
(recording_middleware)
tests/server/middleware/test_middleware.py:122
Method
mcp_server
(self)
tests/tools/tool_transform/test_tool_transform.py:663
Method
mcp_server
Create a basic MCP server for testing.
tests/server/middleware/test_response_limiting.py:21
Function
mcp_server_url
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider_bearer.py:58
Function
mcp_server_url
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider.py:136
Function
mcp_server_url
Start Descope server.
tests/server/auth/providers/test_descope.py:197
Function
mcp_server_url
()
tests/server/auth/providers/test_supabase.py:179
Function
mcp_server_url
Start MCP server with PropelAuth authentication.
tests/server/auth/providers/test_propelauth.py:251
Function
mcp_server_url
Start Scalekit server.
tests/server/auth/providers/test_scalekit.py:127
Function
mcp_server_url
Start AuthKit server.
tests/server/auth/providers/test_workos.py:206
Function
mcp_tool
Decorator to mark a method as an MCP tool for later registration. Accepts all parameters supported by ``Tool.from_function``. Any new parame
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:46
Method
mcp_with_path
(self)
tests/contrib/test_component_manager.py:409
Function
media_server
Server with tools returning media types.
tests/server/tasks/test_task_return_types.py:365
Function
medium_task
A task that takes 0.02 seconds.
tests/server/middleware/test_timing.py:156
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_clerk.py:19
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_google.py:19
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_discord.py:12
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_azure.py:23
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_github.py:15
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_workos.py:22
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_azure_scopes.py:25
Method
memory_storage
Create in-memory storage for testing.
tests/server/auth/test_oauth_proxy_storage.py:41
Method
message
Current progress message.
fastmcp_slim/fastmcp/server/dependencies.py:1127
Method
message
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1177
Method
message
Current progress message.
fastmcp_slim/fastmcp/server/dependencies.py:1253
Function
metadata_server
Create a server for testing metadata.
tests/server/tasks/test_task_metadata.py:15
Method
middle_data
()
tests/server/mount/test_advanced.py:290
Method
middle_health
(request)
tests/server/mount/test_advanced.py:207
Method
middle_item
(id: str)
tests/server/mount/test_advanced.py:315
Method
middle_prompt
(name: str)
tests/server/mount/test_advanced.py:340
Method
middleware_test_tool
()
tests/server/tasks/test_task_meta_parameter.py:167
Method
min_items_array
(self)
tests/utilities/json_schema_type/test_containers.py:26
Method
min_length_string
(self)
tests/utilities/json_schema_type/test_constraints.py:21
Method
min_number
(self)
tests/utilities/json_schema_type/test_constraints.py:82
Function
mixed_audio_list_fn
(audio_path: str)
tests/conftest.py:263
Function
mixed_content_tool
()
tests/conftest.py:239
Function
mixed_deps
( value: int, ctx: Context, multiplier: int = Depends(get_multiplier) )
tests/server/test_dependencies.py:238
Function
mixed_file_list_fn
(file_path: str)
tests/conftest.py:272
Method
mixed_formats_object
(self)
tests/utilities/json_schema_type/test_formats.py:42
Function
mixed_list_fn
(image_path: str)
tests/conftest.py:254
Method
mixed_output
()
tests/server/providers/local_provider_tools/test_output_schema.py:254
Method
mixed_prompt
(message: str, count: int)
tests/prompts/test_prompt.py:303
Function
mixed_tool
()
tests/client/tasks/test_task_result_caching.py:231
Function
mock_authorize
(client, params)
tests/integration_tests/auth/test_github_provider_integration.py:86
Function
mock_call_next
Create a mock call_next function.
tests/server/middleware/test_error_handling.py:28
Function
mock_call_next
Create a mock call_next function.
tests/server/middleware/test_timing.py:25
Function
mock_call_next
Create a mock call_next function.
tests/server/middleware/test_caching.py:220
Function
mock_call_next
Create a mock call_next function.
tests/server/middleware/test_logging.py:83
Function
mock_call_next
Create a mock call_next function.
tests/server/middleware/test_rate_limiting.py:30
Function
mock_context
Create a mock middleware context.
tests/server/middleware/test_error_handling.py:20
Function
mock_context
Create a mock middleware context.
tests/server/middleware/test_timing.py:17
Function
mock_context
Create a mock middleware context for tool calls.
tests/server/middleware/test_caching.py:209
Function
mock_context
Create a mock middleware context.
tests/server/middleware/test_logging.py:68
Function
mock_context
Create a mock middleware context.
tests/server/middleware/test_rate_limiting.py:22
← previous
next →
3,401–3,500 of 10,312, ranked by callers