Miscellaneous Utilities

Hello World

Returns "Hello, World!" as a simple test endpoint for validating API connectivity and MCP tool integration. Call via GET /v1/misc/hello-world or through MCP in Cursor and other AI editors. Perfect for debugging connection issues or onboarding new developers. Returns plain text response with 200 status code.

API Endpoint

GET /v1/misc/hello-world

Code Examples

curl "https://tinyfn.io/v1/misc/hello-world" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/misc/hello-world', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/misc/hello-world',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's miscellaneous tools:

{
  "mcpServers": {
    "tinyfn-misc": {
      "url": "https://tinyfn.io/mcp/misc",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

What does the Hello World endpoint return?

Returns the plain text string 'Hello, World!' with a 200 HTTP status code.

How do I test if my MCP connection is working in Cursor?

Use the Hello World tool first - it's the simplest way to verify your MCP setup is configured correctly before trying more complex tools.

What's the difference between calling this via REST API vs MCP?

Both return identical 'Hello, World!' output. REST requires direct HTTP requests while MCP integrates natively into AI editors for seamless tool usage.

Does the Hello World endpoint accept any parameters?

No, it's parameter-free by design. Simply call GET /v1/misc/hello-world or invoke the MCP tool directly.

Why would I use Hello World in production?

Health checks, API monitoring, connection testing, and onboarding new team members to your TinyFn integration workflow.

Try Hello World Now

Get your free API key and start using Hello World in seconds.

Get Free API Key