Skip to main content
Glama

Lineage MCP Server

MCP server for the Lineage API using Python, uv, and pyproject.

References

Related MCP server: etherlink-mcp-server

Quickstart (dev)

  • Env

    • cp .env.example .env and set LINEAGE_PASSPHRASE. Optional: MCP_ALLOW_ORIGINS=*, hosts.

  • Install

    • uv venv -p 3.11 .venv && source .venv/bin/activate

    • uv sync --extra dev

    • uv pip install -e .

  • Run

    • uv run uvicorn lineage_mcp.server:app --host 0.0.0.0 --port 8000

  • Test

    • uv run pytest -q

  • MCP Inspector (install & run)

    • Requires Node.js 18+ or Docker.

    • Option A (npx, no install):

      • npx @modelcontextprotocol/inspector@latest

    • Option B (global install):

      • npm install -g @modelcontextprotocol/inspector

      • mcp-inspector

    • Option C (Docker):

      • docker run --rm -p 5173:5173 ghcr.io/modelcontextprotocol/inspector:latest

    • In the Inspector UI, add a server:

      • Transport: Streamable HTTP

      • URL: http://localhost:8000/mcp

      • If using dev auth: set MCP_DEV_AUTH_TOKEN on the server and provide Authorization: Bearer <token> in Inspector requests.

    • Try tools: get-status, search-items, list-blocks, get-block, get-transaction, get-address-balance, get-supply, generate-seed-phrase, health, version.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Provides real-time Bitcoin blockchain data by querying the mempool.space API, offering tools to get address statistics, transaction history, UTXOs, transaction details, and block information.
    7
    21 npm
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with the Etherlink blockchain, including balance checks, transactions, smart contract interactions, and token operations.
    87 npm
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with Kaspa blockchain nodes via RPC, providing tools for querying node info, block data, addresses, balances, UTXOs, and mempool transactions.
    1
    MIT