AI SummaryCursor Rules for Prometheus Mesh MCP server development that provides essential workflow guidance, quick commands, and core development principles for AI assistants working on the codebase.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "proms-mcp — Cursor Rules" prompt rules to my project. Repository: https://github.com/app-sre/proms-mcp Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
A Prometheus Mesh MCP server
FastMCP Tools
Use the established decorator pattern: `python @app.tool() @mcp_access_log("tool_name") @tool_error_handler async def my_tool(param: str) -> str: """Clear docstring.""" datasource, error = validate_datasource(datasource_id) if error: return format_tool_response(None, "error", error) # Implementation return format_tool_response(result, datasource=datasource_id) `
LLM Development Guide for Proms MCP Server
> Note: This file is also available as GEMINI.md and .cursor/rules/LLM.mdc (both are symlinks to this file). Essential workflow guidance for AI assistants working on this codebase.
🚀 Quick Commands
`bash make test # Run tests (ALWAYS run after changes) make format # Format code make lint # Check code quality make run # Start server (needs datasources.yaml) git --no-pager # Use --no-pager flag for all git commands to avoid pagination `
1. LEAN Development Philosophy
• Don't reinvent the wheel - Use existing, proven libraries when available • Minimal viable changes - Add functionality without over-engineering • Build on solid foundations - Extend existing working systems rather than replacing them • Keep it simple - Prefer straightforward solutions over complex architectures
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts