{"id":50978433,"url":"https://github.com/visa/ai","last_synced_at":"2026-06-19T11:04:45.522Z","repository":{"id":326261352,"uuid":"1090553246","full_name":"visa/ai","owner":"visa","description":"Integration toolkit for connecting AI agents to the Visa Intelligent Commerce platform.","archived":false,"fork":false,"pushed_at":"2026-06-05T19:32:59.000Z","size":354,"stargazers_count":27,"open_issues_count":0,"forks_count":10,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-05T21:12:20.758Z","etag":null,"topics":["ai","mcp","skills"],"latest_commit_sha":null,"homepage":"https://developer.visa.com/capabilities/visa-intelligent-commerce","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-05T20:26:15.000Z","updated_at":"2026-06-05T19:33:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/visa/ai","commit_stats":null,"previous_names":["visa/mcp","visa/ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/visa/ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visa%2Fai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visa%2Fai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visa%2Fai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visa%2Fai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visa","download_url":"https://codeload.github.com/visa/ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visa%2Fai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34528147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","mcp","skills"],"created_at":"2026-06-19T11:04:45.376Z","updated_at":"2026-06-19T11:04:45.512Z","avatar_url":"https://github.com/visa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visa AI\n\nAI tools, examples, and integrations for the Visa Developer Platform. This repository brings together reusable packages, client examples, an AI agent demo, Claude Code skills, a Gemini CLI extension, and documentation resources for building AI-powered experiences with Visa APIs.\n\n## What's Inside\n\n| Directory / File | Description |\n|---|---|\n| [`packages/`](#packages) | Reusable npm packages for Visa API integration |\n| [`apps/`](#client-usage-examples) | Client usage examples (MCP, VIC API, VDP API) |\n| [`vic-agent/`](#agent-demo) | AI agent demonstrating VTS card tokenization and Visa Passkey usage (LangGraph + Next.js) |\n| [`skills/`](#skills-claude-code) | AI assistant skills for Claude Code |\n| [`gemini-extension.json`](#gemini-cli-extension) | Gemini CLI extension for Visa Documentation MCP Server (VIC + VDP) |\n\n## Packages\n\nReusable Node.js/TypeScript packages for Visa API integration:\n\n- **[@visa/token-manager](./packages/token-manager)** - JWE token generation and management for MCP authentication\n- **[@visa/mcp-client](./packages/mcp-client)** - MCP client for connecting to Visa MCP server with automatic authentication\n- **[@visa/api-client](./packages/api-client)** - API clients for VIC and VDP with X-Pay authentication and MLE encryption\n\n## Client Usage Examples\n\nWorking examples in the [`apps/`](./apps) directory:\n\n- **[vic-mcp-examples/](./apps/vic-mcp-examples)** - MCP server connection, tool invocation, and workflow orchestration\n- **[vic-api-examples/](./apps/vic-api-examples)** - Direct REST API integration with X-Pay authentication and MLE encryption\n- **[vdp-api-examples/](./apps/vdp-api-examples)** - VDP connectivity testing with X-Pay authentication\n\n## Agent Demo\n\nThe [`vic-agent/`](./vic-agent) directory contains a LangGraphJS-powered AI agent with a Next.js UI that demonstrates VTS card tokenization and Visa Passkey usage:\n\n- Card tokenization via VTS\n- Device binding with FIDO authentication\n- Step-up verification and Visa Payment Passkey creation\n- Assurance data collection and VIC enrollment\n\nSee [vic-agent/README.md](./vic-agent/README.md) for setup instructions.\n\n## Skills (Claude Code)\n\nThe [`skills/`](./skills) directory contains skills for Claude Code that provide best practices and integration guidance for the Visa Developer Platform.\n\nInstall a skill into your project:\n\n```bash\ngit clone https://github.com/visa/ai.git\ncp -r ai/skills/\u003cskill-name\u003e \u003cyour-project\u003e/.claude/skills/\n```\n\nSee [skills/README.md](./skills/README.md) for available skills and installation options.\n\n## Gemini CLI Extension\n\nThe [`gemini-extension.json`](./gemini-extension.json) file provides a Gemini CLI extension that connects to the Visa Documentation MCP Server, giving Gemini access to VIC and VDP integration guides and tool definitions.\n\n```bash\ngemini extensions install https://github.com/visa/ai\n```\n\nFor details, visit the [Documentation MCP Server Wiki page](https://github.com/visa/ai/wiki/Documentation-MCP-Server).\n\n## Documentation MCP Server\n\nA dedicated MCP server that provides AI agents with integration guides, examples, and tool definitions for Visa APIs.\n\n**Endpoint:** `https://sandbox.mcp.visa.com/mcp/doc`\n\n- **get-docs** tool for retrieving structured documentation\n- Authentication patterns, payload schemas, and best practices\n- MCP and direct API integration guides\n\n**Learn more:** [Documentation MCP Server Wiki](https://github.com/visa/mcp/wiki/Documentation-MCP-Server)\n\n## Visa Intelligent Commerce\n\nVisa Intelligent Commerce (VIC) enables AI agents to securely browse, shop, and purchase on behalf of consumers using tokenized digital credentials and integrated APIs.\n\nFor a full overview of the platform, how it works, and integration resources, see the [Visa Intelligent Commerce wiki page](https://github.com/visa/ai/wiki/Visa-Intelligent-Commerce).\n\n## Visa APIs and Integration\n\n- [Visa Intelligent Commerce Capabilities](https://developer.visa.com/capabilities/visa-intelligent-commerce) - Overview of VIC features and capabilities\n- [Visa Developer Center](https://developer.visa.com) - Main portal for Visa API documentation, credentials, and testing environments\n- [Visa MCP Hub](https://mcp.visa.com) - Central hub for Model Context Protocol server information and integration\n- [Visa Developer Quick Start Guide](https://developer.visa.com/pages/working-with-visa-apis/visa-developer-quick-start-guide) - Getting started with Visa APIs\n- [X-Pay Token Authentication](https://developer.visa.com/pages/working-with-visa-apis/x-pay-token) - Guide for implementing X-Pay token-based authentication\n- [Encryption Guide](https://developer.visa.com/pages/encryption_guide) - Message Level Encryption (MLE) documentation and best practices\n\n## Building the Project\n\nThis repository uses npm workspaces with Turbo for efficient build orchestration.\n\n### Initial Setup\n\n```bash\n# Install all dependencies (one command for everything)\nnpm install\n```\n\nThis installs dependencies for all packages and apps at once, using npm workspaces to hoist shared dependencies to the root.\n\n### Build Commands\n\n```bash\n# Build all packages and apps\nnpm run build\n\n# Build only packages (token-manager, mcp-client, api-client)\nnpm run build:packages\n\n# Build only apps (vic-mcp-examples, vic-api-examples, vdp-api-examples)\nnpm run build:apps\n\n# Build packages and agent\nnpm run build:agent\n\n# Clean all build artifacts\nnpm run clean\n```\n\n## License\n\nSee LICENSE file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisa%2Fai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisa%2Fai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisa%2Fai/lists"}