Skip to content

Commit 9e2afd6

Browse files
authored
Merge pull request #2 from manixate/feature/org-scope-package
Update npm package for developers-agent-toolkit to be organization scoped instead
2 parents 9b8c8ba + b90c2bb commit 9e2afd6

File tree

7 files changed

+51
-15
lines changed

7 files changed

+51
-15
lines changed

.github/workflows/npm-agent-toolkit-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: NPM Release mastercard-developers-agent-toolkit
1+
name: NPM Release @mastercard/developers-agent-toolkit
22

33
on:
44
workflow_dispatch: {}

README.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@
77

88
The Mastercard Developers Agent Toolkit allows popular agent frameworks (currently Model Context Protocol - MCP) to integrate with [Mastercard Developers Platform](https://developer.mastercard.com) for service discovery and integration guides.
99

10+
## Key Features
11+
12+
* **Service Discovery**: Enables agents to programmatically discover available services on the Mastercard Developers platform.
13+
* **Integration Guide Access**: Provides access to detailed documentation and integration guides.
14+
* **Flexible Deployment**: Can be run as a standalone server or integrated as a library in TypeScript/JavaScript projects.
15+
* **MCP-Based**: Built on the Model Context Protocol (MCP) for standardized communication.
16+
17+
## Supported Tool Calls
18+
19+
The toolkit provides the following tools for agents to use:
20+
21+
### Services
22+
23+
* `get-services-list`: Lists all available Mastercard Developers Products and Services with their basic information including title, description, and service id.
24+
25+
### Documentation
26+
27+
* `get-documentation`: Provides an overview of all available documentation for a specific Mastercard service including section titles, descriptions, and navigation links.
28+
* `get-documentation-section-content`: Retrieves the complete content for a specific documentation section.
29+
* `get-documentation-page`: Retrieves the complete content of a specific documentation page.
30+
* `get-oauth10a-integration-guide`: Retrieves the comprehensive OAuth 1.0a integration guide.
31+
* `get-openbanking-integration-guide`: Retrieves the comprehensive Open Banking integration guide.
32+
33+
### API Operations
34+
35+
* `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.
36+
* `get-api-operation-details`: Provides detailed information about a specific API operation including parameter definitions, request and response schemas, and technical specifications.
37+
1038
## Model Context Protocol
1139

1240
We provide a standalone Model Context Protocol (MCP) server that can be used with MCP clients.
@@ -22,14 +50,14 @@ For more details for the configuration options, see [modelcontextprotocol](model
2250
If you want to use the package in your project, you can install it using npm:
2351

2452
```bash
25-
npm install --save mastercard-developers-agent-toolkit
53+
npm install --save @mastercard/developers-agent-toolkit
2654
```
2755

2856
Requirements
2957
- Node 18+
3058

3159
```javascript
32-
import { MastercardDevelopersMCPServer } from "mastercard-developers-agent-toolkit/mcp";
60+
import { MastercardDevelopersMCPServer } from "@mastercard/developers-agent-toolkit/mcp";
3361
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3462

3563
const server = new MastercardDevelopersMCPServer({});
@@ -46,4 +74,12 @@ main().catch((error) => {
4674
});
4775
```
4876

49-
For more details, checkout [typescript](typescript/README.md) directory
77+
For more details, checkout [typescript](typescript/README.md) directory
78+
79+
## Contributing
80+
81+
Contributions are welcome. Please feel free to submit a pull request or open an issue to report a bug or suggest a feature.
82+
83+
## License
84+
85+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

modelcontextprotocol/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modelcontextprotocol/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.1.2",
2+
"version": "0.1.0",
33
"name": "mastercard-developers-mcp",
44
"homepage": "https://github.com/mastercard/developers-agent-toolkit/tree/main/modelcontextprotocol",
55
"description": "MCP server for Mastercard Developers Platform",

typescript/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Mastercard Developers Agent Toolkit allows popular agent frameworks (current
1010
## Installation
1111

1212
```bash
13-
npm install --save mastercard-developers-agent-toolkit
13+
npm install --save @mastercard/developers-agent-toolkit
1414
```
1515

1616
### Requirements
@@ -28,7 +28,7 @@ You can optionally specify `service` or `apiSpecification` as part of the config
2828
If you specify `service` or `api-specification` then the `get-services-list` tool will be disabled.
2929

3030
```typescript
31-
import { MastercardDevelopersMCPServer } from 'mastercard-developers-agent-toolkit/mcp';
31+
import { MastercardDevelopersMCPServer } from '@mastercard/developers-agent-toolkit/mcp';
3232
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
3333

3434
const server = new MastercardDevelopersMCPServer({

typescript/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "0.1.3",
3-
"name": "mastercard-developers-agent-toolkit",
2+
"version": "0.1.0",
3+
"name": "@mastercard/developers-agent-toolkit",
44
"homepage": "https://github.com/mastercard/developers-agent-toolkit",
55
"description": "Agent Toolkit for Mastercard Developers Platform",
66
"author": "Mastercard",

0 commit comments

Comments
 (0)