MCP server for controlling a Lightning wallet using Nostr Wallet Connect
If you already use Nwc, the nwc mcp server is the piece that lets your assistant work with it directly. MCP server for controlling a Lightning wallet using Nostr Wallet Connect.
This repository has been deprecated in favor of Alby MCP, which includes all the NWC tools along with additional Lightning tools.
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
STDIO — The STDIO tool exposed by this serverPrerequisites — The Prerequisites tool exposed by this serverInstallation — The Installation tool exposed by this serverBuilding — The Building tool exposed by this serverConfiguration is passed through the environment: NWC_CONNECTION_STRING. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Nwc's toolset — STDIO, Prerequisites, Installation and 1 more — is a fair guide to whether it matches your workflow. It is maintained by getAlby; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| STDIO | The STDIO tool exposed by this server. |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | The Installation tool exposed by this server. |
| Building | The Building tool exposed by this server. |
{
"mcpServers": {
"nwc": {
"command": "npx",
"args": ["-y", "@getalby/nwc-mcp-server"],
"env": {
"NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| NWC_CONNECTION_STRING | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.