MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Method__get_pydantic_core_schema__
( cls, source_type: Any, handler: GetCoreSchemaHandler )
fastmcp_slim/fastmcp/skills/skill.py:176
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/dependencies.py:48
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/__init__.py:50
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/apps/__init__.py:37
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/server/__init__.py:12
Function__getattr__
Lazy import for providers to avoid circular imports.
fastmcp_slim/fastmcp/server/providers/__init__.py:61
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/server/auth/__init__.py:37
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/skills/__init__.py:30
Function__getattr__
(name: str)
fastmcp_slim/fastmcp/skills/models.py:230
Method__getattribute__
Dynamically create recording methods for any on_* method.
tests/server/middleware/test_middleware_nested.py:33
Method__getattribute__
Dynamically create recording methods for any on_* method.
tests/server/middleware/test_middleware.py:31
Method__hash__
(self)
fastmcp_slim/fastmcp/skills/skill.py:405
Method__init__
(self, *args: object, log_level: int = logging.ERROR)
fastmcp_slim/fastmcp/exceptions.py:41
Method__init__
( self, required_scopes: list[str], *, message: str | None = None, )
fastmcp_slim/fastmcp/exceptions.py:104
Method__init__
( self, content: list[ContentBlock], structured_content: Any, meta: dict[str,
fastmcp_slim/fastmcp/tools/base.py:268
Method__init__
(self, input_required: mcp_types.InputRequiredResult)
fastmcp_slim/fastmcp/tools/base.py:321
Method__init__
(self: Client[T], transport: T, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/client/client.py:377
Method__init__
( self, storage: AsyncKeyValue | None = None, *, collection: str = DEFAULT_CAC
fastmcp_slim/fastmcp/client/caching.py:124
Method__init__
(self, clients: Mapping[str, Client[Any]])
fastmcp_slim/fastmcp/client/group.py:63
Method__init__
( self, default_model: str, client: GoogleGenaiClient | None = None, thinking_
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:114
Method__init__
( self, default_model: ChatModel, client: AsyncOpenAI | None = None, )
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:121
Method__init__
( self, default_model: ModelParam, client: AsyncAnthropic | None = None )
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:122
Method__init__
(self, token: str)
fastmcp_slim/fastmcp/client/auth/bearer.py:12
Method__init__
( self, async_key_value: AsyncKeyValue, server_url: str, cache_namespace: str
fastmcp_slim/fastmcp/client/auth/oauth.py:96
Method__init__
Initialize a client_credentials OAuth provider. Args: mcp_url: Full URL to the MCP endpoint (e.g. "https://host/mcp").
fastmcp_slim/fastmcp/client/auth/client_credentials.py:194
Method__init__
(self, config: MCPConfig | dict, name_as_prefix: bool = True)
fastmcp_slim/fastmcp/client/transports/config.py:82
Method__init__
Initialize a FastMCPTransport from a FastMCP server instance.
fastmcp_slim/fastmcp/client/transports/memory.py:47
Method__init__
(self, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/client/transports/base.py:85
Method__init__
Initialize a Streamable HTTP transport. Args: url: The MCP server endpoint URL. headers: Optional headers to include
fastmcp_slim/fastmcp/client/transports/http.py:35
Method__init__
Initialize a Python transport. Args: script_path: Path to the Python script to run args: Additional argument
fastmcp_slim/fastmcp/client/transports/stdio.py:406
Method__init__
( self, script_path: str | Path, args: list[str] | None = None, env: dict[str,
fastmcp_slim/fastmcp/client/transports/stdio.py:467
Method__init__
Initialize a Node transport. Args: script_path: Path to the Node.js script to run args: Additional arguments
fastmcp_slim/fastmcp/client/transports/stdio.py:504
Method__init__
( self, command: str, args: list[str] | None = None, module: bool = False,
fastmcp_slim/fastmcp/client/transports/stdio.py:557
Method__init__
Initialize a Uvx transport. Args: tool_name: Name of the tool to run via uvx tool_args: Arguments to pass to
fastmcp_slim/fastmcp/client/transports/stdio.py:634
Method__init__
Initialize an Npx transport. Args: package: Name of the npm package to run args: Arguments to pass to the pa
fastmcp_slim/fastmcp/client/transports/stdio.py:699
Method__init__
( self, url: str | AnyUrl, headers: dict[str, str] | None = None, auth: httpx2
fastmcp_slim/fastmcp/client/transports/sse.py:41
Method__init__
(self)
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.py:68
Method__init__
(self, name)
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:17
Method__init__
( self, app: ASGIApp, server: FastMCP, required_scopes: list[str] | None )
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:63
Method__init__
Create ResourceContent with automatic serialization. Args: content: The content value. str and bytes pass through directly.
fastmcp_slim/fastmcp/resources/base.py:61
Method__init__
(self, input_required: mcp_types.InputRequiredResult)
fastmcp_slim/fastmcp/resources/base.py:234
Method__init__
( self, *, tool_name: str = "generate_prefab_ui", include_components_tool: boo
fastmcp_slim/fastmcp/apps/generative.py:73
Method__init__
( self, name: str = "Choice", *, title: str = "Choose an Option", vari
fastmcp_slim/fastmcp/apps/choice.py:63
Method__init__
( self, name: str = "Approval", *, title: str = "Approval Required", a
fastmcp_slim/fastmcp/apps/approval.py:79
Method__init__
(self, name: str)
fastmcp_slim/fastmcp/apps/app.py:168
Method__init__
( self, model: type[pydantic.BaseModel], *, name: str | None = None, t
fastmcp_slim/fastmcp/apps/form.py:122
Method__init__
( self, name: str = "Files", *, max_file_size: int = 10 * 1024 * 1024,
fastmcp_slim/fastmcp/apps/file_upload.py:146
Method__init__
( self, *, max_entries: int = _MAX_LOG_ENTRIES, max_bytes: int = _MAX_LOG_BYTE
fastmcp_slim/fastmcp/cli/apps_dev_log.py:21
Method__init__
(self, app: ASGIApp, *, host: str, port: int, token: str)
fastmcp_slim/fastmcp/cli/apps_dev_security.py:50
Method__init__
(self, state_directory: Path | None = None)
fastmcp_slim/fastmcp/cli/deploy/credentials.py:60
Method__init__
(self, state_directory: Path | None = None)
fastmcp_slim/fastmcp/cli/deploy/configuration.py:33
Method__init__
(self, message: str, *, status_code: int | None = None)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:48
Method__init__
(self, version: str | None)
fastmcp_slim/fastmcp/utilities/versions.py:136
Method__init__
( self, logger: logging.Logger, min_level: Literal["DEBUG", "INFO", "WARNING", "ERROR"
fastmcp_slim/fastmcp/utilities/logging.py:195
Method__init__
Initialize HeadlessOAuth with stored response tracking.
fastmcp_slim/fastmcp/utilities/tests.py:494
Method__init__
(self, max_entries: int, max_weight: int)
fastmcp_slim/fastmcp/utilities/json_schema_type.py:185
Method__init__
( self, chunks: MemoryObjectReceiveStream[bytes], client_disconnected: anyio.Event,
fastmcp_slim/fastmcp/utilities/asgi_transport.py:54
Method__init__
(self, app: ASGIApp, *, cancel_on_close: bool = True)
fastmcp_slim/fastmcp/utilities/asgi_transport.py:106
Method__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:250
Method__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:328
Method__init__
( self, path: str | Path | None = None, data: bytes | None = None, format: str
fastmcp_slim/fastmcp/utilities/types.py:394
Method__init__
Initialise the cache. Args: ttl_seconds: How long cached entries remain valid, in seconds. ``None`` or ``0`` disa
fastmcp_slim/fastmcp/utilities/token_cache.py:62
Method__init__
(self, scopes: tuple[str, ...])
fastmcp_slim/fastmcp/utilities/authorization.py:73
Method__init__
(self, tag: str, scopes: list[str])
fastmcp_slim/fastmcp/utilities/authorization.py:90
Method__init__
( self, roles: tuple[str, ...], extract: Callable[[dict[str, Any]], Iterable[str]],
fastmcp_slim/fastmcp/utilities/authorization.py:115
Method__init__
(self, *, source: dict | FileSystemSource, **data)
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:174
Method__init__
Initialize FileSystemSource, handling path:object syntax.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:46
Method__init__
Initialize the parser with the OpenAPI schema and type classes.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:125
Method__init__
Initialize with a parsed SchemaPath object.
fastmcp_slim/fastmcp/utilities/openapi/director.py:282
Method__init__
( self, fastmcp: FastMCP, session: ServerSession | None = None, *, tas
fastmcp_slim/fastmcp/server/context.py:203
Method__init__
( self, storage: AsyncKeyValue | None = None, max_events_per_stream: int = 100,
fastmcp_slim/fastmcp/server/event_store.py:83
Method__init__
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1250
Method__init__
(self, claim_name: str)
fastmcp_slim/fastmcp/server/dependencies.py:1428
Method__init__
(self, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/server/elicitation.py:45
Method__init__
( self, message: str = ( "Injected `session: UserSession` requires an authenticate
fastmcp_slim/fastmcp/server/sessions.py:114
Method__init__
(self, message: str = "Invalid or unknown session.")
fastmcp_slim/fastmcp/server/sessions.py:135
Method__init__
(self)
fastmcp_slim/fastmcp/server/sessions.py:525
Method__init__
( self, app: Any, event_store: EventStore | None = None, json_response: bool =
fastmcp_slim/fastmcp/server/http.py:47
Method__init__
(self, session_manager: StreamableHTTPSessionManager | None)
fastmcp_slim/fastmcp/server/http.py:87
Method__init__
( self, app: ASGIApp, allowed_hosts: Sequence[str] | None = None, allowed_orig
fastmcp_slim/fastmcp/server/http.py:234
Method__init__
(self, app)
fastmcp_slim/fastmcp/server/http.py:399
Method__init__
( self, schema_cache: dict[str, dict[str, Any]], server_transforms: list[Transform] |
fastmcp_slim/fastmcp/server/server.py:349
Method__init__
Initialize a Lifespan wrapper. Args: fn: An async generator function that takes a FastMCP server and yields a dic
fastmcp_slim/fastmcp/server/lifespan.py:68
Method__init__
Initialize with a context manager factory function.
fastmcp_slim/fastmcp/server/lifespan.py:124
Method__init__
Initialize a composed lifespan. Args: left: The first lifespan to enter. right: The second lifespan to enter.
fastmcp_slim/fastmcp/server/lifespan.py:152
Method__init__
(self, event_store: EventStore, session_id: str)
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:22
Method__init__
(self, fastmcp: FastMCP)
fastmcp_slim/fastmcp/server/low_level.py:176
Method__init__
(self, fastmcp: FastMCP, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/server/low_level.py:456
Method__init__
Initialize logging middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.middleware.logging'
fastmcp_slim/fastmcp/server/middleware/logging.py:167
Method__init__
Initialize structured logging middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.middlewa
fastmcp_slim/fastmcp/server/middleware/logging.py:219
Method__init__
Initialize error handling middleware. Args: logger: Logger instance for error logging. If None, uses 'fastmcp.errors'
fastmcp_slim/fastmcp/server/middleware/error_handling.py:38
Method__init__
Initialize retry middleware. Args: max_retries: Maximum number of retry attempts base_delay: Initial delay between re
fastmcp_slim/fastmcp/server/middleware/error_handling.py:164
Method__init__
Initialize timing middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.timing'
fastmcp_slim/fastmcp/server/middleware/timing.py:27
Method__init__
Initialize detailed timing middleware. Args: logger: Logger instance to use. If None, creates a logger named 'fastmcp.timing.deta
fastmcp_slim/fastmcp/server/middleware/timing.py:79
Method__init__
Initialize the response caching middleware. Args: cache_storage: The cache backend to use. If None, an in-memory cache is used.
fastmcp_slim/fastmcp/server/middleware/caching.py:279
Method__init__
( self, factory: Callable[[], LimiterT], *, idle_timeout: float | None )
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:25
Method__init__
(self, message: str = "Rate limit exceeded")
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:89
Method__init__
Initialize token bucket. Args: capacity: Maximum number of tokens in the bucket refill_rate: Tokens added per second
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:96
Method__init__
Initialize sliding window rate limiter. Args: max_requests: Maximum requests allowed in the time window window_second
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:135
Method__init__
Initialize rate limiting middleware. Args: max_requests_per_second: Sustained requests per second allowed burst_capac
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:184
← previousnext →3,101–3,200 of 15,974, ranked by callers