Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/publish-mcp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish to Official MCP Registry

on:
release:
types: [published]
workflow_dispatch:

jobs:
publish-mcp:
name: Publish Server to modelcontextprotocol/registry
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install mcp-publisher
run: |
curl -sSL "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
chmod +x mcp-publisher

- name: Authenticate via GitHub OIDC
run: ./mcp-publisher login github-oidc

- name: Publish server.json to MCP Registry
run: ./mcp-publisher publish
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
persist-credentials: false

- name: Run OpenSSF Scorecard
uses: ossf/scorecard-action@v2.4.0
uses: ossf/scorecard-action@v2.4.1
with:
results_file: results.sarif
results_format: sarif
Expand Down
23 changes: 23 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.ritualdev-lab/agentshield",
"title": "AgentShield Enterprise Zero-Leak Secret Defense & Kernel Sandbox",
"description": "Enterprise Zero-Leak Secret Defense & Kernel Sandbox for Autonomous AI Agents",
"version": "0.2.1",
"status": "active",
"repository": {
"url": "https://github.com/RitualDev-Lab/AgentShield",
"source": "github"
},
"website": "https://ritualdev.in/agentshield",
"packages": [
{
"registryType": "npm",
"identifier": "@ritualdev-lab/agentshield",
"version": "0.2.1",
"transport": {
"type": "stdio"
}
}
]
}
24 changes: 24 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
startCommand:
type: stdio
configSchema:
type: object
properties:
mode:
type: string
enum: ["STRICT", "PERMISSIVE", "AUDIT"]
default: "STRICT"
title: "Enforcement Mode"
description: "Sandbox enforcement level for command execution"
redactSecrets:
type: boolean
default: true
title: "Redact Secrets"
description: "Automatically mask API tokens, credentials, and high-entropy secrets"
commandFunction: |-
(config) => ({
command: 'npx',
args: ['-y', '@ritualdev-lab/agentshield', 'sidecar']
})
exampleConfig:
mode: "STRICT"
redactSecrets: true
Loading