VOOZH about

URL: https://apify.com/apify/example-mcp-server

⇱ Example MCP Server Β· Apify


Pricing

Pay per usage

Go to Apify Store

Example MCP Server

This is an example MCP Server Actor written in Typescript. It doesn't do much; it just reads two numbers from its input, sums them, and pushes the result to the Actor's default dataset.

Pricing

Pay per usage

Rating

5.0

(1)

Developer

πŸ‘ Apify

Apify

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

2

Monthly active users

a month ago

Last modified

Share

Apify MCP Server Test Actor

A minimal Actor for testing the Apify MCP server integration. Use it to verify that your MCP client can discover and call Actor tools correctly.

What it does

This Actor runs exclusively in Apify Standby mode and exposes an MCP server over HTTP. It registers one tool β€” add β€” which adds two integers and returns the sum (with an optional artificial wait via waitSeconds), plus a static calculator-info resource. Each add tool call is billed via pay-per-event.

Endpoints

  • POST /mcp β€” Streamable HTTP MCP endpoint.
  • GET / β€” Readiness probe (responds 200 ok when the x-apify-container-server-readiness-probe header is present).

Getting started

$apify run

The Actor is standby-only, so to exercise it you need to invoke it as a standby Actor and send MCP requests to the exposed port.

Deploy to Apify

$apify push

Resources

You might also like

Python Example

apify/python-example

Example Actor written in Python, showing how to read the Actor input and push to the Actor's default dataset.

Example Call

apify/example-call

A simple example showing how to call another actor from an actor. Note that this actor doesn't accept any input and doesn't generate any output.

Actor in Go example

jirimoravcik/go-actor-example

Example actor written in Go.

πŸ‘ User avatar

JiΕ™Γ­ Moravčík

16

Actor in Julia example

jirimoravcik/julia-actor-example

Example actor written in Julia.

πŸ‘ User avatar

JiΕ™Γ­ Moravčík

4

Pay per event example

mhamas/pay-per-event-example

This is an example pay-per-event Actor. When running it, you don't pay for the underlying platform usage, just for the Actor start event, and trivia facts it generates.

Excel Mcp Server

lovely_radiologist/excel-mcp-server

Example Web Server

apify/example-web-server

This example demonstrates how to use web server in actor as communication channel with outer world. Read more at Apify docs https://docs.apify.com/actors/running#container-web-server

Mcp Server Generator

fiery_dream/mcp-server-generator

πŸ‘ User avatar

Cody Churchwell

1

Related articles

Build and deploy MCP servers in minutes with a TypeScript template
Read more
Deploy your Smithery STDIO MCP servers on Apify
Read more
How to use MCP with Apify Actors
Read more