c
crates.io
Search Rust crates and read metadata.
·No reviews yet
Share:
About
Auto-generated
crates.io is a Model Context Protocol server in the Developer Tools category. It lets AI assistants that speak MCP call its tools and read its resources over STDIO.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about crates.io.
- What is the crates.io Model Context Protocol (MCP)?
- The crates.io MCP allows you to search for Rust crates and retrieve their metadata directly within your development environment. It integrates with compatible MCP clients to provide package information for Rust projects.
- How can I install the crates.io MCP within Cline?
- Installation within Cline typically involves specifying the MCP's repository URL (https://github.com/YuChenSSR/mcp-crates) in the Cline configuration. Refer to the Cline documentation for the precise steps on adding new MCPs via a Git repository.
- Does the crates.io MCP require an API key or other credentials?
- No, the crates.io MCP does not require an API key, OAuth, or any other form of credentials. It operates with no authentication, providing open access to public crate information.
- What specific Rust package information can I retrieve with this MCP?
- This MCP enables searching for Rust crates and accessing their associated metadata. This typically includes details such as crate name, version, description, and dependency information, but specific tools are not listed.
- Is there a cost associated with using the crates.io MCP?
- The crates.io MCP is provided by the community and is open source, implying no direct cost for its use. However, any indirect costs would depend on your chosen MCP client and development environment.
- What is a limitation when using the crates.io MCP?
- A limitation is that the MCP's capabilities are currently focused on search and metadata retrieval. It does not provide tools for package installation, compilation, or managing local Rust environments.
Install crates.io
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"crates-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-crates-io"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"crates-io": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-crates-io"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"crates-io": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-crates-io"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.