Nife MCP Server
The Nife MCP Server lets an AI assistant that supports the Model Context Protocol (MCP) work with your Nife account. You can ask it to deploy an app or a static site, check status and logs, look at costs and incidents, and more, in plain language. Every request runs with your own Nife sign-in, so the assistant can only do what your account can do.
Connect to the hosted server
The hosted server needs no download. You connect by URL:
https://mcp.on.nifetency.com/mcp
Claude (web, desktop and mobile)
- Open Settings, then Connectors, then Add custom connector.
- Enter the URL above.
- Click Connect. Claude sends you to the Nife sign-in page. Sign in with your Nife account (password, MFA or SSO) and approve the connection.
Clients that support request headers
Claude Code, Cursor, VS Code and other clients that let you set request headers can connect with a Nife token instead of the sign-in page. For Claude Code:
claude mcp add --transport http nife https://mcp.on.nifetency.com/mcp --header "Authorization: Bearer YOUR_NIFE_TOKEN"
Replace YOUR_NIFE_TOKEN with a token for your Nife account. You can get one with the nifectl command line: run nifectl auth login, then nifectl auth token. Keep the token private and revoke it if it is exposed.
When your Nife sign-in expires, the server asks the client to sign in again.
What you can do
The server groups its tools like this:
- Apps: list apps, see status, releases, logs and regions; deploy from a Docker image or from a GitHub, GitLab or Bitbucket repository; restart, pause, resume, scale, redeploy, roll back, set environment variables, delete.
- Static sites: list organizations and framework presets, check a repository before deploying, deploy a site from Git or from a public archive URL, redeploy, check status, view traffic, uptime, bandwidth and analytics, roll back, delete.
- Custom domains: get the CNAME record to create, add or remove a domain on an app or a site, and check DNS and SSL status.
- Incidents, alerts and SLOs: health insights, incidents, root cause analysis, alerts, anomalies and SLO status.
- Billing and cost: spending, usage, invoices, cost recommendations, forecasts and anomalies.
- Platform and infrastructure: delivery metrics, audit summaries, backup policies, capacity, clusters, cloud accounts, roles, plan limits and agents.
- Servers and VMs: start, stop or restart a registered server.
- Cron jobs: list runs, read run logs and trigger a run.
Each tool describes itself to your assistant, so you do not need to learn tool names. Just describe what you want.
Safety
- Your Nife token is never a tool parameter, so it does not enter the AI conversation.
- Tools that change live infrastructure are marked as such. The riskiest ones show a preview first and only act when you confirm.
- Deleting an app needs the app name twice.
- Secret values are never returned. App details show environment variable names only.
- Environment variable values you give the assistant when deploying or changing an app do pass through the conversation. Where you can, use stored secrets instead.
- There is no tool to add a Git token, because it would pass through the conversation. Add Git tokens in the Nife dashboard under Secrets, then refer to them by name.
Limits
- You cannot upload a file from your own computer through the assistant. Use a Git repository or a public archive URL.
- Deploying an app from Git needs a Dockerfile in the repository, or one supplied with the request. Builds can take several minutes.
- The server does not cover databases, webhooks, API and personal access tokens, marketplace apps, image optimization, email management, or creating volumes, snapshots, backups and VMs. For those, use the Nife dashboard or nifectl.
Run it yourself (local server)
You can also run the MCP server on your own machine with your access token. This older setup works with Claude Desktop and other clients that start a local server.
- Install it:
pip install nife-mcp-server, or run it withnpx @nifelabs/mcp-server@latest. - Get your token:
nifectl auth login, thennifectl auth token. - Add it to your client's MCP configuration with the token in the NIFE_ACCESS_TOKEN setting.
The source code is on GitHub at github.com/nifetency/nife-mcp-server. It also includes separate GraphQL and REST API servers, in the nife-mcp-graphql and nife-mcp-restapi repositories.
Troubleshooting
- The client says unauthorized: sign in again, or check that your token is current and that the header starts with the word Bearer followed by a space.
- The Request headers option is missing in Claude: use the Connect button and sign in instead.
- A deploy from Git fails: check that the repository has a Dockerfile, and that a private repository's Git token is stored in Secrets.
Need help? Email support@nife.io.
Related Resources
- 🤖 Nife MCP Server product page — overview, use cases, and setup for the MCP server
- 🌐 nife.io — Nife edge cloud platform
- 🚀 Launch Dashboard — Access your Nife platform
- 📦 OpenHub — Deploy open source apps in one click