osm-edit-mcp / rules
Cursor rule4 starsChanged 3 months agoMITView on GitHub
- Reads credentials
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.
In this repository7 other files it gives its agents.
- .cursor/rules/configuration-management.mdcCursor rule
- .cursor/rules/mcp-development.mdcCursor rule
- .cursor/rules/mcp-implementation-patterns.mdcCursor rule
- .cursor/rules/osm-development-safety.mdcCursor rule
- .cursor/rules/osm-edit-safety.mdcCursor rule
- .cursor/rules/testing-and-quality.mdcCursor rule
- osm-edit-mcp-setupSkill
The file
We split this osm-mcp-project-structure.mdc into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
Configuration: Create .env with install -m 600 .env.example .env and customize it
- Very specific: line 55
Testing: Run test_comprehensive.py for validation
- Very specific: line 56
Development: Use development API (OSM_USE_DEV_API=true) for safe testing
- Distinctive: line 57
Documentation: Update README.md for any new features
≈ “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 --- # OSM Edit MCP Server - Project Structure Guide ## Core Project Files ### Main Server Implementation - **[src/osm_edit_mcp/server.py](mdc:src/osm_edit_mcp/server.py)** - Primary MCP server with 31 tools for OSM operations - **[main.py](mdc:main.py)** - Server entry point and startup script ### Configuration Files - **[.env](mdc:.env)** - Environment configuration (never commit with real credentials) - **[.env.example](mdc:.env.example)** - Configuration template with all available options - **[pyproject.toml](mdc:pyproject.toml)** - Python package configuration and dependencies ### Testing Framework - **[test_comprehensive.py](mdc:test_comprehensive.py)** - Complete test suite for all 31 MCP tools - **[TESTING_CHECKLIST.md](mdc:TESTING_CHECKLIST.md)** - Systematic manual testing guide - **[TEST_RESULTS_SUMMARY.md](mdc:TEST_RESULTS_SUMMARY.md)** - Analysis of test results and debugging guide ### Documentation - **[README.md](mdc:README.md)** - Complete setup, configuration, and usage guide - **[POLISH_SUMMARY.md](mdc:POLISH_SUMMARY.md)** - Summary of all enhancements made ## Architecture Overview ### Server Structure The [server.py](mdc:src/osm_edit_mcp/server.py) contains: - `OSMConfig` class with comprehensive configuration management - 31 MCP tools organized in categories: - **Read Operations**: get_osm_node, get_osm_way, get_osm_relation, etc. - **Write Operations**: create_osm_node, update_osm_node, delete_osm_node, etc. - **Search Operations**: find_nearby_amenities, search_osm_elements, etc. - **Natural Language**: parse_natural_language_osm_request, create_place_from_description, etc. - **Utility Operations**: validate_coordinates, validate_osm_data, etc. ### Configuration System Uses Pydantic BaseSettings for type-safe configuration with: - Dev/prod API switching via `OSM_USE_DEV_API` - Configurable logging levels - Safety and rate limiting settings - OAuth credentials management ### Testing Architecture - **Automated Testing**: [test_comprehensive.py](mdc:test_comprehensive.py) runs all tools systematically - **Manual Testing**: [TESTING_CHECKLIST.md](mdc:TESTING_CHECKLIST.md) provides step-by-step validation - **Results Analysis**: Generated reports help identify and debug issues ## Development Workflow 1. **Configuration**: Create [.env](mdc:.env) with `install -m 600 .env.example .env` and customize it 2. **Testing**: Run [test_comprehensive.py](mdc:test_comprehensive.py) for validation 3. **Development**: Use development API (`OSM_USE_DEV_API=true`) for safe testing 4. **Documentation**: Update [README.md](mdc:README.md) for any new features
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.

