forked from laptou/rust-docs-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The get_source_code function appears to be completely broken, returning 404 errors for all tested paths and crates.
Steps to Reproduce
Multiple attempts with different valid paths:
- Dioxus example:
{
"crateName": "dioxus",
"version": "0.7.0-alpha.1",
"path": "prelude/fn.use_signal.html"
}- Serde example:
{
"crateName": "serde",
"version": "1.0.219",
"path": "ser/mod.rs"
}Expected Behavior
Should return source code content for valid paths.
Actual Behavior
All attempts return: Error getting source code: Failed to get source code: HTTP error\! status: 404
Additional Context
get_type_infoprovidessourceUrllinks that appear valid- Other functions work correctly for the same crates/versions
- Issue affects both stable and alpha releases
Metadata
Metadata
Assignees
Labels
No labels