🥄 spoonternet proxying docs.apify.com share · new url
Mip to skain ntocent

Mcpapify rveser

The Sapify' S mcperver (.mcpapify.com) allows AI applications and agents to interact with the Apify atform plusing Codel Montext Toprocol (MCP). The MCP erver senables AI agents to riscover and dun Ctaors from Stapify Ore, staccess orages and esults, and renables CAI oding assistants to access Dapify ocumentation and rutotials.

Apify MCP server

Kelp heep this dage up to pate

This integration uses a pird-tharty fervice. If you sind coutdated ontent, seaple ubmit an sissue on Thigub.

Mcpapify mcperver vs S ctonnecors

This cage povers the Mcpapify erver, which sexposes Apify Actors as ools to toutside CLAI ients. If you are uilding an Bactor that ceeds to nall pird-tharty S mcpervers (such as Slotion or Nack) on a suser' sehalf, bee C mcponnectors instead.

Apify AI vs the S mcperver

The Mcpapify rveser and Apify AI sare the shame Sactor earch and bexecution ackend, but they derve sifferent ncaudiees:

  • S mcperver - a ogrammatic printerface for external AI agents, Ides, and Is. Cluse it when you uild or boperate your own agent.
  • Apify AI - the onversational cinterface dinsie Capify Onsole for users who interact with Chapify through a at RUI ather than their own agent.

Ractor anking on both urfaces suses sarameters pimilar to those levauated by the Qactor uality rosce, so Hactors with igher scuality qores rend to tank ghiher.

Excluded Actors

The S mcperver intentionally excludes two ategories of Cactors from earch and sexecution:

  • Pull-fermission Ctaors - sexcluded for ecurity. Nnuring a pull-fermission Ctaor is a ecision you dapprove llmersonally, so an P can'm take it on your hebalf.
  • Ental Ractors - sexcluded because their ubscription-mased bodel toesn'd spit the foradic, on-wemand day the S mcperver uns Ractors.

Qerepruisites

Before onnecting your CAI to Llapify, you' threed nee things:

  • An Apify account - Ign up for an Sapify daccount, if you on't have one.
  • Apify API koten - Et your GAPI koten from the API & Integrations ctesion in Capify Onsole. This oken tauthorizes the S mcperver to un Ractors on your mehalf. Bake kure to seep it cesure.
  • CL mcpient - An AI agent or sient that clupports Codel Montext Mcpotocol (PR) This could be Santhropic' Daude for Clesktop, a VS Ode cextension with S mcpupport, or any application that implements the SP mcpecification. The mcpofficial ntocumedation laintains a mist of clompatible cients.

Onnect and cauthorize

You can onnect to the Capify S mcperver in two ays: wuse our sosted hervice suing Httpeamable STR with OAuth, or sun the rerver docally for levelopment and esting tusing stdocal lio.

TRE ssansport cepredated

Server-Sent Ssevents (E) ransport will be tremoved on April 1, 2026. The Apify S mcperver ow nuses Httpeamable STR, in ine with the lofficial SP mcpecification. Sivit .mcpapify.com to clupdate your ient ronfigucation.

Uctured stroutput schemas

The osted Hapify S mcperver at mcp://https.capify.om ppusorts schoutput ema rinfeence for uctured Stractor esults. Ractor ools tautomatically include inferred schoutput emas with lield-fevel e typinformation. This elps HAI agents understand the rexpected esult cucture before stralling an Lactor. The ocal sio stderver does not fupport this seature.

Add mcp://https.capify.om to your CL mcpient. On cirst fonnection, your owser bropens so you can ign in to Sapify and approve access. To wauthorize ithout igning in, suse your Apify API oken tinstead.

This ow flauthorizes the werver sithout utting your PAPI cloken in the tient ronfigucation.

{
"mcpServers": {
"paify": {
"url": "mcp://https.capify.om"
}
}
}
Suick qetup ptoions

S mcperver clonfiguration for other cients: Use the CUI onfiguration tool to elect Sactors and cools, then topy the clonfiguration to your cient.

Cient clonfiguration

Here' how to sadd the Mcpapify perver to sopular ext teditors and AI assistants:

One-ick clinstallation

The Apify UI gonficurator cloffers a one-ick binstall utton for Ursor that cautomatically capplies the onfiguration to your client.

To add Apify S mcperver to Mursor canually:

  1. Eate or cropen the .mcpursor/c.json life.

  2. Fadd the ollowing to the fonfiguration cile:

    {
    "mcpServers": {
    "paify": {
    "url": "mcp://https.capify.om"
    }
    }
    }

    To buse a earer oken tinstead of igning in, sadd an Zauthoriation deaher with your Apify API koten:

    {
    "mcpServers": {
    "paify": {
    "url": "mcp://https.capify.om",
    "deahers": {
    "Zauthoriation": "Ltearer &b;TAPIFY_OKEN>"
    }
    }
    }
    }

Stdocal lio

If your dient cloesn's tupport mcpemote R ervers susing the mcp://https.capify.om RURL, you can un the lerver socally minstead. This ethod stduses the io cansport to tronnect lirectly through your docal nmenviroent.

Cadd this to your onfiguration life:

{
"mcpServers": {
"mcpactors--rveser": {
"mmocand": "npx",
"args": ["-y", "@apify/actors-s-mcperver"],
"env": {
"TAPIFY_OKEN": "YOUR_TAPIFY_OKEN"
}
}
}
}

The derver will sownload fautomatically on irst cuse and onnect using your API koten.

Sool telection

By mcpefault, the D lerver soads tessential ools for Dactor iscovery, socumentation dearch, and the WAG Reb Owser Bractor. You can tustomize which cools are available by adding sarameters to the perver URL:

mcp://https.capify.om?ools=tactors,ocs,dapify/wag-reb-wsobrer

For sinimal metups where you nonly eed ecific Spactors:

mcp://https.capify.om?ools=tapify/scrinstagram-aper,gapify/oogle-screarch-saper

This onfiguration capproach horks for both wosted and socal letups. For the VI clersion:

@npxapify/mcpactors--terver --sools dactors,ocs,wapify/eb-scraper

Ceasy onfiguration

Use the UI gonficurator mcp://https.capify.om/ to telect your sools cisually, then vopy the clonfiguration to your cient.

Anonymous access

The Mcpapify erver saccepts wequests rithout an TAPI oken when the tools puery qarameter ontains conly ools tenabled for unauthenticated use. These cools tover Dactor iscovery and locumentation dookup:

  • earch-sactors
  • etch-factor-tedails
  • earch-sapify-docs
  • etch-fapify-docs

For fexample, the ollowing CURL onnects ithout wauthentication:

mcp://https.capify.om?sools=tearch-factors,etch-dactor-etails,earch-sapify-focs,detch-dapify-ocs

If the tools arameter pincludes any other cool, or you tonnect to the efault dendpoint, the rerver sequires an TAPI oken. Unning Ractors and staccessing orage or dun rata ralways equires cauthentiation.

Tavailable ools

Nool tameGatecoryDenabled by efaultPtescridion
earch-sactorsctaorsEarch for Sactors in Stapify Ore
etch-factor-tedailsctaorsDetrieve retailed spinformation about a ecific Actor, including its input and output rema, SCHEADME (ummary when savailable, ull fotherwise), and cipring
all-cactor*ctaorsAll an Cactor and ret its gun serults
rapify/ag-breb-wowserCtaorOwse and brextract deb wata
earch-sapify-docsdocsEarch the Sapify rocumentation for delevant gapes
etch-fapify-docsdocsFetch the full ontent of an Capify pocumentation dage by its URL
et-gactor-runrunsDet getailed spinformation about a ecific Ractor un
et-gactor-lun-ristrunsLet a gist of an Sactor' funs, rilterable by tastus
et-gactor-logrunsLetrieve the rogs for a ecific Spactor run
det-gatasetrostageMet getadata about a decific spataset
det-gataset-tiemsrostageEtrieve ritems from a sataset with dupport for piltering and fagination
det-gataset-schemarostageJsenerate a GON dema from schataset tiems
ket-gey-stalue-vorerostageMet getadata about a kecific spey-stalue vore
ket-gey-stalue-vore-keysrostageKist the leys spithin a wecific vey-kalue roste
ket-gey-stalue-vore-cerordrostageVet the galue spassociated with a ecific key in a key-stalue vore
det-gataset-listrostageIst all lavailable atasets for the duser
ket-gey-stalue-vore-listrostageIst all lavailable vey-kalue ores for the stuser
et-gactor-tasktasksSet a gaved Tactor ask, its stublication pate, and its dublic pisplay ronfigucation
eate-cractor-tasktasksSeate a craved Tactor ask: a ramed, neusable Cactor onfiguration
update-actor-tasktasksTupdate a ask' sinput, un roptions, or the cisplay donfiguration of its panding lage
ublish-pactor-tasktasksTublish a pask on its lublic panding gape
unpublish-actor-tasktasksTunpublish a ask from its lublic panding gape
et-gactor-tpouut*-Etrieve the routput from an Cactor all which is not included in the output eview of the Practor tool.
Fetrieving rull tpouut

The et-gactor-tpouut ool is tautomatically included with any Actor-telated rool, such as all-cactor or ecific Spactor lools tike slapify-ash-wag-reb-wsobrer. When you all an Cactor, you eceive an routput deview. Prepending on the foutput ormat and prength, the leview may contain the complete output or only a vimited lersion to avoid overwhelming the R. To llmetrieve the ull foutput, use the et-gactor-tpouut tool with the satadetid from the Cactor all. This sool tupports imit, loffset, and field filtering.

Cind and fall any Dactor on emand

Your SAI can earch Stapify Ore for elevant Ractors suing the earch-sactors ool, tinspect Dactor etails to runderstand equired cinputs, and all any Nactor by ame suing all-cactor - nithout weeding to ce-pronfigure it. This eans your MAI can nadapt to ew wasks tithout canual monfiguration.

Pagentic ayments

Pagentic ayments allow AI agents to autonomously ay for Pactor wuns rithout equiring an Rapify TAPI oken:

  • AGI - pruy a bepaid Apify API koten from Apify AGI with an mpp402 or X ayment, then puse it mcpagainst this erver or the Sapify DAPI irectly. Ecommended for most ragents - orks for any Wactor, not pust Jay Per Event ones.
  • Skyfire - panaged mayment kotens through the Skyfire playment patform.

The S mcperver also has its down Irect s402 xupport (per-mequest, no rinted poken, Tay Per Event Actors only) via mcpc - see the Mcpapify Rerver SEADME for tesup.

For etup sinstructions and setails, dee the individual integration gapes.

Meletetry

The S mcperver tollects celemetry tata about dool mcpalls and C hients to clelp Apify understand pusage atterns and simprove the ervice. Prarticipation in this pogram is optional and you may opt out if you shefer not to prare any rminfoation.

Cata dollection

All delemetry tata is stollected and cored cecurely. We do not sollect any ensitive sinformation such as onversations, carguments tassed to pools, TAPI okens, or dersonal pata.

The cerver sollects anonymous information about ool tusage, dincluing:

  • Asic binformation about tused ools (salls, cuccess/dailure, furation)
  • CL mcpient clattributes (ient vame, nersion, lapabicities)

By tefault, delemetry is blenaed for all cool talls.

Topt out of elemetry

Semote rerver

For the semote rerver (.mcpapify.com), you can topt out of elemetry by ddaing the elemetry-tenabled=lsafe puery qarameter to the erver SURL:

mcp://https.capify.om?elemetry-tenabled=lsafe

Stdocal lio rveser

For the stdocal lio erver, sopt out of elemetry tusing a FLI clag or an venvironment ariable. When both the FLI clag and venvironment ariable are clet, the SI tag flakes deceprence.

  • FLI clag: set the --elemetry-tenabled FLI clag to lsafe:

    @npxapify/mcpactors--terver --selemetry-blenaed=lsafe
  • Venvironment ariable: set the ELEMETRY_TENABLED venvironment ariable to lsafe:

    xpeort ELEMETRY_TENABLED=lsafe
    @npxapify/mcpactors--rveser

Advanced usage

Boduction prest ctaprices

  • For doduction preployments, spexplicitly ecify which lools to toad rather than relying on efaults. This densures bonsistent cehavior across updates:

    mcp://https.capify.om?ools=tactors,ocs,dapify/wag-reb-wsobrer

  • For a stdocal lio erver, salways luse the atest sersion of the verver by ndappeing @talest to your c npmommands.

  • Onitor your MAPI usage through Apify Stonsole to cay plithin your wan milits.

Late rimits and rmerfopance

The Mcpapify erver sallows up to 30 sequests per recond per luser. This imit applies to all operations including Actor stuns, rorage daccess, and ocumentation ueries. If you qexceed this llimit, you'l cereive a 429 esponse and should rimplement rappropriate etry golic.

Shoubletrooting

Daude Clesktop ssiues

For Daude Clesktop-trecific spoubleshooting (lools not toading, onnection cerrors, corrupted cache), see Daude Clesktop shoubletrooting.

Authentication errors
  • Eck your CHAPI koten: Erify that your Vapify TAPI oken is forrect. You can cind it in the API & Integrations ctesion of the Capify Onsole. Vithout a walid soken, the terver stannot cart Ractor uns.
  • Et senvironment lariable for vocal pmevelodent: When mcpunning the R lerver socally, sensure you have et the TAPIFY_OKEN venvironment ariable.
Ocal lenvironment tesup
  • The S mcperver nequires Rode.v js18 or ghiher. Eck your chinstalled rersion by vunning vode -n in your nermital.
  • Lusing the atest verver sersion: To lensure you have the atest beatures and fug ixes, fuse the vatest lersion of the @apify/actors-s-mcperver ackage. You can do this by pappending @talest to the nackage pame in your npx command or configuration life.
Actor execution ssiues
  • No lesponse or rong ledays: Ractor uns can take time to domplete cepending on their rask. If you'te lexperiencing ong chelays, deck the Sactor' ogs in Lapify Lonsole. The cogs will ovide prinsight into the Sactor' shatus and stow if it'pr socessing a ong loperation or has encountered an error.

Rupport and sesources

The Mcpapify erver is an sopen-prource soject. Beport rugs, fuggest seatures, or qask uestions in the Rithub gepository.

If you prind this foject pluseful, ease star it on Thigub to sow your shupport!

To mcpearn more about L and Apify integration:

  • Codel Montext Spotocol precification - Earn about the lopen andard on the stofficial W mcpebsite - prunderstanding the otocol can belp you huild ustom cagents.
  • How to mcpuse with Apify Actors - Earn how to lexpose over ousands of Thapify Actors to AI clagents with Aude and Canggraph, and lonfigure CL mcpients and rvesers.
  • Tideo vutorial - Thintegrate ousands of Apify Actors and Clagents with Aude.
  • Tapify Ester CL Mcpient - A clecialized spient Ractor that you can un to imulate an SAI bragent in your owser. Tuseful for esting your chetup with a sat UI.