add credentials to new axios client (#2897)

This commit is contained in:
Jonathan Dobson
2025-07-08 09:42:53 -04:00
committed by GitHub
parent 2098cee562
commit 04fc7e190f
4 changed files with 2718 additions and 2472 deletions

View File

@@ -3,7 +3,7 @@ import os
import shutil
import subprocess
from pathlib import Path
from typing import Any, List
from typing import List
import psutil
import typer
@@ -26,7 +26,7 @@ mcp = FastMCP("Skyvern")
@mcp.tool()
async def skyvern_run_task(prompt: str, url: str) -> dict[str, Any]:
async def skyvern_run_task(prompt: str, url: str) -> dict[str, str]:
"""Use Skyvern to execute anything in the browser. Useful for accomplishing tasks that require browser automation.
This tool uses Skyvern's browser automation to navigate websites and perform actions to achieve
@@ -202,6 +202,5 @@ def run_all() -> None:
@run_app.command(name="mcp")
def run_mcp() -> None:
"""Run the MCP server."""
# This breaks the MCP processing because it expects json output only
# console.print(Panel("[bold green]Starting MCP Server...[/bold green]", border_style="green"))
console.print(Panel("[bold green]Starting MCP Server...[/bold green]", border_style="green"))
mcp.run(transport="stdio")