nats-server README

The project's README from github.com/nats-io/nats-server. As one markdown file: README.md.

NATS Logo

NATS is a simple, secure and performant communications system for digital systems, services and devices. NATS is part of the Cloud Native Computing Foundation (CNCF). NATS has over 40 client language implementations, and its server can run on-premise, in the cloud, at the edge, and even on a Raspberry Pi. NATS can secure and simplify design and operation of modern distributed systems.

License Build Release Slack Coverage Docker Downloads GitHub Downloads CII Best Practices Artifact Hub

Documentation

Contact

Contributing

If you are interested in contributing to NATS, read about our...

Roadmap

The NATS product roadmap can be found here.

Adopters

Who uses NATS? See our list of users on https://nats.io.

Security

Security Audit

A third party security audit was performed by Trail of Bits following engagement by the Open Source Technology Improvement Fund (OSTIF). You can see the full report from April 2025 here.

Reporting Security Vulnerabilities

If you've found a vulnerability or a potential vulnerability in the NATS server, please let us know at nats-security.

License

Unless otherwise noted, the NATS source files are distributed under the Apache Version 2.0 license found in the LICENSE file.

nats-server (nats-io/nats-server)

pubsub
Searching Database…

What is this?This is the NATS server — the high-performance core of NATS.io, a messaging system for connecting digital systems, services and devices. It's a CNCF project.
Is this the server itself, or do I install something in my apps as well?This repo is just the server. Your applications connect to it as clients, using one of the 40+ client implementations available for other languages.
How do I get a server up and running?The README skips install steps and points to the official docs. Prebuilt release binaries and Docker images are published, so the path is: grab one, start the server, connect clients.
Do I need anything else installed before it will run?No — it's a self-contained Go server with an empty external-dependency list. Applications only need a NATS client library for their language.
What kinds of systems do people wire together with it?Anything where many services or devices need to exchange messages: cloud microservices, on-prem clusters, and edge or IoT fleets — the repo's topics even call out connected vehicles.
Can it really run on something as small as a Raspberry Pi?Yes — it runs on-premise, in the cloud, at the edge, and even on a Raspberry Pi, which makes it a fit for resource-constrained edge devices.
Can I use it in commercial products, or is the license restrictive?Apache 2.0 — permissive, with no restrictions on commercial use, so you can embed it in proprietary products freely.
Is NATS.io the same thing as this repo?NATS is the messaging system as a whole; this repo holds only its high-performance server. Client libraries, docs and tooling live in separate repositories in the nats.io ecosystem.
Is this an active project or abandonware?Very active: the codebase dates back to 2012, has around 21,000 stars, and CI runs nightly builds. It's CNCF-backed, with a public roadmap and an adopters list of production users.
Has the code ever been security audited?Yes — Trail of Bits performed a third-party security audit in April 2025, arranged through OSTIF, and the full report is linked from the README.
Can regular MQTT clients connect to it?Yes — the repo's CI includes a dedicated MQTT compatibility workflow (mqtt-test.yaml), so the server's MQTT support is kept tested alongside its native protocol.
What are similar projects?rocketmq, WasmEdge, nsq, dapr, awesome-microservices, emqx, encore, k3s
Creator
nats-io
Size
62.8 MB
Stars
20.9K
Age
13y
Commits · 90 Days