Skip to main content

oxylabs ai studio mcp server

Project description

Oxylabs + MCP

Oxylabs AI Studio MCP Server

Licence


📖 Overview

The Oxylabs AI Studio MCP server provides various AI tools for your agents.:

  • Scrape: Allows getting content from any url in json or markdown format.
  • Crawl: Based on prompt crawls a website and collects data in markdown or json format.
  • Browser Agent: Given a task, agent controls a browser to achieve given object and returns data in markdown, json, html or screenshot formats.
  • Search: Allows search the web for urls and their contents.

✅ Prerequisites

Obtain your Api Key from Oxylabs AI Studio dashboard:

Basic Usage

Python >=3.10+ To run the server best to use uv:

  • install it using this guide
  • To setup with cursor the easiest way is to use uvx.

cursor uvx

{
  "mcpServers": {
    "oxylabs-ai-studio": {
      "command": "uvx",
      "args": ["oxylabs-ai-studio-mcp"],
      "env": {
        "OXYLABS_AI_STUDIO_API_KEY": "OXYLABS_AI_STUDIO_API_KEY"
      }
    }
  }
}

You can also pull the project and run it locally with uv in cursor:
{
  "mcpServers": {
    "oxylabs-ai-studio": {
      "command": "uv",
      "args": [
        "--directory",
        "/<absolute-path-to-folder>/oxylabs-ai-studio-mcp",
        "run",
        "oxylabs-ai-studio-mcp"
      ],
      "env": {
        "OXYLABS_AI_STUDIO_API_KEY": "OXYLABS_AI_STUDIO_API_KEY"
      }
    }
  }
}

Agent example:

import os
import asyncio

from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerStdio

server = MCPServerStdio(  
    'uvx',
    args=[
          'oxylabs-ai-studio-mcp',
    ],
    env={
        "OXYLABS_AI_STUDIO_API_KEY": "<your_api_key>",
    },
)
# requires OPENAI_API_KEY to be set.
agent = Agent('openai:gpt-4o', mcp_servers=[server])


async def main():
   
    async with agent.run_mcp_servers():
        result = await agent.run('Got to oxylabs careers page and first first available job and return the job title and description.')
        print(result.output)

if __name__ == "__main__":
    asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oxylabs_ai_studio_mcp-0.1.3.tar.gz (74.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oxylabs_ai_studio_mcp-0.1.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file oxylabs_ai_studio_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: oxylabs_ai_studio_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 74.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for oxylabs_ai_studio_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 94f1c7de784505ab3ff0c5c06063dabf579f183ddd408cc643887a97dc3c477f
MD5 ca0d6fe013b1ea85702782a9f1ddf442
BLAKE2b-256 3185f63927f13b7c3a3514941a234fd7c4c29474a0ce490a9d1fa2ac25cb8b2a

See more details on using hashes here.

File details

Details for the file oxylabs_ai_studio_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for oxylabs_ai_studio_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 580172c3fd6f0b317658b5c7a05a6b19605265bbaff7d8a211f4dbf32243f608
MD5 5dc56f8777263621b9445e0b6f108fc0
BLAKE2b-256 69b61f640ba7e5d5244b9c7a38889bef8947608578b90e1e306e0b54b9e4c759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page