Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,224 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,224
◇
Types & classes
2,249
↳
Endpoints
189
Method
make_client
()
tests/client/client/test_kv_response_cache.py:238
Method
make_greeting
(greeting: str)
tests/utilities/test_async_utils.py:268
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:113
Method
make_prompt
(prefix: str)
tests/utilities/test_async_utils.py:283
Method
make_prompt
()
tests/server/test_pagination.py:297
Method
make_provider
(issuer)
tests/client/auth/test_client_credentials.py:314
Method
make_provider
()
tests/client/auth/test_client_credentials.py:474
Method
make_provider
()
tests/client/auth/test_client_credentials.py:843
Method
make_resource
()
tests/server/test_pagination.py:283
Function
make_skill
()
tests/skills/test_client_cache.py:14
Function
make_task_context
Build and enter a worker ``Context`` for the current background task. Installed as core's background-context factory by ``TasksExtension`` so a
fastmcp_tasks/fastmcp_tasks/context.py:584
Method
make_tool
()
tests/server/test_pagination.py:243
Method
make_tool
()
tests/server/test_pagination.py:656
Method
manager
Create a CIMDClientManager for testing.
tests/server/auth/test_cimd_validators.py:473
Method
manager
(self)
tests/server/auth/test_cimd_validators.py:653
Function
manifest
()
tests/skills/test_list_skill_resources.py:148
Method
manifest
A copy of the skill's frontmatter and file digests; changing it does not change the skill.
fastmcp_slim/fastmcp/skills/skill.py:389
Method
mapping_lifespan
Simulates a Starlette-style lifespan that yields a Mapping.
tests/server/test_server_lifespan.py:524
Function
marker
()
tests/server/test_extension_runtime.py:45
Function
marker
()
tests/server/test_provider_extensions.py:620
Method
max_items_array
(self)
tests/utilities/json_schema_type/test_containers.py:36
Method
max_length_string
(self)
tests/utilities/json_schema_type/test_constraints.py:26
Method
max_number
(self)
tests/utilities/json_schema_type/test_constraints.py:91
Function
maybe
Return repr of an optional int.
tests/cli/test_client_commands.py:808
Method
maybe
(session: UserSession | None = None)
tests/server/test_session_provider.py:184
Method
maybe_item
()
tests/client/test_result_hydration.py:244
Function
maybe_value
()
tests/server/providers/local_provider_tools/test_output_schema.py:360
Function
mcp
Create a FastMCP server for testing.
tests/server/test_dependencies.py:40
Function
mcp
Create a FastMCP server for testing.
tests/server/test_call_arguments.py:12
Function
mcp
()
tests/server/test_file_server.py:25
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:22
Function
mcp_content_server
Server with tools returning MCP content blocks.
tests/tasks/server/test_task_return_types.py:354
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:100
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:130
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:84
Function
mcp_server
()
tests/server/test_logging.py:17
Function
mcp_server
(recording_middleware)
tests/server/middleware/test_middleware_nested.py:125
Function
mcp_server
(recording_middleware)
tests/server/middleware/test_middleware.py:123
Method
mcp_server
(self)
tests/tools/tool_transform/test_tool_transform.py:871
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:54
Function
mcp_server_url
(rsa_key_pair: RSAKeyPair)
tests/server/auth/test_jwt_provider.py:184
Function
mcp_server_url
Start Descope server.
tests/server/auth/providers/test_descope.py:565
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:252
Function
mcp_server_url
Start Scalekit server.
tests/server/auth/providers/test_scalekit.py:188
Function
mcp_server_url
Start AuthKit server.
tests/server/auth/providers/test_workos.py:210
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:44
Method
mcp_url
(self)
tests/cli/test_apps_dev_server.py:741
Method
mcp_with_path
(self)
tests/contrib/test_component_manager.py:469
Function
media_server
Server with tools returning media types.
tests/tasks/server/test_task_return_types.py:231
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:29
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_huggingface.py:21
Function
memory_storage
Provide a MemoryStore for tests to avoid SQLite initialization on Windows.
tests/server/auth/providers/test_azure.py:24
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:26
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:45
Method
message
Current progress message.
fastmcp_slim/fastmcp/server/dependencies.py:1225
Method
message
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1275
Method
message
Current progress message.
fastmcp_slim/fastmcp/server/dependencies.py:1351
Method
message_handler
(message: Any)
tests/server/providers/proxy/test_proxy_client.py:516
Method
metadata
(self)
fastmcp_slim/fastmcp/skills/models.py:107
Method
metadata_prompt
()
tests/server/middleware/test_caching.py:489
Method
metadata_resource
()
tests/server/middleware/test_caching.py:485
Method
methods
(self)
fastmcp_slim/fastmcp/skills/extension.py:123
Method
methods
(self)
tests/server/test_extensions.py:110
Method
methods
(self)
tests/server/test_extensions.py:144
Method
methods
(self)
tests/server/test_provider_extensions.py:434
Method
methods
(self)
tests/server/test_provider_extensions.py:465
Method
methods
(self)
fastmcp_tasks/fastmcp_tasks/extension.py:158
Method
middle_data
()
tests/server/mount/test_advanced.py:292
Method
middle_health
(request)
tests/server/mount/test_advanced.py:209
Method
middle_item
(id: str)
tests/server/mount/test_advanced.py:317
Method
middle_prompt
(name: str)
tests/server/mount/test_advanced.py:342
Method
min_items_array
(self)
tests/utilities/json_schema_type/test_containers.py:30
Method
min_length_string
(self)
tests/utilities/json_schema_type/test_constraints.py:22
Method
min_number
(self)
tests/utilities/json_schema_type/test_constraints.py:83
Method
missing_scopes
Return the required scopes the token lacks (empty if satisfied). An absent token yields an empty set: a missing token is an authentic
fastmcp_slim/fastmcp/utilities/authorization.py:60
Method
missing_scopes
(self, ctx: AuthContext)
fastmcp_slim/fastmcp/utilities/authorization.py:81
Function
mixed_audio_list_fn
(audio_path: str)
tests/conftest.py:353
Function
mixed_content
()
tests/downstream/smoke_pydantic_ai.py:142
Function
mixed_content
()
tests/downstream/smoke_openai_agents.py:131
Function
mixed_content
()
tests/downstream/smoke_langchain_mcp.py:176
Function
mixed_content
()
tests/downstream/smoke_agent_framework.py:115
Function
mixed_content
()
tests/downstream/smoke_langchain_mcp_adapters.py:135
Function
mixed_content
()
tests/downstream/smoke_agno.py:135
Function
mixed_content_tool
()
tests/conftest.py:327
Function
mixed_deps
( value: int, ctx: Context, multiplier: int = Depends(get_multiplier) )
tests/server/test_dependencies.py:239
Function
mixed_file_list_fn
(file_path: str)
tests/conftest.py:362
Method
mixed_formats_object
(self)
tests/utilities/json_schema_type/test_formats.py:63
Function
mixed_list_fn
(image_path: str)
tests/conftest.py:344
Method
mixed_output
()
tests/server/providers/local_provider_tools/test_output_schema.py:253
Method
mixed_prompt
(message: str, count: int)
tests/prompts/test_prompt.py:354
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:31
← previous
next →
5,901–6,000 of 16,224, ranked by callers