Example MCP Server avatar

Example MCP Server

Pricing

Pay per usage

Go to Apify Store
Example MCP Server

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

0.0

(0)

Developer

Apify

Apify

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

2 days 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