Payments Developer Portal MCP Server
A Model Context Protocol (MCP) server implementation that connects to a payments company's developer portal hosted on Firebase. This server provides AI assistants with access to payment documentation, APIs, and guides through the MCP TypeScript SDK.
What is MCP?
The Model Context Protocol (MCP) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. Think of it like a web API, but specifically designed for LLM interactions.
MCP servers can:
Expose data through Resources
Provide functionality through Tools
Define interaction patterns through Prompts
Related MCP server: PayPal MCP Server
Getting Started
Prerequisites
Node.js (v16 or higher)
npm
Firebase hosting running locally at http://localhost:4000 with documentation content
Installation
Running the Server
Development
For development with automatic reloading:
Available Features
MCP Server
Tools
search_docs: Search the developer portal documentationget_resource_by_id: Get a specific resource by its IDlist_categories: List all available documentation categorieslist_resources_by_category: List resources in a specific categorylist_resources_by_tag: List resources with a specific tagget_related_resources: Get resources related to a specific resource
Resources
payments-docs://api: Access API reference documentationpayments-docs://documentation: Access general documentationpayments-docs://guides: Access guides and tutorialspayments-docs://categories: View documentation categoriespayments-docs://tags: View documentation tags
Documentation Structure
The MCP server connects to a Firebase hosting at http://localhost:4000 which contains:
API references (JSON files)
Documentation (Markdown files)
Guides (Markdown files)
Categories and tags organization
The server uses a docs-index.json file that contains metadata about all documentation resources, including:
Resource ID, title, description, and path
Resource type (api, documentation, guide, reference)
Topics and related resources
Categorization and tagging information
Testing
You can test your MCP server using the MCP Inspector.
License
ISC