MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Methodis_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
Methodis_tool_use
True if the LLM is requesting tool execution.
fastmcp_slim/fastmcp/server/sampling/run.py:88
Functionisolate_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
Methodissuer
Create a JWT issuer for testing.
tests/server/auth/test_jwt_issuer.py:71
Methoditem
(id: str)
tests/server/versioning/test_visibility_version_fallback.py:201
Methoditem
(id: str)
tests/server/versioning/test_visibility_version_fallback.py:326
Functionjson_data
Return JSON-like data.
tests/server/tasks/test_task_return_types.py:194
Methodjson_format
(self)
tests/utilities/json_schema_type/test_formats.py:38
Methodjson_resource
()
tests/resources/test_resources.py:366
Methodjson_route
(self)
tests/utilities/openapi/test_director.py:1245
Methodjwks
Create JWKS from key pair.
tests/server/auth/test_cimd_validators.py:37
Methodjwks_provider
Provider configured with JWKS URI.
tests/server/auth/test_jwt_provider.py:493
Methodjwt_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
Functionjwt_verifier
Create a mock JWT verifier for testing.
tests/server/auth/oauth_proxy/conftest.py:280
Methodjwt_verifier
Create JWTVerifier for testing.
tests/server/http/test_bearer_auth_backend.py:20
Methodjwt_verifier
Create a mock JWT verifier.
tests/server/auth/test_oauth_proxy_storage.py:25
Methodjwt_verifier
Create JWT verifier for testing.
tests/server/auth/test_enhanced_error_responses.py:196
Methodjwt_verifier
(self)
tests/server/auth/oauth_proxy/test_tokens.py:401
Methodjwt_verifier
(self)
tests/server/auth/oauth_proxy/test_tokens.py:709
Methodjwt_verifier
Create a mock JWT verifier.
tests/server/auth/oauth_proxy/test_tokens.py:1008
Functionkeepalive_server
Create a server for testing ttl behavior.
tests/server/tasks/test_task_ttl.py:17
Methodkey
The globally unique lookup key for this template.
fastmcp_slim/fastmcp/resources/template.py:343
Methodkey
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
Methodkey_pair
Generate RSA key pair for testing.
tests/server/auth/test_cimd_validators.py:30
Methodkeycloak_provider
Create a KeycloakAuthProvider for testing.
tests/server/auth/providers/test_keycloak.py:97
Methodknown_tool
A known tool.
tests/client/test_sampling_tool_loop.py:144
Methodlarge_tool
()
tests/server/middleware/test_response_limiting.py:43
Functionlaunch
Host page: GET /launch?tool=name&args={...}
fastmcp_slim/fastmcp/cli/apps_dev.py:1412
Methodleaf_data
()
tests/server/mount/test_advanced.py:286
Methodleaf_health
(request)
tests/server/mount/test_advanced.py:201
Methodleaf_item
(id: str)
tests/server/mount/test_advanced.py:311
Methodleaf_prompt
(name: str)
tests/server/mount/test_advanced.py:336
Methodlegacy_lifespan
(server: FastMCP)
tests/server/test_server_lifespan.py:272
Methodlifecycle_tool
(ctx: Context)
tests/server/tasks/test_notifications.py:121
Functionlifespan
(app: Starlette)
fastmcp_slim/fastmcp/server/http.py:250
Functionlifespan
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
Functionlifespan
Start echo server subprocess and mount proxy to it.
examples/diagnostics/server.py:20
Methodlifespan
(self)
fastmcp_slim/fastmcp/apps/generative.py:196
Methodlifespan
(self)
fastmcp_slim/fastmcp/apps/app.py:418
Methodlifespan
(self)
fastmcp_slim/fastmcp/server/http.py:76
Methodlifespan
Combine lifespan with inner provider.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:145
Methodlifespan
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
Methodlifespan
Combine lifespans of all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:323
Methodlifespan
Manage the lifecycle of the auto-created httpx client.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:184
Methodlifespan
(self)
tests/server/test_server_lifespan.py:593
Methodlifespan
(mcp: FastMCP)
tests/server/mount/test_proxy.py:286
Functionlike
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/server.py:102
Functionlike_post_by_uri
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:43
Methodlimited_tool
()
tests/server/middleware/test_response_limiting.py:60
Functionlist_all
(get_catalog: GetToolCatalog)
tests/experimental/transforms/test_code_mode.py:365
Functionlist_contacts
Return all contacts. Visible to both the model and the UI.
examples/apps/contacts/contacts_server.py:97
Functionlist_files
List files in a directory.
examples/search/server_bm25.py:65
Functionlist_files
List files in a directory.
examples/code_mode/server.py:63
Methodlist_files
List all uploaded files with metadata.
fastmcp_slim/fastmcp/apps/file_upload.py:298
Functionlist_groups
Lists the names of all available Hue light groups.
examples/smart_home/src/smart_home/lights/server.py:118
Functionlist_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
Functionlist_prompts
List prompts available on the server.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:57
Methodlist_prompts
List all available prompts from the server. Returns: List of Prompt objects available on the server
fastmcp_slim/fastmcp/server/context.py:498
Methodlist_prompts
Mark prompts by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:257
Methodlist_prompts
List prompts with transformation applied. Args: prompts: Sequence of prompts to transform. Returns: Transfor
fastmcp_slim/fastmcp/server/transforms/__init__.py:195
Methodlist_prompts
(self, prompts: Sequence[Prompt])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:138
Methodlist_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
Functionlist_requests
List requests, optionally filtered by status.
examples/apps/approvals/approvals_server.py:201
Methodlist_resource_templates
Mark resource templates by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:234
Methodlist_resource_templates
( self, templates: Sequence[ResourceTemplate] )
fastmcp_slim/fastmcp/server/transforms/version_filter.py:116
Functionlist_resources
List resources available on the server.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:102
Methodlist_resources
List all available resources from the server. Returns: List of Resource objects available on the server
fastmcp_slim/fastmcp/server/context.py:482
Methodlist_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
Methodlist_resources
Mark resources by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:213
Methodlist_resources
List resources with transformation applied. Args: resources: Sequence of resources to transform. Returns: Tr
fastmcp_slim/fastmcp/server/transforms/__init__.py:125
Methodlist_resources
(self, resources: Sequence[Resource])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:96
Functionlist_roots
(context: Context)
tests/client/test_roots.py:11
Functionlist_roots
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:32
Functionlist_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
Functionlist_session_info
Get information about the current session.
examples/persistent_state/server.py:33
Functionlist_test_dir
List the files in the test directory
tests/server/test_file_server.py:33
Functionlist_tool
()
tests/conftest.py:219
Functionlist_tool
()
tests/client/client/test_client.py:836
Methodlist_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:276
Functionlist_tools
List all available tools.
tests/experimental/transforms/test_code_mode.py:366
Methodlist_tools
Add resource tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:78
Methodlist_tools
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:80
Methodlist_tools
Add prompt tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:75
Methodlist_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
Functionlist_users
List all system users.
examples/namespace_activation/server.py:35
Functionliteral_with_context
Tool using Literal with context.
tests/tools/test_tool_future_annotations.py:67
Functionlive_server_with_tool
Fixture to create a FastMCP server instance with the echo_tool registered.
tests/contrib/test_bulk_tool_caller.py:71
Methodload_access_token
(self, token: str)
tests/server/test_auth_integration_errors.py:171
Methodload_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:151
Methodload_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
Methodload_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration_errors.py:68
Methodload_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration.py:69
Functionload_config
(connection: Connection = Depends(get_connection))
tests/server/test_dependencies.py:393
Methodload_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:217
Methodload_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
Methodload_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
tests/server/test_auth_integration_errors.py:105
Functionload_sync
(connection: Connection = Depends(get_sync_connection))
tests/server/test_dependencies.py:516
Methodlocal_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
Methodlocal_tool
()
tests/server/test_server.py:114
Functionlog
(context: Context)
tests/client/test_logs.py:37
← previousnext →3,301–3,400 of 10,312, ranked by callers