AI Ops MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Ops MCPrun 'df -h' on the staging server"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Ops MCP
AI Ops MCP is a local SSH credential broker and stdio MCP server. It lets AI clients perform SSH and SFTP operations through stable server_id aliases without receiving passwords, private-key contents, or private-key passphrases.
AI Ops MCP protects the authentication boundary; it does not classify, approve, or block remote commands. Every command runs with the configured SSH account's permissions. Use dedicated, least-privilege accounts and server-side controls.
Version 0.1.0 is distributed from source only. This project is not published to npm.
Features
Interactive server enrollment and trusted Host key pinning
SSH Agent, system credential store password, and private-key authentication
Windows Credential Manager, macOS Keychain, and Linux Secret Service integration
Connection pooling with per-server and global concurrency limits
Remote commands, uploads, downloads, and directory listings
Local and remote file path boundaries, timeouts, output limits, and file-size limits
Structured audit logs with stable public error codes
Security Model
Passwords and private-key passphrases are requested through hidden prompts and stored in the operating system credential store. Non-secret connection metadata is stored in a private local configuration file. Private keys remain files on the local machine and are read only when connecting. Host key fingerprints are confirmed during enrollment and later changes are rejected.
The MCP interface cannot enumerate or export credentials. By default, local file operations are limited to the MCP process working directory; additional local and remote roots can be configured per server. Audit logs may contain commands and paths, so protect them as operational data. See SECURITY.md for vulnerability reporting.
This model does not protect against a compromised local user account, malicious remote output, a compromised remote host, or destructive commands issued with valid SSH permissions.
Requirements
Node.js 22 or 24
Git and an accessible SSH server
A verified SSH Host key fingerprint
One supported authentication method
Linux password/passphrase users: a running Secret Service provider
Windows Credential Manager has been validated on Windows 10 with Node.js 24. macOS Keychain and Linux Secret Service need broader real-device feedback.
Install and Build
git clone https://github.com/Finn-Aigc/ai-ops-mcp.git
cd ai-ops-mcp
npm ci
npm run typecheck
npm test
npm run build
npm link
ai-ops doctornpm link exposes ai-ops and ai-ops-mcp locally. Run npm run dev -- --help during CLI development, or npm start -- --help after building.
Authentication
SSH Agent
Load a key into your system Agent, then either run ai-ops add --auth agent or import effective OpenSSH metadata:
ai-ops import-ssh my-host-aliasSystem Credential Store Password
ai-ops add --id dev-box --host ssh.example.com --user deploy --auth passwordThe password is requested interactively and cannot be passed as a command-line value.
Private Key File
ai-ops add --id dev-key --host ssh.example.com --user deploy \
--auth private-key --key <path-to-private-key>The key stays at the provided path. If encrypted, its passphrase is requested interactively and stored in the system credential store.
CLI Reference
Command | Purpose |
| Add a server and confirm its Host key |
| Import effective OpenSSH metadata for Agent auth |
| List aliases and credential readiness |
| Show non-secret server metadata |
| Test a connection |
| Update metadata, roots, or stored secrets |
| Remove metadata and stored credentials |
| Replace a verified Host key fingerprint |
| Diagnose configuration, keyring, and Agent access |
| Read filtered audit events |
Use ai-ops <command> --help for all options. Never automate password or passphrase entry through command arguments.
MCP Client Configuration
After npm link, configure any stdio MCP client with:
{
"mcpServers": {
"ai-ops": {
"command": "ai-ops-mcp"
}
}
}For development without linking, build first and use node with "<absolute-path-to-repository>/dist/mcp-entry.js" as the only argument.
MCP Tools
Tool | Purpose |
| List configured aliases and readiness without credentials |
| Test one |
| Run an arbitrary remote command |
| Upload a file from an allowed local root |
| Download a file into an allowed local root |
| List an allowed remote directory |
Defaults are 30 seconds per command, 10 MiB combined command output, 100 MiB per file, four concurrent operations per server, and 16 globally. Server settings can reduce or tailor these limits.
Troubleshooting
Run
ai-ops doctorfirst for keyring, Agent, configuration, and server diagnostics.HOST_KEY_MISMATCH: verify the new fingerprint out of band, then runai-ops trust-host <id>.AGENT_UNAVAILABLE: start an SSH Agent and load a key withssh-add.CREDENTIAL_STORE_UNAVAILABLE: unlock or start the platform credential service.LOCAL_PATH_NOT_ALLOWEDorREMOTE_PATH_NOT_ALLOWED: update roots withai-ops edit <id> --allowed-local ... --allowed-remote ....MCP process exits immediately: run
npm run buildand confirm the configured executable or absolute entry path.
Local Live E2E Tests
Live tests intentionally stay out of GitHub Actions. Use an isolated home and a dedicated, low-privilege server account that may create temporary files under /tmp and update its own ~/.ssh/authorized_keys:
$env:AI_OPS_HOME = "<isolated-ai-ops-home>"
$env:AI_OPS_E2E_SERVER_ID = "test-server"
npm run build
npm run test:e2e:core
npm run test:e2e:mcp
npm run test:e2e:auth
npm run test:e2e:agent
npm run test:e2e:cleanupEach test uses unique resources and cleans them in finally blocks. Never use production credentials or configuration. See CONTRIBUTING.md, docs/PRD.md, and docs/IMPLEMENTATION_PLAN.md.
License
MIT © 2026 AI Ops MCP contributors.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server bridging holepunchto/keet-identity-key to the Hive agentic identity network
StremAI MCP: shared memory for AI coding agents. Connected agents can recall. OAuth + local stdio.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Finn-Aigc/ai-ops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server