Back to Home
ILoveJoseM icon

mcp-server

Verified Safe

by ILoveJoseM

Overview

A Laravel-based server implementing the Model Context Protocol for standardized tool calling, resource management, and prompt handling.

Installation

Run Command
php artisan mcp:server

Environment Variables

  • MCP_SERVER_NAME
  • MCP_SERVER_VERSION
  • MCP_RESOURCE_DIRECTORY
  • MCP_PROMPTS_DIRECTORY
  • MCP_CAPABILITY_RESOURCES
  • MCP_CAPABILITY_RESOURCES_SUBSCRIBE
  • MCP_CAPABILITY_RESOURCES_LIST_CHANGED
  • MCP_CAPABILITY_TOOLS
  • MCP_CAPABILITY_TOOLS_LIST_CHANGED
  • MCP_CAPABILITY_TOOLS_CALL
  • MCP_CAPABILITY_PROMPTS
  • MCP_CAPABILITY_PROMPTS_LIST_CHANGED
  • MCP_CAPABILITY_LOGGING
  • MCP_CAPABILITY_EXPERIMENTAL
  • MCP_SSE_TIMEOUT
  • MCP_SSE_RETRY

Security Notes

The server includes robust path validation (`realpath` and `strpos` checks) to prevent directory traversal vulnerabilities when accessing resources. It relies on standard Laravel security practices for its HTTP endpoints. No 'eval' or other highly dangerous patterns were observed. Overall, it appears to be implemented with security considerations in mind, though the overall security will depend on the host Laravel application's configuration and the nature of custom tools registered.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens5000
Stars0
Forks0
Last Update2025-12-06

Tags

LaravelPHPMCPJSON-RPCAIToolsResourcesPrompts