Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArcadeAI/arcade-mcp
/ functions
Functions
5,311 in github.com/ArcadeAI/arcade-mcp
⨍
Functions
5,311
◇
Types & classes
1,096
↳
Endpoints
103
↓ 7 callers
Function
is_typeddict
Check if a type is a TypedDict. Works with both typing.TypedDict and typing_extensions.TypedDict.
libs/arcade-core/arcade_core/catalog.py:72
↓ 7 callers
Function
load_env_file
Load tool secrets from a .env file.
libs/arcade-cli/arcade_cli/secret.py:179
↓ 7 callers
Function
make_multi_model_comparative_results
Create mock results for multi-model comparative evaluation.
libs/tests/cli/test_formatters.py:2242
↓ 7 callers
Function
resolve_provider_api_key
Resolve the API key for a given provider for evals. Args: provider: The model provider provider_api_key: API key provided vi
libs/arcade-cli/arcade_cli/utils.py:1098
↓ 7 callers
Function
resolve_provider_api_keys
Resolve API keys for all providers from flags and environment. Priority: --api-key flag > environment variable > .env file Args: api
libs/arcade-cli/arcade_cli/utils.py:315
↓ 7 callers
Method
run_command
Run a command and return success status and output.
tests/install/test_install.py:48
↓ 7 callers
Method
send_notification
Send a notification to the client.
libs/arcade-mcp-server/arcade_mcp_server/session.py:513
↓ 7 callers
Method
set_error
Store an error result for a task.
libs/arcade-mcp-server/arcade_mcp_server/managers/task_manager.py:470
↓ 7 callers
Method
set_linked_principal_id
Update linked_principal_id in usage.json. Args: principal_id: The principal_id to link to the current anon_id
libs/arcade-core/arcade_core/usage/identity.py:220
↓ 7 callers
Function
validate_engine_token
(worker_secret: str, token: str)
libs/arcade-serve/arcade_serve/core/auth.py:22
↓ 6 callers
Function
_arcade_meta
(result: CallToolResult)
libs/tests/arcade_mcp_server/test_tool_error_meta.py:27
↓ 6 callers
Method
_cleanup_pending_requests
Clean up any pending requests.
libs/arcade-mcp-server/arcade_mcp_server/session.py:506
↓ 6 callers
Method
_create_event_data
Create event data dictionary from EventMessage. For JSONRPCError messages with ``_transport`` metadata, the ``_transport`` key is str
libs/arcade-mcp-server/arcade_mcp_server/transports/http_streamable.py:323
↓ 6 callers
Method
_evict
Remove a single task and its bookkeeping slots. Cancels any tracked background ``asyncio.Task`` for ``task_id`` before dropping the r
libs/arcade-mcp-server/arcade_mcp_server/managers/task_manager.py:256
↓ 6 callers
Method
_extract_response_text
Extract text content from a JSONRPCResponse.
libs/arcade-mcp-server/arcade_mcp_server/middleware/telemetry.py:263
↓ 6 callers
Function
_first_param_value_schema
(func)
libs/tests/tool/test_create_tool_definition_pydantic.py:478
↓ 6 callers
Method
_format_conversation
Format conversation messages as rich HTML for context display.
libs/arcade-cli/arcade_cli/formatters/html.py:608
↓ 6 callers
Method
_format_conversation_text
Format conversation messages as plain text.
libs/arcade-cli/arcade_cli/formatters/text.py:1096
↓ 6 callers
Method
_format_run_stats_summary
Format the run statistics summary as a Markdown bullet list.
libs/arcade-cli/arcade_cli/formatters/markdown.py:274
↓ 6 callers
Function
_headers
(oauth_token: str)
examples/mcp_servers/servicenow/src/servicenow/tools/tools_incidents.py:42
↓ 6 callers
Method
_log_tool_call_error
Emit a structured WARNING log for a failed tool call.
libs/arcade-mcp-server/arcade_mcp_server/server.py:1602
↓ 6 callers
Method
_make_tool_and_mcp_tool
Helper: register a tool returning `return_type` and get the MCP tool.
libs/tests/arcade_mcp_server/test_convert.py:885
↓ 6 callers
Method
_minimal_kwargs
Helper: minimal valid ``ResourceServerAuth`` kwargs.
libs/tests/arcade_mcp_server/test_resource_server_auth.py:1432
↓ 6 callers
Function
_ns
(ns: int | None)
libs/arcade-mcp-server/arcade_mcp_server/middleware/telemetry.py:90
↓ 6 callers
Method
_parse_model_preferences
Parse model preferences into standard format.
libs/arcade-mcp-server/arcade_mcp_server/context.py:330
↓ 6 callers
Method
_write_atomic
Write data atomically to usage.json file Args: data: The data to write to the usage file
libs/arcade-core/arcade_core/usage/identity.py:68
↓ 6 callers
Method
add_tools_from_module
Add all the tools in a module to the catalog.
libs/arcade-mcp-server/arcade_mcp_server/mcp_app.py:363
↓ 6 callers
Method
build
Build and return the comparative case. Returns: The configured ComparativeCase. Raises: ValueError: If no tr
libs/arcade-evals/arcade_evals/_evalsuite/_comparative.py:106
↓ 6 callers
Function
build_windows_hidden_startupinfo
Create a Windows ``STARTUPINFO`` configured with ``SW_HIDE``. Returns: A configured ``STARTUPINFO`` instance on Windows when available,
libs/arcade-core/arcade_core/subprocess_utils.py:31
↓ 6 callers
Function
check_and_notify
Read cache, print notification if update available, fork background check.
libs/arcade-cli/arcade_cli/update.py:127
↓ 6 callers
Function
configure_claude_code_arcade
Configure Claude Code to connect to an Arcade Cloud MCP gateway. Writes to ``~/.claude.json`` (user-scope). The file contains many other Clau
libs/arcade-cli/arcade_cli/configure.py:476
↓ 6 callers
Function
configure_gemini_arcade
Configure Gemini CLI to connect to an Arcade Cloud MCP gateway. Writes to ``~/.gemini/settings.json`` using the ``mcpServers`` map with the `
libs/arcade-cli/arcade_cli/configure.py:931
↓ 6 callers
Function
configure_opencode_arcade
Configure OpenCode to connect to an Arcade Cloud MCP gateway. Writes to the ``mcp`` map in ``~/.config/opencode/opencode.json`` using the ``{
libs/arcade-cli/arcade_cli/configure.py:891
↓ 6 callers
Function
filter_failed_evaluations
Filter evaluation results to show only failed cases and calculate original counts. Args: all_evaluations: List of evaluation results
libs/arcade-cli/arcade_cli/utils.py:1138
↓ 6 callers
Function
find_best_model
Find the model with the highest score for a case. Args: case_models: Dict mapping model -> case_result with evaluation. Returns
libs/arcade-cli/arcade_cli/formatters/base.py:582
↓ 6 callers
Function
find_matching_gateway
Find an existing gateway whose allow-list is a superset of *tool_allow_list* and whose ``auth_type`` matches.
libs/arcade-cli/arcade_cli/connect.py:325
↓ 6 callers
Method
from_package
Load a Toolkit from a Python package
libs/arcade-core/arcade_core/toolkit.py:131
↓ 6 callers
Function
get_cursor_config_path
Get the Cursor configuration file path.
libs/arcade-cli/arcade_cli/configure.py:227
↓ 6 callers
Method
get_full_command_path
Get the full command path by traversing the context hierarchy.
libs/arcade-cli/arcade_cli/usage/command_tracker.py:74
↓ 6 callers
Method
get_metadata
Retrieve the metadata for the tool invocation. Raises a ValueError if the metadata is not found.
libs/arcade-core/arcade_core/schema.py:448
↓ 6 callers
Method
get_result_with_classification
Atomic ``get_result`` that also returns whether the payload was a stored error. Returns ``(payload, is_error)``: - ``is_erro
libs/arcade-mcp-server/arcade_mcp_server/managers/task_manager.py:511
↓ 6 callers
Function
get_tool_secrets
Get tool secrets from .env file for stdio servers. Discovers .env file by traversing upward from the current directory through parent directo
libs/arcade-cli/arcade_cli/configure.py:313
↓ 6 callers
Function
get_toolkit_examples
Return example prompts for the given toolkit names.
libs/arcade-cli/arcade_cli/connect.py:173
↓ 6 callers
Function
group_comparative_by_case_first
Group comparative results by suite -> case -> model for case-first comparison. When multiple models run the same comparative evaluation, thi
libs/arcade-cli/arcade_cli/formatters/base.py:345
↓ 6 callers
Method
handle_request
Process ASGI request with proper session handling. Args: scope: ASGI scope receive: ASGI receive function
libs/arcade-mcp-server/arcade_mcp_server/transports/http_session_manager.py:274
↓ 6 callers
Function
is_multi_model_capture
Check if capture results contain multiple models. Args: captures: List of CaptureResult objects. Returns: True if more
libs/arcade-cli/arcade_cli/formatters/base.py:477
↓ 6 callers
Function
is_multi_model_eval
Check if evaluation results contain multiple models. Args: results: Nested list of evaluation results. Returns: True if
libs/arcade-cli/arcade_cli/formatters/base.py:457
↓ 6 callers
Method
list_resource_templates
(self)
libs/arcade-mcp-server/arcade_mcp_server/managers/resource.py:117
↓ 6 callers
Method
list_sessions
(self)
libs/arcade-mcp-server/arcade_mcp_server/transports/stdio.py:215
↓ 6 callers
Method
log
( self, level: str, message: str, logger_name: str | None = None, extr
libs/arcade-core/arcade_core/schema.py:71
↓ 6 callers
Function
negotiate_version
Negotiate the protocol version for this session. If the server supports the client's requested version, return it. Otherwise, return the serv
libs/arcade-mcp-server/arcade_mcp_server/types.py:49
↓ 6 callers
Function
oauth_callback_server
Context manager for the OAuth callback server. Ensures the server is properly shut down even if an error occurs. The caller is responsib
libs/arcade-cli/arcade_cli/authn.py:666
↓ 6 callers
Function
receive
()
libs/tests/arcade_mcp_server/test_resource_server_auth.py:2555
↓ 6 callers
Function
run_evaluations
Run evaluation suites and display results. Individual task failures are caught and reported without crashing the entire batch. Args:
libs/arcade-cli/arcade_cli/evals_runner.py:250
↓ 6 callers
Method
save_to_file
Save the configuration to the YAML file in the configuration directory. Sets file permissions to 600 (owner read/write only) for sec
libs/arcade-core/arcade_core/config_model.py:272
↓ 6 callers
Method
should_alias
Check if PostHog alias is needed. Alias is needed when the user is authenticated, but the retrieved principal_id doesn't match the pe
libs/arcade-core/arcade_core/usage/identity.py:194
↓ 6 callers
Function
start_collecting
Begin collecting spans for the current async context.
libs/arcade-mcp-server/arcade_mcp_server/middleware/telemetry.py:45
↓ 6 callers
Method
success
Extracts the result value for the tool output. The executor guarantees that `data` is either a string, a dict, or None.
libs/arcade-core/arcade_core/output.py:17
↓ 6 callers
Method
tool_count
(self)
libs/arcade-evals/arcade_evals/_evalsuite/_tool_registry.py:282
↓ 6 callers
Method
tool_secrets
Get tool secrets.
libs/arcade-mcp-server/arcade_mcp_server/settings.py:529
↓ 6 callers
Method
track_background_task
Track a background asyncio.Task for a managed task.
libs/arcade-mcp-server/arcade_mcp_server/managers/task_manager.py:590
↓ 6 callers
Method
upsert
(self, key: K, value: V)
libs/arcade-mcp-server/arcade_mcp_server/managers/base.py:90
↓ 6 callers
Method
validate_file
Validate that the Python code in the given file is syntactically correct. Args: file_path: Path to the Python file to va
libs/arcade-core/arcade_core/toolkit.py:354
↓ 5 callers
Function
_assert_ok
(msg: dict[str, Any], expected_id: int, step: str)
tests/integration/mcp_protocol_smoke.py:91
↓ 5 callers
Method
_build_extra_metadata
Build extra metadata for error reporting.
libs/arcade-tdk/arcade_tdk/providers/http/error_adapter.py:109
↓ 5 callers
Method
_create_401_response
Create RFC 6750 + RFC 9728 compliant 401 response. The WWW-Authenticate header format follows: - RFC 6750 (OAuth 2.0 Bearer Token Usa
libs/arcade-mcp-server/arcade_mcp_server/resource_server/middleware.py:232
↓ 5 callers
Method
_create_error_response
Create a consistent error response for tool requirement failures. NOTE: structuredContent must be None on error responses. Per the MCP spec,
libs/arcade-mcp-server/arcade_mcp_server/server.py:1618
↓ 5 callers
Method
_create_tool_context
Create a tool context from a tool definition and session
libs/arcade-mcp-server/arcade_mcp_server/server.py:1034
↓ 5 callers
Function
_discover_installed_toolkits
(catalog: ToolCatalog)
libs/arcade-cli/arcade_cli/utils.py:433
↓ 5 callers
Method
_drive_401
Drive a missing-Authorization 401 and return the decoded WWW-Authenticate header value.
libs/tests/arcade_mcp_server/test_resource_server_auth.py:1728
↓ 5 callers
Function
_extract_base_suite_name
Extract the base suite name by removing the track suffix. Examples: "My Suite [track_a]" with track "track_a" -> "My Suite"
libs/arcade-cli/arcade_cli/formatters/base.py:126
↓ 5 callers
Method
_format_conversation_md
Format conversation messages as Markdown for context display.
libs/arcade-cli/arcade_cli/formatters/markdown.py:913
↓ 5 callers
Method
_format_conversation_text
Format conversation messages as plain text for context display.
libs/arcade-cli/arcade_cli/formatters/text.py:791
↓ 5 callers
Method
_format_evaluation
Format evaluation details.
libs/arcade-cli/arcade_cli/formatters/text.py:148
↓ 5 callers
Method
_get_registry
Get the registry for a track or the default internal registry. Args: track: Optional track name. If provided, gets or creates the
libs/arcade-evals/arcade_evals/_evalsuite/_convenience.py:37
↓ 5 callers
Method
_get_resource_owner_from_context
Get the resource owner from the current model context.
libs/arcade-mcp-server/arcade_mcp_server/server.py:2397
↓ 5 callers
Method
_handle_http_errors
Handle HttpError and its subclasses.
libs/arcade-tdk/arcade_tdk/providers/google/error_adapter.py:99
↓ 5 callers
Method
_handle_successful_login
Handle a successful login event. Upon a successful login, we retrieve and persist the principal_id for the logged in user. We then al
libs/arcade-cli/arcade_cli/usage/command_tracker.py:102
↓ 5 callers
Method
_handle_successful_logout
Handle a successful logout event. Upon a successful logout, we rotate the anon_id and clear the linked principal_id.
libs/arcade-cli/arcade_cli/usage/command_tracker.py:119
↓ 5 callers
Function
_http_post
POST JSON payload, return (status, response_headers, body_dict).
tests/integration/mcp_protocol_smoke.py:391
↓ 5 callers
Function
_initialize
( client: httpx.AsyncClient, protocol_version: str = "2025-11-25" )
libs/tests/arcade_mcp_server/transports/test_http_asgi_integration.py:85
↓ 5 callers
Method
_is_expired
Check if a single task has passed its TTL. O(1), no sweep.
libs/arcade-mcp-server/arcade_mcp_server/managers/task_manager.py:246
↓ 5 callers
Function
_is_template_uri
Return True if *uri* contains RFC 6570-style template variables.
libs/arcade-mcp-server/arcade_mcp_server/managers/resource.py:32
↓ 5 callers
Function
_load_json_object
(path: Path)
tests/integration/no_auth_cli_smoke.py:48
↓ 5 callers
Function
_make_multi_model_multi_run_results
Create evaluation results with multi-run stats for TWO models.
libs/tests/cli/test_formatters.py:3198
↓ 5 callers
Function
_make_otel_context
Build a MiddlewareContext with otel meta configured. Sets the request_context ContextVar so TelemetryPassbackMiddleware reads it from the Con
libs/tests/arcade_mcp_server/test_telemetry_middleware.py:321
↓ 5 callers
Function
_make_tool_response
Build a JSONRPCResponse wrapping a CallToolResult.
libs/tests/arcade_mcp_server/test_telemetry_middleware.py:74
↓ 5 callers
Method
_make_tool_with_param
Helper to create a materialized tool with a single input param ValueSchema.
libs/tests/arcade_mcp_server/test_convert.py:464
↓ 5 callers
Method
_minimal_kwargs
(self)
libs/tests/arcade_mcp_server/test_resource_server_auth.py:1715
↓ 5 callers
Function
_mint
(payload: dict, *, secret: str = WORKER_SECRET, headers: dict | None = None)
libs/tests/worker/test_auth.py:12
↓ 5 callers
Method
_process_tool_calls
Process tool calls by resolving names and applying defaults. Args: tool_calls: List of (tool_name, args) tuples.
libs/arcade-evals/arcade_evals/eval.py:804
↓ 5 callers
Function
_replay_receive
Return a fresh Receive callable that replays ``body`` as a single ``http.request`` message, then chains to ``original_receive``. After the se
libs/arcade-mcp-server/arcade_mcp_server/transports/http_session_manager.py:51
↓ 5 callers
Method
_resolve_tool_name
Resolve a tool name to its original registry key. Handles both original names (e.g., "Google.Search") and normalized names (e.g., "Go
libs/arcade-evals/arcade_evals/_evalsuite/_tool_registry.py:182
↓ 5 callers
Function
_resolve_windows_appdata
Resolve the Windows roaming AppData directory via ``platformdirs``. ``platformdirs`` is the de-facto standard Python library for resolving OS
libs/arcade-cli/arcade_cli/configure.py:62
↓ 5 callers
Function
_tasks_get_msg
(task_id: str, msg_id: int = 20)
libs/tests/arcade_mcp_server/integration/test_multi_version_e2e.py:74
↓ 5 callers
Method
_to_openai_first_param
(self, func, param_name)
libs/tests/core/converters/test_openai.py:596
↓ 5 callers
Function
_uid
(prefix: str)
examples/mcp_servers/pctx_code_mode/src/pctx_code_mode/store.py:17
↓ 5 callers
Function
_upsert_codex_mcp_server
Insert or replace a ``[mcp_servers.<name>]`` section in Codex's ``config.toml``. Preserves all other content (including comments, formatting, and
libs/arcade-cli/arcade_cli/configure.py:825
↓ 5 callers
Function
_validate_rfc6750_quoted_value
Validate a Bearer auth-param value against RFC 6750 ``error-char``. Returns ``value`` unchanged when valid. Raises ``ValueError`` with a prec
libs/arcade-mcp-server/arcade_mcp_server/resource_server/base.py:57
↓ 5 callers
Method
add_file_resource
Register a file-backed resource at build time.
libs/arcade-mcp-server/arcade_mcp_server/mcp_app.py:456
← previous
next →
301–400 of 5,311, ranked by callers