MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

↓ 1 callersMethodfrom_function
( fn: Callable[..., Any], uri_template: str, name: str | None = None, version:
fastmcp_slim/fastmcp/resources/template.py:186
↓ 1 callersMethodfrom_function
Create a Prompt from a function. Args: fn: The function to wrap metadata: PromptMeta object with all configuration. I
fastmcp_slim/fastmcp/prompts/function_prompt.py:83
↓ 1 callersMethodfrom_json
Deserialize from JSON stored in Redis.
fastmcp_slim/fastmcp/server/tasks/context.py:151
↓ 1 callersMethodfrom_mcp_prompt
Factory method to create a ProxyPrompt from a raw MCP prompt schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:492
↓ 1 callersMethodfrom_mcp_resource
Factory method to create a ProxyResource from a raw MCP resource schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:270
↓ 1 callersMethodfrom_mcp_template
Factory method to create a ProxyTemplate from a raw MCP template schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:369
↓ 1 callersMethodfrom_tool
Create a transformed tool from a parent tool. Args: tool: The parent tool to transform. transform_fn: Optional custom
fastmcp_slim/fastmcp/tools/tool_transform.py:371
↓ 1 callersFunctiongenerate_example_from_schema
Generate a simple example value from a JSON schema dictionary. Very basic implementation focusing on types.
fastmcp_slim/fastmcp/utilities/openapi/formatters.py:100
↓ 1 callersMethodgenerate_inner
Override to prevent ref generation for enums and handle list schemas.
fastmcp_slim/fastmcp/server/elicitation.py:44
↓ 1 callersMethodgenerate_name
(cls, name: str | None = None)
fastmcp_slim/fastmcp/client/client.py:906
↓ 1 callersMethodget
(self, url: str)
tests/server/auth/providers/test_propelauth.py:314
↓ 1 callersFunctionget_catch_handlers
()
fastmcp_slim/fastmcp/utilities/exceptions.py:42
↓ 1 callersFunctionget_claude_config_path
Get the Claude config directory based on platform. Args: config_path: Optional custom path to the Claude Desktop config directory
fastmcp_slim/fastmcp/cli/install/claude_desktop.py:20
↓ 1 callersMethodget_client_info
(self)
fastmcp_slim/fastmcp/client/auth/oauth.py:157
↓ 1 callersFunctionget_client_task_id_from_key
Extract just the client task ID from a task key. Args: task_key: Full encoded task key Returns: Client-provided task ID
fastmcp_slim/fastmcp/server/tasks/keys.py:137
↓ 1 callersMethodget_comment_reactions
Fetch reactions for a specific comment.
scripts/auto_close_duplicates.py:152
↓ 1 callersFunctionget_data
(context: Context)
tests/client/test_elicitation.py:649
↓ 1 callersFunctionget_embedding
(text: str, deps: Deps)
examples/memory.py:160
↓ 1 callersMethodget_issue_comments
Fetch all comments for an issue.
scripts/auto_close_needs_mre.py:154
↓ 1 callersMethodget_issue_comments
Fetch all comments for an issue.
scripts/auto_close_duplicates.py:115
↓ 1 callersMethodget_issue_events
Fetch all events for an issue.
scripts/auto_close_needs_mre.py:116
↓ 1 callersMethodget_issue_timeline
Fetch timeline events for an issue (includes issue edits).
scripts/auto_close_needs_mre.py:190
↓ 1 callersMethodget_issues_with_label
Fetch open issues with a specific label.
scripts/auto_close_needs_mre.py:72
↓ 1 callersMethodget_potential_duplicate_issues
Fetch open issues with the potential-duplicate label.
scripts/auto_close_duplicates.py:68
↓ 1 callersMethodget_profile
(user_id: str)
tests/tools/tool/test_content.py:276
↓ 1 callersMethodget_prompt
Get a prompt by name. Args: name: The requested prompt name (may be transformed). call_next: Callable to get prompt f
fastmcp_slim/fastmcp/server/transforms/__init__.py:206
↓ 1 callersMethodget_resource
Get a resource by URI. Args: uri: The requested resource URI (may be transformed). call_next: Callable to get resourc
fastmcp_slim/fastmcp/server/transforms/__init__.py:136
↓ 1 callersMethodget_resource
Get resource by namespaced URI.
fastmcp_slim/fastmcp/server/transforms/namespace.py:126
↓ 1 callersMethodget_resource
()
tests/server/test_server.py:204
↓ 1 callersMethodget_resource_template
Get a resource template by URI. Args: uri: The requested template URI (may be transformed). call_next: Callable to ge
fastmcp_slim/fastmcp/server/transforms/__init__.py:172
↓ 1 callersMethodget_routes
Get all routes for this authentication provider. This includes both well-known discovery routes and operational routes. Each provider
fastmcp_slim/fastmcp/server/auth/auth.py:274
↓ 1 callersMethodget_routes
Get routes for this provider. Creates protected resource metadata routes (RFC 9728).
fastmcp_slim/fastmcp/server/auth/auth.py:472
↓ 1 callersFunctionget_server_details
Print information about mounted resources.
examples/mount_example.py:71
↓ 1 callersFunctionget_session_span_attributes
Get session attributes for the current request.
fastmcp_slim/fastmcp/server/telemetry.py:31
↓ 1 callersFunctionget_session_transforms
Get session-specific Visibility transforms from state store.
fastmcp_slim/fastmcp/server/transforms/visibility.py:360
↓ 1 callersFunctionget_simple_func_adapter
Get a TypeAdapter for a simple function to avoid forward reference issues
tests/utilities/test_typeadapter.py:118
↓ 1 callersMethodget_since
(self, since_id: int = 0)
fastmcp_slim/fastmcp/cli/apps_dev.py:131
↓ 1 callersFunctionget_task_server
Get the registered server for a background task, if still alive.
fastmcp_slim/fastmcp/server/tasks/context.py:326
↓ 1 callersFunctionget_task_session
Get a registered session by ID if still alive. Returns None in distributed workers where the session lives in another process — callers must
fastmcp_slim/fastmcp/server/tasks/context.py:296
↓ 1 callersFunctionget_task_session_id
Get the session_id for the current background task, if available. Reads the cached snapshot set by the worker-level restore dependency. Retur
fastmcp_slim/fastmcp/server/tasks/context.py:220
↓ 1 callersMethodget_tasks
Return components that should be registered as background tasks. Override to customize which components are task-eligible. Default ca
fastmcp_slim/fastmcp/server/providers/base.py:490
↓ 1 callersMethodget_token_verifier
Creates the token verifier for the specified OIDC configuration and arguments. Args: algorithm: Optional token verifier algorithm
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:493
↓ 1 callersMethodget_tool
Get a tool by name. Args: name: The requested tool name (may be transformed). call_next: Callable to get tool from do
fastmcp_slim/fastmcp/server/transforms/__init__.py:106
↓ 1 callersMethodget_tool
( self, name: str, call_next: GetToolNext, *, version: VersionSpec | N
fastmcp_remote/fastmcp_remote/cli.py:60
↓ 1 callersMethodget_tool_by_hash
Look up an app-visible tool by its deterministic hash. Same recursive-walk semantics as ``get_app_tool`` but matches on ``meta["fastm
fastmcp_slim/fastmcp/server/providers/base.py:213
↓ 1 callersMethodgreet
(name: str)
tests/server/mount/test_mount.py:53
↓ 1 callersFunctionhandle_elicit_accept
Handle an accepted elicitation response. Args: config: The elicitation configuration from parse_elicit_response_type content: The
fastmcp_slim/fastmcp/server/elicitation.py:309
↓ 1 callersFunctionhandle_sse
(scope: Scope, receive: Receive, send: Send)
fastmcp_slim/fastmcp/server/http.py:172
↓ 1 callersFunctionhas_author_activity_after
Check if the issue author had any activity after a specific date.
scripts/auto_close_needs_mre.py:272
↓ 1 callersFunctionhas_human_activity
Check if there's human activity that should prevent auto-closure.
scripts/auto_close_duplicates.py:251
↓ 1 callersFunctionhashed_resource_uri
Per-tool Prefab renderer resource URI.
fastmcp_slim/fastmcp/server/providers/addressing.py:55
↓ 1 callersFunctioninitialize
()
docs/fastmcp-analytics.js:247
↓ 1 callersFunctioninitialize_database
()
examples/memory.py:300
↓ 1 callersFunctioninspect_fastmcp_v2
Extract information from a FastMCP v2.x instance. Args: mcp: The FastMCP v2.x instance to inspect Returns: FastMCPInfo datac
fastmcp_slim/fastmcp/utilities/inspect.py:100
↓ 1 callersFunctioninspector
Run an MCP server with the MCP Inspector for development. Args: server_spec: Python file to run, optionally with :object suffix, or None
fastmcp_slim/fastmcp/cli/cli.py:142
↓ 1 callersFunctioninstall_claude_code
Install FastMCP server in Claude Code. Args: file: Path to the server file server_object: Optional server object name (for :objec
fastmcp_slim/fastmcp/cli/install/claude_code.py:73
↓ 1 callersFunctioninstall_claude_desktop
Install FastMCP server in Claude Desktop. Args: file: Path to the server file server_object: Optional server object name (for :ob
fastmcp_slim/fastmcp/cli/install/claude_desktop.py:49
↓ 1 callersFunctioninstall_gemini_cli
Install FastMCP server in Gemini CLI. Args: file: Path to the server file server_object: Optional server object name (for :object
fastmcp_slim/fastmcp/cli/install/gemini_cli.py:69
↓ 1 callersFunctioninstall_mcp_json
Generate MCP configuration JSON for manual installation. Args: file: Path to the server file server_object: Optional server objec
fastmcp_slim/fastmcp/cli/install/mcp_json.py:20
↓ 1 callersFunctionis_def_used
Check if a definition is used, handling circular references.
fastmcp_slim/fastmcp/utilities/json_schema.py:608
↓ 1 callersFunctionis_past_cooldown
Check if the 3-day cooldown period has passed.
scripts/auto_close_duplicates.py:242
↓ 1 callersFunctioniter_exc
(group: BaseExceptionGroup)
fastmcp_slim/fastmcp/utilities/exceptions.py:12
↓ 1 callersMethodjson
(self)
tests/server/auth/providers/test_propelauth.py:299
↓ 1 callersFunctionlist_components
()
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:43
↓ 1 callersMethodlist_files
List files in the directory.
fastmcp_slim/fastmcp/resources/types.py:160
↓ 1 callersMethodlist_prompts
(self, prompts: Sequence[Prompt])
fastmcp_slim/fastmcp/server/transforms/catalog.py:106
↓ 1 callersMethodlist_prompts
Prefix prompt names with namespace.
fastmcp_slim/fastmcp/server/transforms/namespace.py:177
↓ 1 callersMethodlist_resource_templates
Retrieve all resource templates available on the server. This method automatically fetches all pages if the server paginates results,
fastmcp_slim/fastmcp/client/mixins/resources.py:140
↓ 1 callersMethodlist_resource_templates
( self, templates: Sequence[ResourceTemplate] )
fastmcp_slim/fastmcp/server/transforms/catalog.py:99
↓ 1 callersMethodlist_resource_templates
List resource templates with transformation applied. Args: templates: Sequence of resource templates to transform. Retur
fastmcp_slim/fastmcp/server/transforms/__init__.py:159
↓ 1 callersMethodlist_resource_templates
Add namespace path segment to template URIs.
fastmcp_slim/fastmcp/server/transforms/namespace.py:146
↓ 1 callersMethodlist_resources
(self, resources: Sequence[Resource])
fastmcp_slim/fastmcp/server/transforms/catalog.py:94
↓ 1 callersMethodlist_resources
Add namespace path segment to resource URIs.
fastmcp_slim/fastmcp/server/transforms/namespace.py:119
↓ 1 callersMethodlist_schema
Generate schema for list types, detecting enum items for multi-select.
fastmcp_slim/fastmcp/server/elicitation.py:57
↓ 1 callersMethodlist_tools
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/server/transforms/catalog.py:89
↓ 1 callersMethodlist_tools
List tools with transformation applied. Args: tools: Sequence of tools to transform. Returns: Transformed se
fastmcp_slim/fastmcp/server/transforms/__init__.py:95
↓ 1 callersMethodlist_tools
(self, tools: Sequence[Tool])
fastmcp_remote/fastmcp_remote/cli.py:57
↓ 1 callersFunctionloadScript
(src, onload)
docs/fastmcp-analytics.js:29
↓ 1 callersFunctionloadUnify
()
docs/unify-intent.js:16
↓ 1 callersMethodload_access_token
(self, token: str)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:289
↓ 1 callersMethodload_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
tests/server/test_auth_integration.py:106
↓ 1 callersFunctionload_server
Load the example server.
examples/namespace_activation/client.py:17
↓ 1 callersMethodlog_bridge
(self, body: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev.py:134
↓ 1 callersFunctionmain
()
scripts/benchmark_imports.py:185
↓ 1 callersFunctionmain
Main entry point for auto-closing needs MRE issues.
scripts/auto_close_needs_mre.py:331
↓ 1 callersFunctionmain
Main entry point for auto-closing duplicate issues.
scripts/auto_close_duplicates.py:285
↓ 1 callersFunctionmain
()
tests/utilities/json_schema_type/cluster_failures.py:64
↓ 1 callersFunctionmain
()
examples/run_with_tracing.py:22
↓ 1 callersFunctionmain
Demonstrate different tag-based routing strategies.
examples/tags_example.py:49
↓ 1 callersFunctionmain
()
examples/task_elicitation.py:70
↓ 1 callersFunctionmain
()
examples/in_memory_proxy_example.py:25
↓ 1 callersFunctionmain
()
examples/sampling/text.py:58
↓ 1 callersFunctionmain
()
examples/sampling/server_fallback.py:70
↓ 1 callersFunctionmain
()
examples/sampling/tool_use.py:96
↓ 1 callersFunctionmain
()
examples/sampling/structured_output.py:65
↓ 1 callersFunctionmain
()
examples/providers/sqlite/server.py:118
↓ 1 callersFunctionmain
()
examples/auth/azure_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/github_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/mounted/client.py:17
↓ 1 callersFunctionmain
()
examples/auth/oci_oauth/client.py:16
← previousnext →1,301–1,400 of 10,312, ranked by callers