# mcp server publish gate

> A 7-gate pre-flight audit for MCP servers to ensure tool schema validity, agent-readability, and runtime safety.

mcp server publish gate is a paid AI agent skill on Agensi by Kaminari Research, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.99 (one-time purchase)
- Creator: [Kaminari Research](https://www.agensi.io/creators/kaminari-research)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mcp-server-publish-gate
- Tags: llm-ops, mcp-server, api-design, security-audit, json-schema

## About this skill

Model Context Protocol (MCP) servers often fail in production because agents cannot interpret their tools or because they lack safety guards. This skill provides a rigorous pre-flight audit for MCP servers before they are published to registries like Smithery or deployed to internal teams. It identifies silent protocol failures, ambiguous tool descriptions, and security risks.

### What it does
- **Schema validation** checks that `inputSchema` uses narrow types and explicit properties while blocking `additionalProperties` injection surfaces.
- **Agent clarity scoring** evaluates tool descriptions to ensure they specify exact triggers and return values for LLM reasoning.
- **Safety annotation audit** identifies missing `destructiveHint` or `readOnlyHint` flags on sensitive operations like payments or deletions.
- **Transport verification** scans for `console.log` statements in `stdio` paths that corrupt the protocol and cause silent agent crashes.
- **Error path analysis** flags tools that return empty objects or stack traces instead of actionable instructions for agent self-correction.

### How it works
1. Point the skill to your server manifest (`package.json`) and tool implementation source files.
2. The agent executes a 7-gate audit covering schema, descriptions, safety, secrets, errors, transport, and runtime rails.
3. It generates a status table showing PASS/FAIL/WARN for every gate across your toolset.
4. You receive a prioritized remediation list ordered by severity to fix before publishing.

### Frameworks & tools
Works with any MCP server implementation, specifically targeting `stdio` and `sse` transport layers. Supports Node.js, Python, and Go implementations following the Model Context Protocol specification.

### Why this beats prompting it yourself
Generic prompts miss the subtle technicalities of the MCP spec, such as how stray stdout logs break the JSON-RPC framing or why agents ignore tools with broad schemas. This skill uses a structured 7-gate framework developed specifically for agentic interoperability and safety.

### Use cases
- Auditing a server before submitting to the Smithery or Agensi registries.
- Debugging a tool that an agent refuses to call or calls with the wrong parameters.
- Performing a safety review on inherited code before granting an agent write access.
- Hardening a wrapper for a paid API to prevent unexpected token usage or costs.

### Known limitations
Performs static analysis of code and manifests only. It does not execute tools against live environments or verify third-party API credentials. Audit results for registry requirements are advisory.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the mcp server publish gate skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this audit differ from a standard code linter or JSON validator?

This skill prevents 'silent failures' where an agent ignores a tool or crashes due to protocol corruption, specifically by catching schema errors and stray logs that standard linters miss.

### Which programming languages and transport protocols are supported by the audit?

It is compatible with any MCP-compliant server written in Node.js, Python, or Go, and works whether your server uses stdio or SSE transport layers.

### Do I need to manually configure the 7-gate framework for my specific server?

Simply point the skill to your server's manifest and source files; the agent will then automatically process the code through the 7-gate framework without requiring manual configuration.

### Does this skill require me to provide live API credentials or execute my tools during the audit?

The audit performs deep static analysis of your code and schemas, so it does not require live API keys or a running environment to identify security risks or protocol errors.

### What specific deliverables are included with the purchase of this skill?

You receive the full 7-gate diagnostic engine, a structured PASS/FAIL/WARN status report for your tools, and a prioritized remediation list for immediate fixes.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
