| Crates.io | poly-mcp |
| lib.rs | poly-mcp |
| version | 0.1.0 |
| created_at | 2026-01-19 23:26:13.125179+00 |
| updated_at | 2026-01-19 23:26:13.125179+00 |
| description | A comprehensive MCP server with filesystem, diagnostics, scripting, time, network, context, git, and input tools |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2055498 |
| size | 240,299 |
A comprehensive MCP (Model Context Protocol) server with extensive tooling for filesystem operations, diagnostics, scripting, time management, network utilities, context handling, git operations, and user input.
Advanced file and directory operations with snapshot management:
Language-agnostic error and warning detection:
Bash scripting and system resource monitoring:
Time management and task scheduling:
HTTP requests and package registry queries:
Token counting and context management for LLMs:
Complete git operations via libgit2:
User interaction and notifications:
cargo add poly-mcp
Run the MCP server:
poly-mcp
The server communicates via JSON-RPC 2.0 over stdin/stdout following the MCP protocol.
Initialize:
{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {}}
List Tools:
{"jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": {}}
Call Tool:
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "fs_read",
"arguments": {
"path": "/path/to/file.txt"
}
}
}
{
"name": "fs_read",
"arguments": {"path": "/etc/hosts"}
}
{
"name": "fs_snapshot",
"arguments": {
"path": "/important/project",
"max_snapshots": 5
}
}
{
"name": "diagnostics_get",
"arguments": {"path": "./src"}
}
{
"name": "silent_script",
"arguments": {
"script": "#!/bin/bash\necho 'Hello World'\nls -la",
"timeout": 30
}
}
{
"name": "silent_resources",
"arguments": {
"detailed": true,
"process_filter": "rust"
}
}
{
"name": "net_fetch",
"arguments": {
"url": "https://example.com",
"convert_to_markdown": true
}
}
{
"name": "net_cargo",
"arguments": {
"crate_name": "tokio",
"action": "latest"
}
}
{
"name": "ctx_token_count",
"arguments": {
"text": "Your text here",
"model": "gpt-4"
}
}
{
"name": "ctx_estimate_cost",
"arguments": {
"provider": "anthropic",
"model": "claude-3-opus",
"input_tokens": 1000,
"output_tokens": 500
}
}
{
"name": "git_status",
"arguments": {"path": "."}
}
{
"name": "git_commit",
"arguments": {
"message": "feat: add new feature",
"author_name": "Developer",
"author_email": "dev@example.com"
}
}
{
"name": "input_notify",
"arguments": {
"title": "Build Complete",
"message": "Your project has been built successfully!",
"type": "both",
"urgency": "normal"
}
}
{
"name": "input_clipboard_write",
"arguments": {"content": "Hello from Poly MCP!"}
}
Licensed under the MIT License.
Contributions are welcome! Please open an issue or submit a pull request.