Back to Home
nico-martin icon

joke-mcp

Verified Safe

by nico-martin

Overview

Provides a Model Context Protocol (MCP) and REST API endpoint to fetch filtered jokes from JokeAPI.

Installation

Run Command
php -S localhost:8000 index.php

Security Notes

Origin validation is implemented for server-side checks, although `Access-Control-Allow-Origin: *` is used for browser CORS. Session IDs are cryptographically secure. Relies on file-based session storage (`data/mcp_sessions.json`) which requires proper directory write permissions and could have concurrency issues under heavy load, but is generally safe for its intended use. External API calls are made with a timeout and user agent, and safe-mode is enforced for jokes.

Similar Servers

Stats

Interest Score32
Security Score8
Cost ClassLow
Avg Tokens50
Stars2
Forks0
Last Update2025-11-24

Tags

MCPJokesAPIPHPJSON-RPC