Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Conversation

@jspahrsummers
Copy link
Member

No description provided.

jspahrsummers and others added 9 commits October 7, 2025 10:26
Integrate @fernforestgames/godot-resource-parser to expose Godot project
structure through MCP resources and tools.

New MCP Resources:
- godot://project/scenes/ - List all scene files
- godot://project/scenes/{path} - Full parsed scene data
- godot://project/scenes/{path}/nodes - Node hierarchy
- godot://project/scenes/{path}/nodes/{nodePath} - Node details
- godot://project/resources/ - List all resource files
- godot://project/resources/{path} - Full parsed resource data
- godot://project/resourceTypes/ - List all resource types
- godot://project/resourceTypes/{type} - Resources by type
- godot://project/resourceTypes/{type}/{property} - Property values

New MCP Tool:
- search_scenes - Search for nodes matching criteria with pagination

Other changes:
- Add helper functions for file discovery and parsing
- Update ESLint config to allow underscore-prefixed unused variables
- All data read fresh from disk for up-to-date information

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Remove duplicate no-unused-vars rule, use only TypeScript version
- Log all parsing errors to stderr with context (file path)
- Helps with debugging when parser encounters unexpected file formats

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Decomposed index.ts from 912 lines into a clean modular architecture:

- src/config.ts: Configuration validation
- src/types.ts: TypeScript interfaces
- src/utils/: File and scene utilities
- src/handlers/tools/: Tool handler implementations
- src/handlers/resources/: Resource handler implementations
- src/index.ts: Slim entry point for MCP server setup and registration

This separation of concerns makes the codebase more maintainable and
testable while keeping state management in index.ts tied to the MCP
server lifetime.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Claude <[email protected]>
Co-Authored-By: Claude <[email protected]>
@jspahrsummers jspahrsummers merged commit e11a9d7 into main Oct 7, 2025
5 checks passed
@jspahrsummers jspahrsummers deleted the integrate-resource-parser branch October 7, 2025 10:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants