This release is a pre-release and may not be stable for production use.
node-wire-slack
Slack connector for Node Wire. Lets an agent or app post messages to channels, send direct messages to users, and upload files, using a Slack bot token.
Part of Node Wire. Every call runs through the Node Wire runtime, so it gets input validation, retries with a circuit breaker, scope policy, a shared error taxonomy, and OpenTelemetry tracing. A Node Wire host exposes each action over REST, gRPC and MCP.
Install
pip install node-wire-slack
This pulls in node-wire-runtime. Pre-releases
are published as X.Y.ZbN; install one with pip install --pre node-wire-slack. To install
every connector at once, use node-wire-connectors.
Wheels are compiled with Cython and contain no Python source. They are built for CPython 3.11, 3.12 and 3.13 on Linux x86_64 (manylinux and musllinux), macOS arm64 and Windows x64.
Actions
The connector registers as slack. MCP tool names are <connector_id>_<action>, with
dots replaced by underscores.
| Action | MCP tool | What it does |
|---|---|---|
post_message |
slack_post_message |
Posts a message, with optional Block Kit blocks, to a channel ID, #channel-name or user |
send_direct_message |
slack_send_direct_message |
Sends a private message to a user, opening the DM if needed |
upload_file |
slack_upload_file |
Uploads a file (base64 content, or a file from the attachments directory) and shares it to a channel or DM |
Configuration
Add the connector to config/connectors.yaml:
connectors:
slack:
enabled: true
exposed_via: ["rest", "grpc", "mcp"]
auth:
provider: static_token
secret_key: SLACK_BOT_TOKEN
Secrets are read through the configured secret provider (environment variables by default):
| Variable | Purpose |
|---|---|
SLACK_BOT_TOKEN |
Bot user OAuth token (xoxb-...). Needs the chat:write, files:write and im:write scopes |
NW_SLACK_ATTACHMENTS_DIR |
Optional. The only directory upload_file may read from disk (default /slack_attachments) |
NW_SLACK_UPLOAD_LIMIT_MB |
Optional. Largest file upload_file accepts, in MB (default 50, capped at 100) |
Usage
Set NW_ALLOWED_CONNECTORS=slack (comma-separate several). Node Wire loads only the
connectors listed there, and discovers them through the node_wire.connectors entry point.
A Node Wire host (the REST, gRPC or MCP server, or ConnectorFactory) then builds the connector
from the configuration above. See Use a connector.
Security notes
upload_file reads local files only from inside NW_SLACK_ATTACHMENTS_DIR. The path must be
absolute, and is refused if it resolves outside that directory, including through a symlink.
Documentation
- Node Wire on GitHub: source, issues and full documentation
- Slack setup guide: bot setup, channel resolution and error codes
- Connector reference
- Configuration
- Error codes
- Changelog
License
Apache-2.0. See LICENSE.
Metadata
Release files for node-wire-slack 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 6.0 MB
Release files / node_wire_slack-1.0.0b1-cp313-cp313-win_amd64.whl
| Download URL | node_wire_slack-1.0.0b1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 131.3 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c3428c0ec98f3ba1ad2b75266ec8049dbb1bf4d646e45dec29fbc8bdcd3f17cc
|
|
BLAKE2b-256 checksum How to use checksums |
0019f3b7edb688ba2333f34a1435d81b7740e9eea6575653104624869b5545e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | node_wire_slack-1.0.0b1-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 844.3 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ff6ba2791780dce11f495f4558ddb33a85fc13cc5d434bdd596fb528a86ccbc
|
|
BLAKE2b-256 checksum How to use checksums |
73f710cd46deb24e7df7793b3e3af9d2e9bce7ba818581fde9f99267f2b54f28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | node_wire_slack-1.0.0b1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 862.8 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3ddc85c5c70b80febbf4d2ae6e2171c812676714661dc3c8663a05248cf8088a
|
|
BLAKE2b-256 checksum How to use checksums |
9c61828184252778aba70a1d0dd58fa96e3c1f7276fb7520f61bcb3e90f4ea5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | node_wire_slack-1.0.0b1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 143.9 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
43d97d73ea719dda69dc7b8f01fc8fbf2b5eef06f44bdbbfbda741c8f66e685c
|
|
BLAKE2b-256 checksum How to use checksums |
b901acbbc9c613aa3a8f68febef600aaaf8e4804bdae9a4691c4b74ae55d8ce5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp312-cp312-win_amd64.whl
| Download URL | node_wire_slack-1.0.0b1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 133.3 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2a291280b965a5b0aa030a28ac87a27600cbd09b1a90832cbc6d30c18c763408
|
|
BLAKE2b-256 checksum How to use checksums |
0e1bfda8440a6c7fd6d4196f91b9fb55dfcf64c7f3af0bfce94a1ac31ff9ee66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | node_wire_slack-1.0.0b1-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 847.5 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
15c34c55cca91e771630c7dd4dc1daf15e307ecb447b6c15be08908902d20ff8
|
|
BLAKE2b-256 checksum How to use checksums |
d0d7bdc35129481e506546975b75c483a01506a906677cd5e61a721fdd781892
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | node_wire_slack-1.0.0b1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 869.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
21d591483c90915dcba5be33e6e5d8232a155754fe705dea6e0acffb351c6792
|
|
BLAKE2b-256 checksum How to use checksums |
821b94ef7640d819d83f4c762dca80906e31c6482b5eee0eed9a9ed077366d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | node_wire_slack-1.0.0b1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 145.6 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
839802d7f157c21be18203eb5ef304320d51ae4de1e0665c0b9439f57546cc57
|
|
BLAKE2b-256 checksum How to use checksums |
b35ff3b6fdcbf50c6e5cd0519749cfd491e9443677b7ef5fb6b2fb7f1f2bb1e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp311-cp311-win_amd64.whl
| Download URL | node_wire_slack-1.0.0b1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 140.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6ced5fc4cdd8657127eaf9e3ecfe21a2e939e898b06c7889f2b0b7c2af5926fa
|
|
BLAKE2b-256 checksum How to use checksums |
239257471c63343efa8487ec60bdc123b5c7a6301c37a04a62bd68d5289da807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | node_wire_slack-1.0.0b1-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 858.1 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
5a479e52ccdec7abb057e5cd8fa63ac16aada2b72b664c9f8b7823c441425e4f
|
|
BLAKE2b-256 checksum How to use checksums |
ff41ce324cb6c01a39c75b000eb5378c5ad0aec1b124a568a2e620a993717c1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | node_wire_slack-1.0.0b1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 868.4 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d5d661d3fe8eb580c7389cef14e6a2e3bb707c4d69a47bbd968cf00c3d6a9230
|
|
BLAKE2b-256 checksum How to use checksums |
8636762076410f0d01fecf0fedc3bdb6e9643997bba4d54c0b697f215cb51974
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / node_wire_slack-1.0.0b1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | node_wire_slack-1.0.0b1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 144.9 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ea22a35178081110979132984e0a6692d1d8fd0776c7cda6001c2521b72f2d84
|
|
BLAKE2b-256 checksum How to use checksums |
9ae1250d6cd8285e1ff9df5a95c67cdaac304121fc5da9e2ee787647b9de5d37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency log