{
  "markdown": "# Mastercard Developers Agent Toolkit\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://developer.mastercard.com/_/_/src/global/assets/svg/mcdev-logo-light.svg\">\n  <img src=\"https://developer.mastercard.com/_/_/src/global/assets/svg/mcdev-logo-dark.svg\" alt=\"mastercard developers logo\">\n</picture>\n\nThe Mastercard Developers Agent Toolkit allows popular agent frameworks (currently Model Context Protocol - MCP) to integrate with [Mastercard Developers](https://developer.mastercard.com) for service discovery and integration guides.\n\n## Key Features\n\n* **Service Discovery**: Enables agents to programmatically discover available services on the Mastercard Developers platform.\n* **Integration Guide Access**: Provides access to detailed documentation and integration guides.\n* **Flexible Deployment**: Can be run as a standalone server or integrated as a library in TypeScript/JavaScript projects.\n* **MCP-Based**: Built on the Model Context Protocol (MCP) for standardized communication.\n\n## Supported Tool Calls\n\nThe toolkit provides the following tools for agents to use:\n\n### Services\n\n* `get-services-list`: Lists all available Mastercard Developers Products and Services with their basic information including title, description, and service id.\n\n### Documentation\n\n* `get-documentation`: Provides an overview of all available documentation for a specific Mastercard service including section titles, descriptions, and navigation links.\n* `get-documentation-section-content`: Retrieves the complete content for a specific documentation section.\n* `get-documentation-page`: Retrieves the complete content of a specific documentation page.\n* `get-oauth10a-integration-guide`: Retrieves the comprehensive OAuth 1.0a integration guide.\n* `get-oauth20-integration-guide`: Retrieves the comprehensive OAuth 2.0 integration guide.\n* `get-openfinance-integration-guide`: Retrieves the comprehensive Open Finance integration guide.\n\n### API Operations\n\n* `get-api-operation-list`: Provides a summary of all API operations for a specific Mastercard API specification including HTTP methods, request paths, titles, and descriptions.\n* `get-api-operation-details`: Provides detailed information about a specific API operation including parameter definitions, request and response schemas, and technical specifications.\n\n## Model Context Protocol\n\nWe provide a standalone Model Context Protocol (MCP) server that can be used with MCP clients.\n\n```bash\nnpx -y @mastercard/developers-mcp\n```\n\nFor more details for the configuration options, see [modelcontextprotocol](modelcontextprotocol/README.md) directory\n\n### Installation\n\nIf you want to use the package in your project, you can install it using npm:\n\n```bash\nnpm install --save @mastercard/developers-agent-toolkit\n```\n\nRequirements\n- Node 18+\n\n```javascript\nimport { MastercardDevelopersAgentToolkit } from \"@mastercard/developers-agent-toolkit/mcp\";\nimport { StdioServerTransport } from \"@modelcontextprotocol/sdk/server/stdio.js\";\n\nconst server = new MastercardDevelopersAgentToolkit({});\n\nasync function main() {\n  const transport = new StdioServerTransport();\n  await server.connect(transport);\n  console.error(\"Mastercard Developers MCP Server running on stdio\");\n}\n\nmain().catch((error) => {\n  console.error(\"Fatal error in main():\", error);\n  process.exit(1);\n});\n```\n\nFor more details, checkout [typescript](typescript/README.md) directory\n\n## Contributing\n\nContributions are welcome. Please feel free to submit a pull request or open an issue to report a bug or suggest a feature.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.",
  "bytes": 3671,
  "sha": "2101ace50a09fb1b7ea2551d3e811692c037439350a41163b763cd6668cda50e",
  "repo_slug": "mastercard/developers-agent-toolkit",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_mastercard_developers_mcp_7779ae41/readme"
}