Back to Home
strtob icon

yii2-mcpserver

Verified Safe

by strtob

Overview

Yii2 backend server providing token-based access to database tables and columns for LLM agents, including metadata, CRUD operations, and an admin GUI.

Installation

Run Command
php yii serve

Security Notes

The server demonstrates robust security features including token-based Bearer authentication, brute-force protection with progressive token locking and IP-based blocking, and rate limiting. All API requests are logged. Database interactions in `ToolsController` use parameterized queries, mitigating SQL injection risks. Column and table access are controlled by explicit permissions stored in `tbl_mcp_table` and `tbl_mcp_table_column`. No 'eval' or obvious obfuscation found. The admin GUI assumes an existing Yii2 user authentication system with permissions (e.g., 'mandates_see_all'), which is good practice for a module but implies external dependency for overall security context.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-12

Tags

Yii2MCP ProtocolAPILLM IntegrationDatabase AccessSecurityPermissions