MCP Hub
Back to servers

bitbank-api MCP Server

Exposes the bitbank-api TypeScript SDK source code and documentation to AI assistants via the Model Context Protocol. It enables assistants to search, list, and read SDK files to better understand and integrate with the bitbank API.

glama
Updated
Mar 7, 2026

@pokooo/bb-api-mcp

Model Context Protocol (MCP) server for bitbank-api — exposes the TypeScript SDK source to AI assistants via tools and resources.

npm license pnpm


Tools

ToolDescription
list_sdk_filesList all TypeScript source files in the bitbank-api SDK
get_sdk_fileReturn the full content of a specific SDK source file
search_sdkSearch across all SDK source files for a keyword (case-insensitive, with file name and line number)
get_api_overviewReturn a structured overview of all client classes and their public methods

Resources

URIDescription
bitbank-api://overviewStructured summary of all SDK clients and their methods
bitbank-api://source/<path>Raw content of an individual SDK source file

Installation

pnpm install
pnpm build

Requirements: Node.js 18+, and the bitbank-api repository cloned locally.


Quick Start

By default the server looks for the SDK at ../bitbank-api/src relative to this package. Override with an environment variable:

export BITBANK_API_SRC_PATH=/path/to/bitbank-api/src
node dist/index.js

Claude Desktop

Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "bb-api-mcp": {
      "command": "node",
      "args": ["/path/to/bb-api-mcp/dist/index.js"],
      "env": {
        "BITBANK_API_SRC_PATH": "/path/to/bitbank-api/src"
      }
    }
  }
}

Configuration

Environment VariableDefaultDescription
BITBANK_API_SRC_PATH../bitbank-api/srcAbsolute path to the bitbank-api SDK src directory

Development

pnpm dev    # Watch mode (tsc --watch)
pnpm build  # Compile TypeScript
pnpm start  # Start the server

License

MIT

Reviews

No reviews yet

Sign in to write a review