Skip to content

Redser06/GPAPI-MCP_Redser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP GPAPI Server

This is a Model Context Protocol (MCP) server implementation for demonstrating payment transactions. It provides tools and capabilities for handling merchant transactions through a standardized protocol interface.

Features

  • MCP-compliant server implementation
  • Support for payment transactions
  • Tool-based interaction model
  • Secure authorization handling
  • Configurable via environment variables

Configuration

Create a .env file in the root directory with the following variables:

GOOGLE_API_KEY=your_google_api_key
GP_ACCESS_TOKEN=your_global_payments_access_token
GP_ENVIRONMENT=sandbox  # or live

Setup

  1. Create a Python virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install the package:
pip install -e .
  1. Run the server:
python -m src.main

Development

Install development dependencies:

pip install -e ".[dev]"

License

Apache 2.0

About

Implementation of GP-API MCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages