langfuse-mcp / rules
Cursor rule113 starsChanged 8 months agoMITView on GitHub
- Deletes or force-pushes
- Commits and pushes
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,531 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this langfuse-mcp-general-rules.mdc into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read README.md for various information, which relates to our project.
- Very specific: line 20
Always create a git tag for each release with the format v0.x.y
- Very specific: line 44
Use __token__ as username
- Distinctive: line 45
Use your TestPyPI API token as password
- Distinctive: line 58
Use your PyPI API token as password
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description:
globs:
alwaysApply: true
---
# How to build, run, test and debug Langfuse MCP project effectively
- We **ONLY** use `uv`/`uvx` in 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](mdc:langfuse-mcp/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.y` for version tags
- Always create a git tag for each release with the format `v0.x.y`
### Build and Publish Workflow
1. **Commit your changes**:
```bash
git add <modified files>
git commit -m "Your commit message"
```
2. **Tag the release**:
```bash
git tag -a v0.x.y -m "Brief description of the release"
```
3. **Build the wheel (skip source distribution)**:
```bash
rm -rf dist/
uv build --wheel --no-build-logs --index-strategy unsafe-best-match
```
4. **Publish to TestPyPI first**:
```bash
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
5. **Push tag and changes to remote**:
```bash
git push origin v0.x.y
git push
```
6. **Publish to PyPI (when ready)**:
```bash
uv publish dist/langfuse_mcp-0.x.y-py3-none-any.whl
```
- Use `__token__` as username
- Use your PyPI API token as password
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

