Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/avivsinai/langfuse-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/avivsinai/langfuse-mcp/langfuse-mcp-general-rules)<a href="https://agentmods.dev/rules/avivsinai/langfuse-mcp/langfuse-mcp-general-rules"><img src="https://agentmods.dev/badge/rules/avivsinai/langfuse-mcp/langfuse-mcp-general-rules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/avivsinai/langfuse-mcp/langfuse-mcp-general-rules"><img src="https://agentmods.dev/badge/rules/avivsinai/langfuse-mcp/langfuse-mcp-general-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00562 | $0.00562 |
| Opus 5 | $0.00281 | $0.00281 |
| Sonnet 5 | $0.00112 | $0.00112 |
| Haiku 4.5 | $0.00056 | $0.00056 |
Grade C, and why
langfuse-mcp-general-rules scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf dist/ What it actually says
How to build, run, test and debug Langfuse MCP project effectively
- We ONLY use
uv/uvxin order to run, build our app, do not use vanilla Python or scripts - Our server logs reside in
/tmp/langfuse_mcp.log- read them in our for properly debugging our server - For debugging Cursor MCP client, the logs exist in:
~/Library/Application\ Support/Cursor/logs/ - In order to only find MCP related logs one can use
find ~/Library/Application\ Support/Cursor/logs/ -type f -exec grep -i "mcp" {} \; - Since we aren't using SSE and there are many SSE implementations that are used, one can also use
find ~/Library/Application\ Support/Cursor/logs/ -type f -exec grep -i "mcp" {} \; | grep -v "SSE error" - Read README.md for various information, which relates to our project.
Building and Publishing to PyPI
Version Numbering and Tagging
- We use semantic versioning with format
v0.x.yfor version tags - Always create a git tag for each release with the format
v0.x.y
Build and Publish Workflow
-
Commit your changes:
git add <modified files> git commit -m "Your commit message" -
Tag the release:
git tag -a v0.x.y -m "Brief description of the release" -
Build the wheel (skip source distribution):
rm -rf dist/ uv build --wheel --no-build-logs --index-strategy unsafe-best-match -
Publish to TestPyPI first:
uv publish --index testpypi dist/langfuse_mcp-0.x.y-py3-none-any.whl- Use
__token__as username - Use your TestPyPI API token as password
- Use
-
Push tag and changes to remote:
git push origin v0.x.y git push -
Publish to PyPI (when ready):
uv publish dist/langfuse_mcp-0.x.y-py3-none-any.whl- Use
__token__as username - Use your PyPI API token as password
- Use
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 59 lines · 562 tokens per session scan C b8944562a6fb
langfuse-mcp-general-rules is a cursor rule published in the GitHub repository avivsinai/langfuse-mcp (105 stars, last pushed today), licensed MIT. It adds 562 tokens to every session, about $0.0028 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
release-gate
Release & deploy gate for @kadam-net/mcp-server — what the agent may do autonomously vs. what requires explicit human approval. Applies to all branch/MR/release/deploy work in this repo.
changelog-maintenance
The CHANGELOG.md file must be maintained for every change to the PHP MCP SDK.
release-management
Cursor rule "release-management" from floriscornel/todo-mcp, covering release management, version bumping, release process, pre-release checklist and automated publishing.
gitflow
A set of Git workflow rules based on Gitflow. Gitflow is a branching method that uses branches such as main or master, develop, and temporary support branches to organize changes.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.