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
Method
is_cimd_client_id
Check if client_id is a CIMD URL. Args: client_id: Client ID to check Returns: True if client_id is an HTTPS
fastmcp_slim/fastmcp/server/auth/cimd.py:715
Method
is_tool_use
True if the LLM is requesting tool execution.
fastmcp_slim/fastmcp/server/sampling/run.py:88
Function
isolate_settings_home
Ensure each test uses an isolated settings.home directory. This prevents file locking issues when multiple tests share the same storage direc
tests/conftest.py:60
Method
issuer
Create a JWT issuer for testing.
tests/server/auth/test_jwt_issuer.py:71
Method
item
(id: str)
tests/server/versioning/test_visibility_version_fallback.py:201
Method
item
(id: str)
tests/server/versioning/test_visibility_version_fallback.py:326
Function
json_data
Return JSON-like data.
tests/server/tasks/test_task_return_types.py:194
Method
json_format
(self)
tests/utilities/json_schema_type/test_formats.py:38
Method
json_resource
()
tests/resources/test_resources.py:366
Method
json_route
(self)
tests/utilities/openapi/test_director.py:1245
Method
jwks
Create JWKS from key pair.
tests/server/auth/test_cimd_validators.py:37
Method
jwks_provider
Provider configured with JWKS URI.
tests/server/auth/test_jwt_provider.py:493
Method
jwt_issuer
Get the JWT issuer, ensuring it has been initialized. The JWT issuer is created when set_mcp_path() is called (via get_routes()). Thi
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:686
Function
jwt_verifier
Create a mock JWT verifier for testing.
tests/server/auth/oauth_proxy/conftest.py:280
Method
jwt_verifier
Create JWTVerifier for testing.
tests/server/http/test_bearer_auth_backend.py:20
Method
jwt_verifier
Create a mock JWT verifier.
tests/server/auth/test_oauth_proxy_storage.py:25
Method
jwt_verifier
Create JWT verifier for testing.
tests/server/auth/test_enhanced_error_responses.py:196
Method
jwt_verifier
(self)
tests/server/auth/oauth_proxy/test_tokens.py:401
Method
jwt_verifier
(self)
tests/server/auth/oauth_proxy/test_tokens.py:709
Method
jwt_verifier
Create a mock JWT verifier.
tests/server/auth/oauth_proxy/test_tokens.py:1008
Function
keepalive_server
Create a server for testing ttl behavior.
tests/server/tasks/test_task_ttl.py:17
Method
key
The globally unique lookup key for this template.
fastmcp_slim/fastmcp/resources/template.py:343
Method
key
The globally unique lookup key for this component. Format: "{key_prefix}:{identifier}@{version}" or "{key_prefix}:{identifier}@" e.g.
fastmcp_slim/fastmcp/utilities/components.py:139
Method
key_pair
Generate RSA key pair for testing.
tests/server/auth/test_cimd_validators.py:30
Method
keycloak_provider
Create a KeycloakAuthProvider for testing.
tests/server/auth/providers/test_keycloak.py:97
Method
known_tool
A known tool.
tests/client/test_sampling_tool_loop.py:144
Method
large_tool
()
tests/server/middleware/test_response_limiting.py:43
Function
launch
Host page: GET /launch?tool=name&args={...}
fastmcp_slim/fastmcp/cli/apps_dev.py:1412
Method
leaf_data
()
tests/server/mount/test_advanced.py:286
Method
leaf_health
(request)
tests/server/mount/test_advanced.py:201
Method
leaf_item
(id: str)
tests/server/mount/test_advanced.py:311
Method
leaf_prompt
(name: str)
tests/server/mount/test_advanced.py:336
Method
legacy_lifespan
(server: FastMCP)
tests/server/test_server_lifespan.py:272
Method
lifecycle_tool
(ctx: Context)
tests/server/tasks/test_notifications.py:121
Function
lifespan
(app: Starlette)
fastmcp_slim/fastmcp/server/http.py:250
Function
lifespan
Decorator to create a composable lifespan. Use this decorator on an async generator function to make it composable with other lifespans using
fastmcp_slim/fastmcp/server/lifespan.py:172
Function
lifespan
Start echo server subprocess and mount proxy to it.
examples/diagnostics/server.py:20
Method
lifespan
(self)
fastmcp_slim/fastmcp/apps/generative.py:196
Method
lifespan
(self)
fastmcp_slim/fastmcp/apps/app.py:418
Method
lifespan
(self)
fastmcp_slim/fastmcp/server/http.py:76
Method
lifespan
Combine lifespan with inner provider.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:145
Method
lifespan
Start the mounted server's lifespan. Sets ``_lifespan_root_active=True`` to signal to the wrapped server's ``_docket_lifespan`` that
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:705
Method
lifespan
Combine lifespans of all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:323
Method
lifespan
Manage the lifecycle of the auto-created httpx client.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:184
Method
lifespan
(self)
tests/server/test_server_lifespan.py:593
Method
lifespan
(mcp: FastMCP)
tests/server/mount/test_proxy.py:286
Function
like
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/server.py:102
Function
like_post_by_uri
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:43
Method
limited_tool
()
tests/server/middleware/test_response_limiting.py:60
Function
list_all
(get_catalog: GetToolCatalog)
tests/experimental/transforms/test_code_mode.py:365
Function
list_contacts
Return all contacts. Visible to both the model and the UI.
examples/apps/contacts/contacts_server.py:97
Function
list_files
List files in a directory.
examples/search/server_bm25.py:65
Function
list_files
List files in a directory.
examples/code_mode/server.py:63
Method
list_files
List all uploaded files with metadata.
fastmcp_slim/fastmcp/apps/file_upload.py:298
Function
list_groups
Lists the names of all available Hue light groups.
examples/smart_home/src/smart_home/lights/server.py:118
Function
list_lights_by_group
Lists Hue lights, grouped by the room/group they belong to. Returns: dict[str, list[str]]: A dictionary mapping group names to a list of
examples/smart_home/src/smart_home/lights/server.py:285
Function
list_prompts
List prompts available on the server.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:57
Method
list_prompts
List all available prompts from the server. Returns: List of Prompt objects available on the server
fastmcp_slim/fastmcp/server/context.py:498
Method
list_prompts
Mark prompts by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:257
Method
list_prompts
List prompts with transformation applied. Args: prompts: Sequence of prompts to transform. Returns: Transfor
fastmcp_slim/fastmcp/server/transforms/__init__.py:195
Method
list_prompts
(self, prompts: Sequence[Prompt])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:138
Method
list_prompts
List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:96
Function
list_requests
List requests, optionally filtered by status.
examples/apps/approvals/approvals_server.py:201
Method
list_resource_templates
Mark resource templates by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:234
Method
list_resource_templates
( self, templates: Sequence[ResourceTemplate] )
fastmcp_slim/fastmcp/server/transforms/version_filter.py:116
Function
list_resources
List resources available on the server.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:102
Method
list_resources
List all available resources from the server. Returns: List of Resource objects available on the server
fastmcp_slim/fastmcp/server/context.py:482
Method
list_resources
List all available resources and resource templates. Returns JSON with resource metadata. Static resources have a 'uri' field
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:99
Method
list_resources
Mark resources by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:213
Method
list_resources
List resources with transformation applied. Args: resources: Sequence of resources to transform. Returns: Tr
fastmcp_slim/fastmcp/server/transforms/__init__.py:125
Method
list_resources
(self, resources: Sequence[Resource])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:96
Function
list_roots
(context: Context)
tests/client/test_roots.py:11
Function
list_roots
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:32
Function
list_scenes
Lists Hue scenes, grouped by the light group they belong to. Returns: dict[str, list[str]]: A dictionary mapping group names to a list of
examples/smart_home/src/smart_home/lights/server.py:131
Function
list_session_info
Get information about the current session.
examples/persistent_state/server.py:33
Function
list_test_dir
List the files in the test directory
tests/server/test_file_server.py:33
Function
list_tool
()
tests/conftest.py:219
Function
list_tool
()
tests/client/client/test_client.py:836
Method
list_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:276
Function
list_tools
List all available tools.
tests/experimental/transforms/test_code_mode.py:366
Method
list_tools
Add resource tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:78
Method
list_tools
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:80
Method
list_tools
Add prompt tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:75
Method
list_tools
List all available tools. Use to see the full catalog before searching or calling tools.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:471
Function
list_users
List all system users.
examples/namespace_activation/server.py:35
Function
literal_with_context
Tool using Literal with context.
tests/tools/test_tool_future_annotations.py:67
Function
live_server_with_tool
Fixture to create a FastMCP server instance with the echo_tool registered.
tests/contrib/test_bulk_tool_caller.py:71
Method
load_access_token
(self, token: str)
tests/server/test_auth_integration_errors.py:171
Method
load_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:151
Method
load_authorization_code
Load authorization code for validation. Look up our client code and return authorization code object with PKCE challenge for validati
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1004
Method
load_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration_errors.py:68
Method
load_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration.py:69
Function
load_config
(connection: Connection = Depends(get_connection))
tests/server/test_dependencies.py:393
Method
load_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:217
Method
load_refresh_token
Load refresh token metadata from distributed storage. Looks up by token hash and reconstructs the RefreshToken object. Validates that
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1361
Method
load_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
tests/server/test_auth_integration_errors.py:105
Function
load_sync
(connection: Connection = Depends(get_sync_connection))
tests/server/test_dependencies.py:516
Method
local_provider
The server's local provider, which stores directly-registered components. Use this to remove components: mcp.local_provider.remo
fastmcp_slim/fastmcp/server/server.py:468
Method
local_tool
()
tests/server/test_server.py:114
Function
log
(context: Context)
tests/client/test_logs.py:37
← previous
next →
3,301–3,400 of 10,312, ranked by callers