agent-card-starter

Starter kit for small businesses: A2A agent card, MCP server card, minimal example server and validator. Python standard library only, MIT, docs in English and German.

เอกสาร

agent-card-starter

tests license MIT python 3.9+

Starter kit to make a small business readable and reachable for AI assistants: an A2A agent card, an MCP server card, a minimal MCP example server and a validator. Standard library only, Python 3.9+, MIT licensed.

Starter-Set, damit ein kleiner Betrieb für KI-Assistenten lesbar und erreichbar wird: Agentenkarte (A2A), Server-Karte (MCP), ein minimaler MCP-Beispielserver und ein Prüfskript. Nur Python-Standardbibliothek, ab Python 3.9, MIT-Lizenz.

Maintained by flowboxx, an agency that builds AI doors for businesses. Gepflegt von flowboxx, einer Agentur, die KI-Türen für Betriebe baut.


English

What is in here

PathWhat it is
examples/well-known/agent-card.jsonA2A agent card for a fictional "Beispiel Dachdecker GmbH"
examples/well-known/agent.jsonByte-identical copy for older readers
examples/agent-card.annotated.jsoncSame card with comments (documentation only)
examples/mcp-server-card.jsonMCP server card for the same business
templates/Blank-ish templates: server card and AI catalog
server/mcp_server.pyMCP example server over stdio: tools leistungen and anfrage_anlegen (stub)
tools/validate_agent_card.pyOffline validator for agent card, server card and catalog
tests/pytest suite

Quick start

python3 tools/validate_agent_card.py examples/well-known/agent-card.json
python3 tools/validate_agent_card.py examples/mcp-server-card.json --strict
printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | python3 server/mcp_server.py
python3 -m pip install pytest && python3 -m pytest -q
docker build -t agent-card-starter . && docker run -i --rm agent-card-starter   # MCP over stdio

Use it for your business

  1. Copy examples/well-known/agent-card.json, replace name, description, provider, skills.
  2. List only services you really offer. One skill per service, stable ids.
  3. Keep prices, phone numbers and promises out of the card. A human answers those.
  4. Run the validator, publish the file at https://<your-domain>/.well-known/agent-card.json.
  5. Point supportedInterfaces at an endpoint you really operate. The example server speaks MCP over stdio for learning. A public endpoint needs HTTP transport, rate limiting, spam protection and a privacy notice. anfrage_anlegen is a stub on purpose.

Notes on the standards

  • The agent card follows the A2A v1.0 field names (supportedInterfaces, skills, provider).
  • The server card follows the MCP Server Card proposal (SEP-2127). It is an extension and the schema may still change. Check the current schema before you publish.
  • The validator checks required fields and a few sanity rules. It is not a full JSON Schema validation.
  • Nothing here guarantees that an assistant will mention or recommend you.

Deutsch

Was drin ist

PfadInhalt
examples/well-known/agent-card.jsonA2A-Agentenkarte für die fiktive "Beispiel Dachdecker GmbH"
examples/well-known/agent.jsonByte-gleiche Kopie für ältere Leser
examples/agent-card.annotated.jsoncDieselbe Karte mit Kommentaren (nur zur Erklärung)
examples/mcp-server-card.jsonMCP-Server-Karte für denselben Betrieb
templates/Vorlagen: Server-Karte und KI-Katalog
server/mcp_server.pyMCP-Beispielserver über stdio: Werkzeuge leistungen und anfrage_anlegen (Stub)
tools/validate_agent_card.pyPrüfskript ohne Netz für Agentenkarte, Server-Karte und Katalog
tests/pytest-Tests

Schnellstart

python3 tools/validate_agent_card.py examples/well-known/agent-card.json
python3 tools/validate_agent_card.py examples/mcp-server-card.json --strict
printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | python3 server/mcp_server.py
python3 -m pip install pytest && python3 -m pytest -q
docker build -t agent-card-starter . && docker run -i --rm agent-card-starter   # MCP over stdio

Für den eigenen Betrieb nutzen

  1. examples/well-known/agent-card.json kopieren, Name, Beschreibung, Anbieter und Fähigkeiten ersetzen.
  2. Nur Leistungen eintragen, die Sie wirklich anbieten. Eine Fähigkeit je Leistung, stabile Ids.
  3. Keine Preise, Telefonnummern oder Zusagen in die Karte. Das beantwortet ein Mensch.
  4. Prüfskript laufen lassen, Datei unter https://<Ihre-Domain>/.well-known/agent-card.json ablegen.
  5. supportedInterfaces auf einen Endpunkt zeigen lassen, den Sie wirklich betreiben. Der Beispielserver spricht MCP über stdio zum Lernen. Ein öffentlicher Endpunkt braucht HTTP, Mengenbegrenzung, Spam-Schutz und einen Datenschutzhinweis. anfrage_anlegen ist absichtlich ein Stub und speichert nichts.

Hinweise zu den Standards

  • Die Agentenkarte folgt den Feldnamen von A2A v1.0 (supportedInterfaces, skills, provider).
  • Die Server-Karte folgt dem MCP-Vorschlag Server Card (SEP-2127). Das ist eine Erweiterung, das Schema kann sich noch ändern. Vor dem Veröffentlichen das aktuelle Schema prüfen.
  • Das Prüfskript prüft Pflichtfelder und einige Plausibilitäten, keine vollständige JSON-Schema-Validierung.
  • Nichts hier garantiert, dass ein Assistent Sie nennt oder empfiehlt.

As is / Ohne Gewähr

This is a starting point, provided "as is" under the MIT license, without warranty of any kind. Standards around agent cards and server cards are young and change. Check the current specifications before you publish. Nothing here is legal advice, and nothing guarantees that an assistant will mention or recommend your business. Changes are listed in CHANGELOG.md, how to help is in CONTRIBUTING.md.

Dies ist ein Ausgangspunkt, bereitgestellt "wie besehen" unter der MIT-Lizenz, ohne Gewähr. Die Standards rund um Agentenkarten und Server-Karten sind jung und ändern sich. Prüfen Sie vor dem Veröffentlichen die aktuellen Spezifikationen. Nichts hier ist Rechtsberatung, und nichts garantiert, dass ein Assistent Ihren Betrieb nennt oder empfiehlt. Änderungen stehen in CHANGELOG.md, Mitmachen steht in CONTRIBUTING.md.

MIT License, see LICENSE. Questions and contributions welcome via issues. Fragen und Beiträge gern als Issue.

Built and maintained by flowboxx, Germany.