MCP Rust/Slint Development Server
Provides up-to-date information for Rust and Slint development by fetching real-time data from GitHub repositories, including package search, UI components, release news, and development resources with automatic caching and refresh capabilities.
README
MCP Rust/Slint Development Server
<div align="center">
š FREE & OPEN SOURCE MCP SERVER FOR RUST & SLINT DEVELOPMENT
This is completely free software - use it, modify it, and contribute back to the community!
</div>
A Model Context Protocol (MCP) server that provides current information for Rust and Slint development, including packages, components, news, and resources from GitHub and other reputable sources.
Overview
This MCP server serves up-to-date information for Rust and Slint development by:
- Fetching Data from GitHub: Real-time data from official Rust and Slint repositories
- Maintaining Local Cache: SQLite database with automatic freshness checking
- Providing MCP Tools: Six specialized tools for querying development information
- Auto-Refresh: Automatically updates data older than 24 hours on startup
Features
š Search Capabilities
- Rust Packages: Search popular Rust crates and libraries
- Slint Components: Find Slint UI components and examples
- Development News: Latest releases and announcements from both ecosystems
š Data Sources
- GitHub Repositories: Official Rust and Slint repositories
- Package Registries: Current package information and statistics
- Release Feeds: Real-time release announcements and updates
- Community Data: Popular packages and trending components
š ļø MCP Tools
search_rust_packages- Search and discover Rust cratessearch_slint_components- Find Slint UI componentsget_rust_news- Latest Rust ecosystem newsget_slint_news- Recent Slint project updatesrefresh_data- Manual data refresh capabilitiesget_data_status- Cache status and data freshness monitoring
Installation
Prerequisites
- Node.js 18+
- npm or yarn
- Git
Setup
-
Clone the repository:
git clone https://github.com/RKTakami/mcp-rust-slint-server.git cd mcp-rust-slint-server -
Install dependencies:
npm install -
Compile TypeScript:
npm run build -
Test the server:
npm test
Configuration
For Roo Code
Add to your MCP settings:
{
"mcpServers": {
"rust-slint-dev": {
"command": "node",
"args": ["build/index.js"],
"env": {},
"disabled": false,
"alwaysAllow": [],
"disabledTools": []
}
}
}
For VSCode
Add to your VSCode MCP settings:
{
"mcpServers": {
"rust-slint-dev": {
"command": "node",
"args": ["build/index.js"],
"env": {},
"disabled": false,
"alwaysAllow": [],
"disabledTools": []
}
}
}
Usage
MCP Tools
Search Rust Packages
// Search for popular Rust packages
await tools.search_rust_packages({
query: "web framework",
limit: 10
});
Search Slint Components
// Find Slint UI components
await tools.search_slint_components({
query: "button",
category: "ui",
limit: 10
});
Get Latest News
// Get latest Rust news
await tools.get_rust_news({
limit: 10
});
// Get latest Slint news
await tools.get_slint_news({
limit: 10
});
Data Management
// Check data freshness
await tools.get_data_status();
// Refresh specific data type
await tools.refresh_data({
type: "rust_packages"
});
// Refresh all data
await tools.refresh_data({
type: "all"
});
Database Structure
The server uses SQLite with the following tables:
- rust_packages: Popular Rust crates and packages
- slint_components: Slint UI components and examples
- rust_news: Latest Rust releases and announcements
- slint_news: Recent Slint project updates
- data_cached_at: Cache timestamp tracking for data freshness
Architecture
Data Flow
- Startup: Server checks data freshness on initialization
- Cache Validation: Compares cache timestamps against 24-hour threshold
- GitHub API: Fetches fresh data from official repositories
- Database Update: Stores new data in SQLite database
- Tool Execution: Serves cached data through MCP tools
Technology Stack
- Runtime: Node.js with TypeScript
- MCP SDK:
@modelcontextprotocol/sdk - Database: SQLite with
better-sqlite3 - HTTP Client: Axios for GitHub API calls
- Data Sources: GitHub REST API v3
Development
Project Structure
mcp-rust-slint-server/
āāā src/
ā āāā index.ts # Main server implementation
āāā build/
ā āāā index.js # Compiled JavaScript
āāā package.json # Dependencies and scripts
āāā tsconfig.json # TypeScript configuration
āāā test_server.js # Test suite
āāā README.md # This file
Scripts
npm run build- Compile TypeScript to JavaScriptnpm test- Run test suitenpm start- Start the MCP server
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
API Endpoints
The server provides the following MCP tools:
search_rust_packages
- Description: Search for Rust packages and crates
- Parameters:
query(string): Search querylimit(number, optional): Maximum results (1-100, default: 10)
search_slint_components
- Description: Search for Slint UI components
- Parameters:
query(string): Search querycategory(string, optional): Filter by categorylimit(number, optional): Maximum results (1-100, default: 10)
get_rust_news
- Description: Get latest Rust ecosystem news
- Parameters:
limit(number, optional): Maximum results (1-50, default: 10)
get_slint_news
- Description: Get latest Slint project updates
- Parameters:
limit(number, optional): Maximum results (1-50, default: 10)
refresh_data
- Description: Manually refresh data from GitHub
- Parameters:
type(enum): Data type to refresh ('rust_packages', 'slint_components', 'rust_news', 'slint_news', 'all')
get_data_status
- Description: Get cache status and data freshness information
- Parameters: None
š License & Open Source
MIT License - Completely Free & Open Source
This project is 100% free and open source under the MIT License. You have the freedom to:
- ā Use it commercially - No restrictions
- ā Modify and customize - Make it your own
- ā Distribute freely - Share with others
- ā Contribute back - Help improve the project
- ā Use in any project - No attribution required
What This Means
- No Cost: Completely free to use
- No Restrictions: Use in personal, commercial, or open source projects
- Community Driven: Built by the community, for the community
- Contributions Welcome: Help make it better for everyone
License Details
MIT License
Copyright (c) 2025 RKTakami
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Full license text: See LICENSE file for complete details.
Support
For issues, questions, or contributions, please visit the GitHub repository.
Changelog
v0.1.0
- Initial release
- Six MCP tools for Rust and Slint development
- GitHub API integration
- SQLite database with auto-refresh
- Roo Code and VSCode integration
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.