aether-mcp-server
Copilot instructions0 starsChanged 5 months agoMITArchived repositoryView on GitHub
This is AETHER_01 — a Windows MCP server in Rust (edition 2021). 10 tools for 99% Windows management over stdio transport. Target: Windows 10/11 x86-64 MSVC only. Build: cargo check (verify) / cargo build (binary). Release profile is hardened with CFG/ASLR/DEP/static CRT.
- Reads credentials
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/aether-mcp.mdcCursor rule
- aether-windows-mcpSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Never print to stdout — MCP uses stdout for JSON-RPC exclusively
- Distinctive: line 6
Always canonicalize file paths before operations
- Very specific: line 7
Always check force: true for dangerous operations
- Very specific: line 8
Always audit-log via audit::log_* functions
- Very specific: line 9
Never modify mcp.json or .env without explicit user request
≈ “Common” is an estimate: at least 1 in 5 of the 3,894 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions — AETHER_01
Always
- Never print to stdout — MCP uses stdout for JSON-RPC exclusively
- Always canonicalize file paths before operations
- Always check
force: truefor dangerous operations - Always audit-log via
audit::log_*functions - Never modify
mcp.jsonor.envwithout explicit user request
Project Context
This is AETHER_01 — a Windows MCP server in Rust (edition 2021). 10 tools for 99% Windows management over stdio transport. Target: Windows 10/11 x86-64 MSVC only.
Build: cargo check (verify) / cargo build (binary). Release profile is hardened with CFG/ASLR/DEP/static CRT.
Key Dependencies
rmcp0.5 — MCP SDK, use#[tool_router(router = tool_router)]+#[tool_handler(router = self.tool_router)]windows0.58 — Win32 API, avoid importingwindows::core::*(it shadowsstd::result::Result)windows-registry0.3 — high-level registry cratetracing0.1 — logging to stderr with.with_ansi(false).with_writer(std::io::stderr)
Adding a Tool Action
// In handle_* function in tools/<tool>.rs:
"new_action" => {
let param = params.get("key")
.and_then(|v| v.as_str())
.ok_or_else(|| AetherError::invalid_param("key is required"))?;
check_force(¶ms)?; // if dangerous
// Win32 API call
let result = unsafe { SomeWin32Function(param) }
.map_err(|e| AetherError::win32(e))?;
audit::log_success("tool_name", "new_action", &format!("param={param}"));
Ok(serde_json::json!({"status":"ok"}).to_string())
}Error Pattern
// Win32 errors: always translate
.map_err(|e| AetherError::win32(e))?
// Not found
AetherError::not_found("Registry key not found: HKLM\\...\\MissingKey")
// Permission
AetherError::permission_denied("Это опасная операция. Используйте `\"force\": true`")
// Feature disabled
server.gates.check(server.gates.bcd_edit, "AETHER_BCD_EDIT")?;Warning Signs (flag these in review)
use windows::core::*— shadows Result, only import needed typesResult<T, E>instead ofstd::result::Result<T, AetherError>- Windows API calls without
.map_err(|e| AetherError::win32(e))? - Dangerous operation without
check_force(¶ms)? - Print to stdout (use
tracing::info!to stderr instead) - Missing
// SAFETY:comment on unsafe blocks
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

