Agent Card Starter

io.github.flowboxx由 GitHub 账号 flowboxx 发布v0.2.2更新于 Nov 7, 2026

Starter kit for small businesses: A2A agent card, MCP server card, example MCP server, validator.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

用于生成并校验 A2A 智能体卡片与 MCP 服务器卡片的入门工具包,帮助小型企业被 AI 助手识别。

可以做什么
  • 根据名称、描述、网站和技能生成首份智能体卡片
  • 离线校验智能体卡片、服务器卡片与目录,支持严格模式
  • 提供示例卡片、模板和带注释的卡片作参考
  • 运行一个基于 stdio 的最小示例 MCP 服务器,含服务列表工具和占位的咨询工具
  • 附带独立校验脚本与 pytest 测试套件,便于本地检查
适用场景
当你希望在 well-known 路径发布描述企业或服务的机器可读卡片,或需要一个小型参考 MCP 服务器和卡片模板来学习时使用。
运行要求
本地 Python 3.9 及以上进程,从 PyPI 安装并用 uvx 或 pip 运行;仅用标准库,无需账号,校验不需要联网。运行示例服务器时 Docker 为可选项。
安装前请注意
示例咨询工具只是占位实现,不保存任何内容;README 提醒公开端点需要 HTTP 传输、限流、防垃圾与隐私声明。校验器并非完整 JSON Schema 校验,服务器卡片规范仍可能变动,且不保证助手会提及该企业。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Card Starter,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

agent-card-starter

[tests] [license MIT] [python 3.9+]

Write and check the machine-readable card that makes a small business readable for AI assistants. Its WordPress sibling, Open Door for AI Assistants, goes one step further: an AI assistant will be able to leave an inquiry for the business, and the business gets it as an e-mail (inquiry service coming soon).

In 60 seconds: AI assistants read a small JSON file to learn what your business does. This tool writes that file for you and checks it. Offline, no account, no dependencies.

bash
pip install agent-card-starteragent-card init --name "Muster Roofing Ltd" --description "Roofer in Musterstadt, repairs and new roofs." --website https://www.example.com --skill "Flat roof sealing"agent-card validate .well-known/agent-card.json --strict

Upload the file to https://<your-domain>/.well-known/agent-card.json and you are readable. Nothing here guarantees that an assistant will mention you.

In 60 Sekunden: KI-Assistenten lesen eine kleine Datei, um zu erfahren, was Ihr Betrieb macht. Dieses Werkzeug schreibt die Datei und prüft sie. Ohne Netz, ohne Konto, ohne Fremdpakete. Befehle siehe oben, die Datei kommt nach https://<Ihre-Domain>/.well-known/agent-card.json.

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)
agent_card/The agent-card command: init writes a first card, validate checks card, server card and catalog (offline)
tools/validate_agent_card.pySame validator as a plain script
tests/pytest suite

Quick start

bash
agent-card init --name "Your Business" --description "What you do and where." --website https://www.example.comagent-card validate .well-known/agent-card.json --strict# from a clone, without installing:python3 tools/validate_agent_card.py examples/well-known/agent-card.jsonpython3 tools/validate_agent_card.py examples/mcp-server-card.json --strictprintf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | python3 server/mcp_server.pypython3 -m pip install pytest && python3 -m pytest -qdocker 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)
agent_card/Der Befehl agent-card: init schreibt eine erste Karte, validate prüft Karte, Server-Karte und Katalog (ohne Netz)
tools/validate_agent_card.pyDasselbe Prüfskript als einfache Datei
tests/pytest-Tests

Schnellstart

bash
agent-card init --name "Ihr Betrieb" --description "Was Sie tun und wo." --website https://www.example.comagent-card validate .well-known/agent-card.json --strict# aus einem Klon, ohne Installation:python3 tools/validate_agent_card.py examples/well-known/agent-card.jsonpython3 tools/validate_agent_card.py examples/mcp-server-card.json --strictprintf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | python3 server/mcp_server.pypython3 -m pip install pytest && python3 -m pytest -qdocker 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.

Built with this? Tell us / Damit gebaut? Erzählen Sie es uns

If you published a card with this kit, show it in Discussions, Show and tell. We read every one. If you like, add the badge to your README:

Wenn Sie mit diesem Kit eine Karte veröffentlicht haben, zeigen Sie sie unter Discussions, Show and tell. Das Abzeichen für Ihre README:

markdown
[![built with agent-card-starter](https://img.shields.io/badge/built%20with-agent--card--starter-2b6cb0)](https://github.com/flowboxx/agent-card-starter)

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.

来源:README.md,提交 a1af50b

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

2
  1. v0.2.2最新Oct 31, 2026
  2. v0.2.1Oct 29, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分