1. Conduid
  2. Finance
  3. Demcp Debank MCP
MCP server · Finance

Demcp Debank MCP

MCP server: Demcp Debank MCP

Unclaimed last commit a year ago finance
37Low

Scored 5 months ago · breakdown

About Demcp Debank MCP

Demcp Debank MCP is an MCP server published by demcp in the Finance category: mCP server: Demcp Debank MCP.

The repository has 9 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/demcp/demcp-debank-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Demcp Debank MCP

Powered by Claude · Grounded in docs

I know everything about Demcp Debank MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

DeBanK MCP Server

A stateless Model Context Protocol (MCP) server for interacting with the DeBanK API to retrieve blockchain and DeFi data.

Overview

This project implements a Model Context Protocol (MCP) server that provides various tools for querying blockchain data, including chains, protocols, tokens, pools, and user assets. Built with the @modelcontextprotocol/sdk, it leverages the HTTP Streamable transport to provide a modern, efficient API interface.

The server is designed to be completely stateless, with each request being handled independently, making it highly scalable and robust for production environments.

Features

  • Stateless Architecture: Each request creates a new server instance and transport
  • Comprehensive DeFi Data Tools: Access to chains, protocols, tokens, pools, and user data
  • Pagination Support: All list-returning endpoints support pagination
  • Error Handling: Robust error handling and reporting

Tools Available

Tool Name Description
get_chain_info Get information about blockchains
get_protocol_info Get information about DeFi protocols
get_token_info Get information about tokens
get_pool_info Get detailed information about a specific liquidity pool
get_user_assets Get information about a user's assets across different blockchains
get_user_activities Get information about a user's protocol positions, transaction history, and balance charts
get_user_authorizations Get information about a user's token and NFT authorizations
get_collection_nft_list Get a list of NFTs in a specific collection
wallet_tools Access wallet-related functionality

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/yourusername/debank-mcp-server.git
cd debank-mcp-server
  1. Set up your environment variables
export ACCESS_KEY=your_debank_api_key

Running the Server

Start the server with the following command:

deno run --allow-net --allow-env main.ts

The server will start and listen on port 8080 by default. You can now send MCP requests to http://localhost:8080/mcp.

MCP HTTP Streamable Implementation

This project uses the StreamableHTTPServerTransport from the Model Context Protocol SDK to handle MCP requests. Every request creates a new server instance and transport, making the service completely stateless:

// Create new server instance and transport for each request
const server = createServer();
const transport = new StreamableHTTPServerTransport({
  sessionIdGenerator: () => randomUUID(),
});

// Connect to server
await server.connect(transport);

// Handle request
await transport.handleRequest(req, res, req.body);

This approach simplifies deployment and scaling, as there's no need to manage session state across multiple instances.

Project Structure

├── main.ts                # Main server file with MCP endpoint handling
├── deno.json              # Deno configuration
├── deno.lock              # Dependency lock file
├── tool/
│   ├── toolInfo.ts        # Tool definitions
│   └── toolHandler.ts     # Tool handler implementations
└── README.md              # This file

Configuration

The following environment variables can be configured:

  • ACCESS_KEY - Your DeBanK API access key
  • PORT - (Optional) Port to run the server on (default: 8080)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

README fetched from the repository 22 hours ago. The original is authoritative.

Questions

About Demcp Debank MCP

How do I install Demcp Debank MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Demcp Debank MCP safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Demcp Debank MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.