MCP server for n0s1 — scan Jira, Confluence, Slack, GitHub, GitLab, Zendesk, Linear, Asana, Wrike, and local files for leaked secrets
Project description
n0s1-mcp
An MCP server that exposes n0s1 secret-scanning capabilities as tools for AI assistants (Claude, Cursor, etc.).
Scan Jira, Confluence, Slack, GitHub, GitLab, Zendesk, Linear, Asana, Wrike, and local filesystems for leaked secrets — directly from your AI workflow.
Quickstart
No install required. Add this to your MCP client config and run via uvx:
{
"mcpServers": {
"n0s1": {
"command": "uvx",
"args": ["n0s1-mcp"]
}
}
}
For Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
For Claude Code: .claude/mcp.json in your project, or ~/.claude/mcp.json globally.
Available Tools
| Tool | Description | Required params |
|---|---|---|
scan_jira |
Scan Jira tickets | server, email, api_key |
scan_confluence |
Scan Confluence pages | server, email, api_key |
scan_slack |
Scan Slack channels | api_key |
scan_github |
Scan GitHub repositories | api_key, owner |
scan_gitlab |
Scan GitLab projects | api_key, owner |
scan_zendesk |
Scan Zendesk tickets | server, email, api_key |
scan_linear |
Scan Linear issues | api_key |
scan_asana |
Scan Asana tasks | api_key |
scan_wrike |
Scan Wrike tasks | api_key |
scan_local |
Scan local filesystem | scan_path |
get_scan_status |
Get status of a running/completed scan | report_uuid |
get_scan_findings |
Get paginated findings for a completed scan | report_uuid |
analyze_report |
Submit or advance async AI credential validation | report_uuid |
All scan_* tools accept these optional parameters:
| Parameter | Description |
|---|---|
report_uuid |
UUID to assign to the scan report. When set, overrides the auto-generated UUID written to the report JSON. |
ai_analysis |
Queue async AI credential validation after the scan (requires n0s1 Professional) |
n0s1_api_key |
n0s1 API key; overrides N0S1_TOKEN env var |
allow_secret_upload |
Allow encrypted secrets to be uploaded to the n0s1 backend (default: false) |
Pass wait_minutes to analyze_report (or directly on a scan tool alongside ai_analysis) to block until analysis completes.
Environment Variables
Credentials can be passed as tool arguments or pre-set as environment variables:
| Variable | Used by |
|---|---|
N0S1_TOKEN |
All scan tools with ai_analysis — Professional mode uploads and AI analysis |
JIRA_TOKEN |
scan_jira, scan_confluence |
JIRA_EMAIL |
scan_jira, scan_confluence |
SLACK_TOKEN |
scan_slack |
GITHUB_TOKEN |
scan_github |
GITLAB_TOKEN |
scan_gitlab |
ZENDESK_TOKEN |
scan_zendesk |
ZENDESK_EMAIL |
scan_zendesk |
LINEAR_TOKEN |
scan_linear |
ASANA_TOKEN |
scan_asana |
WRIKE_TOKEN |
scan_wrike |
Example with env vars pre-configured:
{
"mcpServers": {
"n0s1": {
"command": "uvx",
"args": ["n0s1-mcp"],
"env": {
"GITHUB_TOKEN": "ghp_...",
"JIRA_TOKEN": "ATATT..."
}
}
}
}
Usage Examples
Once connected, ask your AI assistant:
- "Scan my Jira project SEC for leaked secrets"
- "Check the GitHub org mycompany for exposed API keys"
- "Scan the /home/user/project directory for secrets"
- "Run an AI analysis on the scan report abc123"
For full parameter reference and AI analysis workflow details, see docs/ai.md.
Publishing to PyPI
pip install hatch
hatch build
hatch publish
License
GNU General Public License v3 — same as n0s1.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file n0s1_mcp-1.1.3.tar.gz.
File metadata
- Download URL: n0s1_mcp-1.1.3.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bea746db061a8f12ece0f13b3f3a60403496db3884930ab119a92378c59661db
|
|
| MD5 |
16f6d674a9c852964a3754988e6ed328
|
|
| BLAKE2b-256 |
c7ff6683db7ea7f8b18eac0a51768cbf31da6219e2a3e24ffaac20403220f62f
|
Provenance
The following attestation bundles were made for n0s1_mcp-1.1.3.tar.gz:
Publisher:
publish.yml on spark1security/n0s1-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
n0s1_mcp-1.1.3.tar.gz -
Subject digest:
bea746db061a8f12ece0f13b3f3a60403496db3884930ab119a92378c59661db - Sigstore transparency entry: 1809662625
- Sigstore integration time:
-
Permalink:
spark1security/n0s1-mcp@56c885a7aa1a8bdbb1c9dcafd5ca71e05734d438 -
Branch / Tag:
refs/tags/v1.1.3 - Owner: https://github.com/spark1security
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@56c885a7aa1a8bdbb1c9dcafd5ca71e05734d438 -
Trigger Event:
push
-
Statement type:
File details
Details for the file n0s1_mcp-1.1.3-py3-none-any.whl.
File metadata
- Download URL: n0s1_mcp-1.1.3-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d97a7dec5abb8a6d2eb05d3a944339a3b12b0624f7ef88c4f6a6d07f1de0ef
|
|
| MD5 |
70797ebf343cbd4bb0fd1eaec9cd52f3
|
|
| BLAKE2b-256 |
6e1a7343dadd58310af9c590b4ed03625037e54215e1f04502bdc28181600f6e
|
Provenance
The following attestation bundles were made for n0s1_mcp-1.1.3-py3-none-any.whl:
Publisher:
publish.yml on spark1security/n0s1-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
n0s1_mcp-1.1.3-py3-none-any.whl -
Subject digest:
23d97a7dec5abb8a6d2eb05d3a944339a3b12b0624f7ef88c4f6a6d07f1de0ef - Sigstore transparency entry: 1809662633
- Sigstore integration time:
-
Permalink:
spark1security/n0s1-mcp@56c885a7aa1a8bdbb1c9dcafd5ca71e05734d438 -
Branch / Tag:
refs/tags/v1.1.3 - Owner: https://github.com/spark1security
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@56c885a7aa1a8bdbb1c9dcafd5ca71e05734d438 -
Trigger Event:
push
-
Statement type: