Skip to main content
Glama

Publish an MCP server to the official registry

publish_to_registry

Call this to get an MCP server into the official MCP Registry (which Glama, PulseMCP and others import from) without mcp-publisher or DNS: first call with url returns a one-line file to host at https:///.well-known/mcp-registry-auth; once it's up, call again with publisher_id and we publish server.json under your domain's namespace, then re-publish every new version automatically for 90 days. $5, charged only when we publish. Remove the file to revoke.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "publish_to_registry"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe MCP server's public https:// endpoint (Streamable HTTP).
slugNoOptional: the part after the slash in the registry name.
titleNo
domainNoOptional: the domain to verify (default: the URL's main domain, e.g. example.com for mcp.example.com). Becomes the namespace (com.example/...).
versionNoOptional: version to publish (default: the version your server reports).
websiteNo
repositoryNo
descriptionNoOne line, max 100 characters.
publisher_idNoSecond call: the publisher_id from the first call, after hosting the proof file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond annotations it discloses the two-phase proof-file handshake, the exact well-known URL, the $5 charge only on publish, 90-day auto re-publish, and revocation by removing the file. These are substantive behavioral facts (cost, reversibility, automation) not derivable from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single paragraph is front-loaded with the purpose and then follows the operational sequence (first call → host file → second call → billing/revocation). It is dense but every clause carries operational information; only light trimming would help.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, no-output-schema mutation flow, the description covers the protocol, cost, and reversal path well. Minor gaps remain, such as what error conditions look like or whether the first-call file is returned inline, but nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description maps url and publisher_id to their respective call phases and explains the domain-namespace linkage, which adds real meaning. However, at 67% schema coverage several params (slug, title, website, repository, description) are left to the schema alone, so it neither fully compensates nor is meaningless.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and target ('get an MCP server into the official MCP Registry') and even names downstream importers (Glama, PulseMCP), so an agent can immediately tell what this tool accomplishes versus a status/enrichment sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear call sequencing: 'first call with url', then 'once it's up, call again with publisher_id', and frames the alternative path ('without mcp-publisher or DNS'). It does not explicitly point at siblings like listing_status or launch_plan, but the usage context is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources