Skip to content

Commit 7c3dbcd

Browse files
Mohammod Al Amin Ashikclaude
andcommitted
refactor: standardize server IDs to {tld}.{publisher}-{name} format
Update schema regex to enforce exactly one dot: ^[a-z0-9]+\.[a-z0-9][a-z0-9-]*$ This allows one publisher to have multiple servers (e.g., com.cloudflare-docs, com.cloudflare-bindings) while preventing ambiguous multi-dot formats. Updated 18 server IDs from com.publisher.name to com.publisher-name. Added test cases for multi-dot and no-dot ID rejection. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2895edd commit 7c3dbcd

20 files changed

Lines changed: 28 additions & 25 deletions

schemas/server-definition.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"properties": {
99
"id": {
1010
"type": "string",
11-
"pattern": "^[a-z0-9.-]+$",
12-
"description": "Unique identifier in reverse-domain notation (e.g., com.example.server)"
11+
"pattern": "^[a-z0-9]+\\.[a-z0-9][a-z0-9-]*$",
12+
"description": "Unique identifier: {tld}.{publisher}-{name} (e.g., com.cloudflare-docs, community.linear). One publisher can have multiple servers."
1313
},
1414
"name": {
1515
"type": "string",

servers/aws.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.aws-kb",
2+
"id": "com.anthropic-aws-kb",
33
"name": "AWS Knowledge Base Retrieval",
44
"alias": "aws",
55
"description": "Retrieve information from AWS Knowledge Bases using Amazon Bedrock Agent Runtime. Query knowledge bases backed by various data sources for retrieval-augmented generation (RAG) workflows with AWS services.",

servers/brave-search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.brave.search",
2+
"id": "com.brave-search",
33
"name": "Brave Search",
44
"alias": "brave",
55
"description": "Perform web searches and local business lookups using the Brave Search API. Provides access to web search results, news, and local points of interest with privacy-respecting search technology.",

servers/cloudflare.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.cloudflare.mcp",
2+
"id": "com.cloudflare-mcp",
33
"name": "Cloudflare",
44
"alias": "cf",
55
"description": "Manage Cloudflare resources including Workers, KV namespaces, D1 databases, and R2 storage buckets. Deploy serverless functions, manage edge configuration, and interact with Cloudflare's developer platform.",

servers/docker.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.docker",
2+
"id": "com.anthropic-docker",
33
"name": "Docker",
44
"alias": "docker",
55
"description": "Manage Docker containers, images, volumes, and networks through MCP. List running containers, inspect configurations, view logs, manage images, and control container lifecycle operations.",

servers/everything.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.everything",
2+
"id": "com.anthropic-everything",
33
"name": "Everything (Reference Server)",
44
"alias": "everything",
55
"description": "A comprehensive test and reference MCP server that exercises all features of the MCP protocol. Includes sample tools, resources, prompts, and notifications for testing client implementations and learning the protocol.",

servers/fetch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.fetch",
2+
"id": "com.anthropic-fetch",
33
"name": "Fetch",
44
"alias": "fetch",
55
"description": "Fetch and extract content from web URLs. Retrieves web pages and converts them to markdown or plain text, enabling AI assistants to read and analyze web content including articles, documentation, and API responses.",

servers/filesystem.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.filesystem",
2+
"id": "com.anthropic-filesystem",
33
"name": "Filesystem",
44
"alias": "fs",
55
"description": "Provides secure access to the local file system with configurable allowed directories. Supports reading, writing, moving, and searching files with built-in safety controls to prevent access outside permitted paths.",

servers/github.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.github",
2+
"id": "com.anthropic-github",
33
"name": "GitHub",
44
"alias": "gh",
55
"description": "Interact with GitHub repositories, issues, pull requests, and more through the GitHub API. Supports repository management, file operations, branch management, issue tracking, and pull request workflows.",

servers/google-drive.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "com.anthropic.gdrive",
2+
"id": "com.anthropic-gdrive",
33
"name": "Google Drive",
44
"alias": "gdrive",
55
"description": "Access and search Google Drive files, read document contents, and manage files. Supports Google Docs, Sheets, and other Drive file types with OAuth 2.0 authentication for secure access.",

0 commit comments

Comments
 (0)