Catalog PyPI
PACKAGE EXPLORERView in registry

agent-server-card-mcp

PyPI

MCP Server for server card generation, validation and discovery — .well-known/mcp-server-card.json protocol

ai-agentdiscoverymcpmodel-context-protocolserver-cardwell-known
Versions collected1
Direct dependencies3From release 0.1.0
Last observed20 Oct, 23:20 UTC

README

Version 0.1.0 documentation

MCP Server Cards

An MCP server for generating, validating, and discovering MCP server cards — a standardized way to describe MCP servers so AI agents can automatically find and understand them.

What are Server Cards?

Server Cards are machine-readable JSON files that describe an MCP server's capabilities, similar to how robots.txt describes crawling rules or manifest.json describes web apps. They live at .well-known/mcp-server-card.json and contain:

  • Name & Description — What the server does
  • Tools — List of available tools with descriptions
  • Author & Repository — Who built it, where to find the source
  • Categories — Tags for discovery and search
  • Pricing — Whether it's free, freemium, or paid
  • Transport — Whether it uses stdio, HTTP, or both
  • Auth — Whether authentication is required

Why Server Cards?

As the MCP ecosystem grows, agents need a way to discover and evaluate servers automatically. Server Cards solve this by providing:

  1. Automatic Discovery — Agents can check .well-known/mcp-server-card.json on any domain
  2. Standardized Metadata — Consistent format for comparing servers
  3. Capability Description — Agents know what tools are available before connecting
  4. Trust Signals — Author, repository, and pricing information

Installation

pip install agent-server-card-mcp

Usage

As MCP Server

{
  "mcpServers": {
    "server-cards": {
      "command": "server-card-server"
    }
  }
}

With uvx

{
  "mcpServers": {
    "server-cards": {
      "command": "uvx",
      "args": ["agent-server-card-mcp"]
    }
  }
}

Available Tools

ToolDescription
generate_cardGenerate a .well-known/mcp-server-card.json for any MCP server
validate_cardValidate a server card against the JSON schema
discoverTry to discover a server card from a URL via .well-known
searchSearch indexed server cards by keyword
registerRegister a server card in the local index
schemaGet the full JSON schema for server cards

Server Card Example

{
  "name": "weather-mcp-server",
  "description": "Provides real-time weather data and forecasts",
  "version": "1.0.0",
  "author": "WeatherCorp",
  "repository": "https://github.com/example/weather-mcp",
  "tools": [
    {
      "name": "get_weather",
      "description": "Get current weather for a location"
    },
    {
      "name": "get_forecast",
      "description": "Get 7-day weather forecast"
    }
  ],
  "categories": ["weather", "climate", "data"],
  "pricing": "free",
  "auth_required": false,
  "transport": "stdio"
}

Server Card Schema

Required fields:

  • name — Unique server name
  • description — What the server does
  • version — Semantic version
  • tools — Array of {name, description} objects

Optional but recommended:

  • author — Author or organization
  • repository — Source code URL
  • categories — Tags for searchability
  • pricing — free | freemium | paid | open-source
  • auth_required — Boolean
  • transport — stdio | http | both

How Discovery Works

  1. An agent wants to find MCP servers on example.com
  2. It requests https://example.com/.well-known/mcp-server-card.json
  3. If the file exists, the agent parses it and learns about available tools
  4. The agent can then decide whether to connect based on the metadata

This follows the same pattern as .well-known/openid-configuration for OAuth or .well-known/ai-plugin.json for ChatGPT plugins.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.020 Mar 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
aiagentkarl/agent-server-card-mcp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:20 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:124f296c567e8c1cb8e074dce2e5ed3dea60a1059c47eaab9a2f0648fe45d3ac