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.
Dokumentasi
agent-card-starter
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
| Path | What it is |
|---|---|
examples/well-known/agent-card.json | A2A agent card for a fictional "Beispiel Dachdecker GmbH" |
examples/well-known/agent.json | Byte-identical copy for older readers |
examples/agent-card.annotated.jsonc | Same card with comments (documentation only) |
examples/mcp-server-card.json | MCP server card for the same business |
templates/ | Blank-ish templates: server card and AI catalog |
server/mcp_server.py | MCP example server over stdio: tools leistungen and anfrage_anlegen (stub) |
tools/validate_agent_card.py | Offline 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
- Copy
examples/well-known/agent-card.json, replace name, description, provider, skills. - List only services you really offer. One skill per service, stable ids.
- Keep prices, phone numbers and promises out of the card. A human answers those.
- Run the validator, publish the file at
https://<your-domain>/.well-known/agent-card.json. - Point
supportedInterfacesat 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_anlegenis 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
| Pfad | Inhalt |
|---|---|
examples/well-known/agent-card.json | A2A-Agentenkarte für die fiktive "Beispiel Dachdecker GmbH" |
examples/well-known/agent.json | Byte-gleiche Kopie für ältere Leser |
examples/agent-card.annotated.jsonc | Dieselbe Karte mit Kommentaren (nur zur Erklärung) |
examples/mcp-server-card.json | MCP-Server-Karte für denselben Betrieb |
templates/ | Vorlagen: Server-Karte und KI-Katalog |
server/mcp_server.py | MCP-Beispielserver über stdio: Werkzeuge leistungen und anfrage_anlegen (Stub) |
tools/validate_agent_card.py | Prü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
examples/well-known/agent-card.jsonkopieren, Name, Beschreibung, Anbieter und Fähigkeiten ersetzen.- Nur Leistungen eintragen, die Sie wirklich anbieten. Eine Fähigkeit je Leistung, stabile Ids.
- Keine Preise, Telefonnummern oder Zusagen in die Karte. Das beantwortet ein Mensch.
- Prüfskript laufen lassen, Datei unter
https://<Ihre-Domain>/.well-known/agent-card.jsonablegen. supportedInterfacesauf 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_anlegenist 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.