squadco-mcp

squadco-mcp

Provides your AI coding assistant with direct, structured access to the full SquadCo API documentation for payments, transfers, virtual accounts, VAS, and webhooks.

Category
访问服务器

README

SquadCo API Docs MCP Server

Disclaimer: This is a community-driven project and is not affiliated with or endorsed by SquadCo. It is built by developers, for developers, using the official public SquadCo documentation.

The SquadCo MCP Server provides your AI coding assistant (Claude, Cursor, Windsurf, etc.) with direct, structured access to the full SquadCo API documentation.

Stop switching between your editor and the browser. Get precise API specs, validation logic, and code samples for SquadCo integrations directly in your chat.


Key Features

  • Direct Knowledge: Instant access to documentation for Payments, Transfers, Virtual Accounts, VAS, and Webhooks.
  • Accurate Specs: Returns the exact technical markdown sections—no fuzzy hallucinations.
  • Developer Ready: Full details on Sandbox environments, test cards, and security validation.
  • No Clone Needed: Run directly using uvx or pipx.

Capabilities

The MCP server covers the entire SquadCo ecosystem:

1. Payments and Collections

  • Checkout Options: Integration guides for the Squad Payment Modal (Inline), Redirect flows, and mobile-ready implementations.
  • Direct API: Technical specs for server-to-server payment initiation and transaction verification.
  • Alternative Methods: Documentation for POS Payment, Direct Debit, and E-commerce plugins (WooCommerce).
  • Testing: A comprehensive list of test card numbers, expiry dates, and CVVs for sandbox testing.

2. Transfers and Payouts

  • Fund Transfers: How to move funds from your Squad Wallet to any bank account in Nigeria.
  • Account Lookup: recipient name verification logic to ensure transaction accuracy.
  • Wallet Management: Checking ledger balances and transaction history.
  • Bank Codes: A complete, searchable list of all supported bank and microfinance codes.

3. Virtual Accounts

  • Account Generation: Creating dedicated virtual accounts for customers to receive automated bank transfers.
  • Dynamic V2: Advanced specifications for high-frequency, dynamic account creation and management.
  • Metadata: Attaching custom data to accounts for easier reconciliation.

4. Value Added Services (VAS)

  • Airtime and Data: API specs for selling mobile airtime and data bundles.
  • Bills Payment: Integration for electricity bills and other utility services.
  • SMS Services: Managing SMS buckets and automated messaging.

5. Operations and Security

  • Webhooks: Step-by-step setup for POST notifications, IP filtering, and signature verification.
  • Security: Technical guides for HMAC-SHA512 validation and AES-256 encryption/decryption.
  • Management: Detailed flows for Refunds, Disputes, and Chargebacks.

6. Sandbox and Testing

  • Environment Setup: Detailed information on using the sandbox-api.squadco.com endpoints.
  • Test Assets: A full database of test card numbers, CVVs, and standard OTP codes for simulating successful and failed payments.
  • Transfer Simulation: Specific API flows for simulating incoming bank transfers to virtual accounts in a test environment.

Tools

Tool Purpose
search_docs The main entry point. Search for any SquadCo feature (e.g., "AES encryption").
list_docs Browse all available API documentation files.
get_doc_structure View the structural map of a specific document to find precise sections.
resolve_section Fetch the full technical content, URLs, and code samples for a section.

Client Configuration Guide

1. Prerequisites

Before configuring your client, ensure you have the following installed on your host machine:

  • Python 3.10+: Required to run the server logic.
  • Package Manager: Either uv (recommended for speed) or pipx.
    • To install uv on Windows: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    • To install uv on macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh

2. Quick Setup (Recommended)

Add one of the following to your MCP settings in Claude, Cursor, or Windsurf.

Using uvx (Fastest):

{
  "mcpServers": {
    "squadco-docs": {
      "command": "uvx",
      "args": ["squadco-mcp"]
    }
  }
}

Using pipx:

{
  "mcpServers": {
    "squadco-docs": {
      "command": "pipx",
      "args": ["run", "squadco-mcp"]
    }
  }
}

3. Client-Specific Instructions

Claude Desktop

  1. Open the configuration file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the squadco-docs entry provided above.
  3. Restart Claude Desktop completely.

Cursor

  1. Open Cursor Settings > Features > MCP Servers.
  2. Click + Add New MCP Server.
  3. Name: squadco-docs
  4. Type: command
  5. Command: uvx squadco-mcp (If not found, use the absolute path to uvx).

Windsurf (by Codeium)

  1. Add the configuration to your mcpServers object in settings.json.
  2. Windows Location: %APPDATA%\Windsurf\User\settings.json

MCP Configuration Reference

Client MCP Integration Method squadco-mcp Configuration
Claude Desktop JSON-RPC over stdio Add to mcpServers in claude_desktop_config.json
Cursor Native MCP UI Use uvx squadco-mcp as the command
Windsurf Cascade MCP Add to mcpServers in settings.json
VS Code Workspace MCP Add to .vscode/mcp.json
Claude Code CLI MCP Manager Run claude mcp add squadco-mcp -- uvx squadco-mcp

Troubleshooting Tips

  • Command Not Found: If your client says uvx or pipx is not found, it is likely because the installation directory is not in your system's PATH.
    • Windows Fix: Restart your PC or use the absolute path to the executable (e.g., C:\Users\YourName\.local\bin\uvx.exe).
  • Restart Required: Most desktop clients (Claude, Cursor) require a full restart (not just closing the window) to pick up changes made to JSON configuration files or the system PATH.
  • Python Version: Ensure you are using Python 3.10 or higher. You can check this by running python --version in your terminal.
  • Connection Errors: If the server fails to connect, check the developer console in your client (usually Ctrl+Shift+I) for specific JSON-RPC errors.

Technical Details

The SquadCo MCP Server uses CiteKit (by @abdushakurob) to provide high-fidelity documentation access to AI agents.

Unlike standard RAG (Retrieval-Augmented Generation) which uses vector-based similarity, this server employs a structural mapping approach:

  • Pre-computed Mapping: Documentation is analyzed during ingestion to create a structural index of all API endpoints, parameters, and code blocks.
  • Deterministic Resolution: The AI assistant identifies the specific node it needs from the map and resolves the content locally from the bundled markdown files.
  • Precision Context: By resolving exact sections rather than chunked text, the server ensures the AI receives clean, relevant context without noise.

Stack:


推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选