MCP server/ai-tools

bitbank-api MCP Server

MCP server for bitbank-api exposing TypeScript SDK source to AI assistants

bb-sdk/bb-api-mcp ↗by bb-sdkupdated
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

pnpm install
pnpm build
2

Register it in Claude Code

claude mcp add bitbank-api -- node /path/to/bb-api-mcp/dist/index.js

Replace any placeholder paths in the command with the real path on your machine.

3

Make your agent remember this setup

bitbank-api's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Exposes TypeScript SDK source code to AI assistants
  • Provides structured overview of client classes and methods
  • Enables keyword-based searching across SDK source files
  • Allows reading raw content of specific SDK files

Tools 4

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
get_api_overviewReturn a structured overview of all client classes and their public methods

Environment Variables

BITBANK_API_SRC_PATHAbsolute path to the bitbank-api SDK src directory

Try it

List all the available files in the bitbank-api SDK.
Search the SDK for the implementation of the public trade methods.
Get an overview of all client classes and their public methods.
Read the content of the main client source file.
Original README from bb-sdk/bb-api-mcp

@pokooo/bb-api-mcp

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


Tools

Tool Description
list_sdk_files List all TypeScript source files in the bitbank-api SDK
get_sdk_file Return the full content of a specific SDK source file
search_sdk Search across all SDK source files for a keyword (case-insensitive, with file name and line number)
get_api_overview Return a structured overview of all client classes and their public methods

Resources

URI Description
bitbank-api://overview Structured summary of all SDK clients and their methods
bitbank-api://source/ 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 Variable Default Description
BITBANK_API_SRC_PATH ../bitbank-api/src Absolute 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

Frequently Asked Questions

What are the key features of bitbank-api?

Exposes TypeScript SDK source code to AI assistants. Provides structured overview of client classes and methods. Enables keyword-based searching across SDK source files. Allows reading raw content of specific SDK files.

What can I use bitbank-api for?

Developers integrating the bitbank API into their applications. AI-assisted debugging of bitbank-api SDK usage. Quickly referencing SDK method signatures and class structures. Exploring SDK source code without leaving the Claude interface.

How do I install bitbank-api?

Install bitbank-api by running: pnpm install && pnpm build

What MCP clients work with bitbank-api?

bitbank-api works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep bitbank-api docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest