Agent.ai MCP Server logo

Agent.ai MCP Server

by OnStartups

The Agent.ai MCP Server integrates with the Agent.ai API to provide web text extraction, web screenshots, and YouTube transcript capabilities. It utilizes a dynamic function loading system for flexible tool integration.

View on GitHub

Last updated: N/A

What is Agent.ai MCP Server?

The Agent.ai MCP Server is an implementation that connects to the Agent.ai API, offering functionalities like extracting text from web pages, capturing web screenshots, and fetching YouTube transcripts. It dynamically loads functions (tools) from the Agent.ai API, making it easily extensible.

How to use Agent.ai MCP Server?

To use the server, you need an Agent.ai API token. Configure the server within your claude_desktop_config.json using either Docker or NPX. Then, use the provided API examples to call the desired functions, such as grab_web_text, grab_web_screenshot, or get_youtube_transcript, passing the required parameters in the request body and including your API token in the Authorization header.

Key features of Agent.ai MCP Server

  • Dynamic Function Loading

  • Web Text Extraction

  • Web Screenshots

  • YouTube Transcripts

Use cases of Agent.ai MCP Server

  • Extracting product information from e-commerce websites

  • Archiving website content with screenshots

  • Analyzing YouTube video content through transcripts

  • Integrating web data into AI applications

FAQ from Agent.ai MCP Server

How do I get an Agent.ai API token?

Contact Agent.ai to obtain your API token.

What are the required inputs for the grab_web_text tool?

The required input is the url (string) of the web page. You can also optionally specify the mode (string) as 'scrape' or 'crawl'.

How long are web screenshots cached for?

The cache expiration time for screenshots can be set using the ttl_for_screenshot (integer) input, which represents the time in seconds.

How do I deploy the server?

The server can be deployed using Docker or NPX. Refer to the Configuration section in the README for detailed instructions.

Where can I find a list of all available tools?

A list of all available tools can be found at https://docs.agent.ai/api-reference.