| Crates.io | cratesdotio-mcp |
| lib.rs | cratesdotio-mcp |
| version | 0.1.0 |
| created_at | 2026-01-09 14:12:35.376605+00 |
| updated_at | 2026-01-09 14:12:35.376605+00 |
| description | A Model Context Protocol (MCP) server for searching and retrieving crate information from crates.io |
| homepage | |
| repository | https://github.com/fedemagnani/crates.io-mcp |
| max_upload_size | |
| id | 2032150 |
| size | 82,821 |
MCP server for interacting with crates.io.
This mcp tool can be useful to define rules on your AI agent in order to:
search_crates - Search crates by name/keywordget_crate_info - Get crate detailsget_crate_versions - List published versionsget_crate_dependencies - Show dependencies for a versionget_crate_documentation - Get docs.rs linkscargo build --release
./target/release/cratesdotio-mcp
# Default port 3000
./target/release/cratesdotio-mcp --http
# Custom port
./target/release/cratesdotio-mcp --http 8080
docker build -t cratesdotio-mcp .
# HTTP mode (custom port)
docker run -d -p 8080:8080 cratesdotio-mcp --http 8080
# Stdio mode
docker run -i cratesdotio-mcp
Make sure that the mcp server is running BEFORE starting/configuring your AI agent in the editor: this will make sure that the initial session handshake is successful.
{
"mcpServers": {
"crates-io": {
"serverUrl": "http://localhost:3000/sse"
}
}
}
{
"mcpServers": {
"crates-io": {
"command": "/path/to/cratesdotio-mcp"
}
}
}