Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

Add Agentcard connection (#2358)

Casey Gowrie1c2684ae0359
diff --git a/.changeset/agentcard-connection.md b/.changeset/agentcard-connection.md
new file mode 100644
index 000000000..2314a73c2
--- /dev/null
+++ b/.changeset/agentcard-connection.md
@@ -0,0 +1,5 @@
+---
+"eve": patch
+---
+
+Add the native Agentcard MCP connection to the registry through Vercel Connect.
diff --git a/apps/docs/lib/integrations/connection-setup.test.ts b/apps/docs/lib/integrations/connection-setup.test.ts
index 32095ce53..2376a02d1 100644
--- a/apps/docs/lib/integrations/connection-setup.test.ts
+++ b/apps/docs/lib/integrations/connection-setup.test.ts
@@ -28,6 +28,19 @@ describe("Browser Use connection setup", () => {
});
});
+describe("Agentcard connection setup", () => {
+ it("uses the standard connector name for the native Vercel Connect service", () => {
+ const integration = getIntegration("agentcard")!;
+ const setup = buildConnectionSetup(integration);
+ const quickStart = setup.variants["mcp:user"];
+
+ expect(quickStart).toContain('description: "Agentcard tools and data"');
+ expect(quickStart).toContain('auth: connect("agentcard")');
+ expect(setup.configureVariants["mcp:user"]).toContain("vercel connect create agentcard");
+ expect(setup.configureVariants["mcp:user"]).not.toContain("--name");
+ });
+});
+
describe("Kernel extension setup", () => {
it("uses Kernel's eve extension with Vercel Connect", () => {
const integration = getIntegration("kernel")!;
diff --git a/apps/docs/lib/integrations/connection-setup.ts b/apps/docs/lib/integrations/connection-setup.ts
index 1ebde48aa..26e4f47e0 100644
--- a/apps/docs/lib/integrations/connection-setup.ts
+++ b/apps/docs/lib/integrations/connection-setup.ts
@@ -84,7 +84,6 @@ const buildSnippet = (
if (headerLines.length > 0) {
fields.push(` headers: () => ({`, ...headerLines, ` }),`);
}
-
return [
`// agent/connections/${integration.slug}.ts`,
...imports,
diff --git a/apps/docs/lib/integrations/data.ts b/apps/docs/lib/integrations/data.ts
index 61e402663..8d0708d78 100644
--- a/apps/docs/lib/integrations/data.ts
+++ b/apps/docs/lib/integrations/data.ts
@@ -1604,6 +1604,12 @@ const connectionPresentations: Record<string, ConnectionPresentation> = {
configureNote:
"Browser Use runs tasks in managed cloud browsers. Add approval gates or tool filters before allowing unattended browser actions.",
},
+ agentcard: {
+ logo: "agentcard",
+ docsHref: "/docs/connections/mcp",
+ keywords: ["mcp", "shopping", "checkout", "payments", "virtual cards", "commerce", "connect"],
+ authModes: ["user"],
+ },
vercel: {
logo: "vercel",
docsHref: "https://vercel.com/docs/agent-resources/vercel-mcp",
diff --git a/apps/docs/lib/integrations/logos.tsx b/apps/docs/lib/integrations/logos.tsx
index 3d473120b..354923aa5 100644
--- a/apps/docs/lib/integrations/logos.tsx
+++ b/apps/docs/lib/integrations/logos.tsx
@@ -181,6 +181,17 @@ export const vercelLogo = (props: LogoProps) => (
</svg>
);
+export const agentcardLogo = (props: LogoProps) => (
+ <svg viewBox="0 0 214 152" xmlns="http://www.w3.org/2000/svg" {...props}>
+ <path
+ clipRule="evenodd"
+ d="M16 0H197.333C208 0 213.333 5.33333 213.333 16V136C213.333 146.667 208 152 197.333 152H16C5.33333 152 0 146.667 0 136V16C0 5.33333 5.33333 0 16 0ZM50.6667 33.3333H162.667V37.3333H50.6667V33.3333ZM50.6667 114.667H162.667V118.667H50.6667V114.667ZM50.6667 37.3333H54.6667V114.667H50.6667V37.3333ZM158.667 37.3333H162.667V114.667H158.667V37.3333ZM54.6667 78.6667H158.667V82.6667H54.6667V78.6667ZM104 37.3333H108V78.6667H104V37.3333Z"
+ fill="currentColor"
+ fillRule="evenodd"
+ />
+ </svg>
+);
+
export const linearLogo = (props: LogoProps) => (
<svg fill="none" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
@@ -686,6 +697,7 @@ export const logos = {
teams: teamsLogo,
telegram: telegramLogo,
twilio: twilioLogo,
+ agentcard: agentcardLogo,
vercel: vercelLogo,
linear: linearLogo,
context: contextLogo,
diff --git a/apps/docs/registry.json b/apps/docs/registry.json
index a79fe4670..c6b29e9cc 100644
--- a/apps/docs/registry.json
+++ b/apps/docs/registry.json
@@ -395,6 +395,39 @@
}
]
},
+ {
+ "name": "connection/agentcard",
+ "type": "registry:item",
+ "title": "Agentcard",
+ "description": "Shop at real merchants with consent-gated single-use virtual cards.",
+ "meta": {
+ "eve": {
+ "setup": {
+ "command": "eve",
+ "package": "eve",
+ "bin": "eve",
+ "args": [
+ "integration",
+ "connect",
+ "agentcard",
+ "agentcard",
+ "agentcard"
+ ]
+ },
+ "requires": ">=0.29.0"
+ }
+ },
+ "dependencies": [
+ "@vercel/connect"
+ ],
+ "files": [
+ {
+ "path": "registry/connections/agentcard.ts",
+ "type": "registry:file",
+ "target": "agent/connections/agentcard.ts"
+ }
+ ]
+ },
{
"name": "connection/airtable",
"type": "registry:item",
diff --git a/apps/docs/registry/connections/agentcard.ts b/apps/docs/registry/connections/agentcard.ts
new file mode 100644
index 000000000..077bb439c
--- /dev/null
+++ b/apps/docs/registry/connections/agentcard.ts
@@ -0,0 +1,8 @@
+import { defineMcpClientConnection } from "eve/connections";
+import { connect } from "@vercel/connect/eve";
+
+export default defineMcpClientConnection({
+ url: "https://mcp.agentcard.sh/mcp",
+ description: "Agentcard tools and data",
+ auth: connect("agentcard"),
+});
diff --git a/packages/eve-catalog/src/index.test.ts b/packages/eve-catalog/src/index.test.ts
index 00e305a1a..cda84cdc5 100644
--- a/packages/eve-catalog/src/index.test.ts
+++ b/packages/eve-catalog/src/index.test.ts
@@ -75,6 +75,12 @@ describe("integration catalog", () => {
expect(getIntegrationEntry("vercel")!.connection!.mcp!.url).toBe("https://mcp.vercel.com");
});
+ it("uses Agentcard's streamable HTTP MCP endpoint", () => {
+ expect(getIntegrationEntry("agentcard")!.connection!.mcp!.url).toBe(
+ "https://mcp.agentcard.sh/mcp",
+ );
+ });
+
it("uses Linear's streamable HTTP MCP endpoint", () => {
expect(getIntegrationEntry("linear")!.connection!.mcp!.url).toBe("https://mcp.linear.app/mcp");
});
diff --git a/packages/eve-catalog/src/index.ts b/packages/eve-catalog/src/index.ts
index 3ff29a820..1efd0447f 100644
--- a/packages/eve-catalog/src/index.ts
+++ b/packages/eve-catalog/src/index.ts
@@ -400,6 +400,17 @@ export const INTEGRATIONS: readonly IntegrationEntry[] = [
mcp: { url: "https://mcp.honeycomb.io/mcp" },
},
},
+ {
+ slug: "agentcard",
+ name: "Agentcard",
+ kind: "connection",
+ tagline: "Shop at real merchants with consent-gated single-use virtual cards.",
+ surfaces: { scaffoldable: false, registry: true, gallery: true },
+ connection: {
+ description: "Agentcard tools and data",
+ mcp: { url: "https://mcp.agentcard.sh/mcp" },
+ },
+ },
{
slug: "airtable",
name: "Airtable",