Skip to main content

Natural language interface for cell-cell communication analysis with Liana through MCP.

Project description

Liana-MCP

Natural language interface for scRNA-Seq analysis with Liana through MCP.

🪩 What can it do?

  • IO module like read and write scRNA-Seq data
  • Cell-cell communication method
  • Plotting module, circle plot, dotplot

❓ Who is this for?

  • Anyone who wants to do scRNA-Seq analysis natural language!
  • Agent developers who want to call Liana's functions for their applications

🌐 Where to use it?

You can use Liana-mcp in most AI clients, plugins, or agent frameworks that support the MCP:

  • AI clients, like Cherry Studio
  • Plugins, like Cline
  • Agent frameworks, like Agno

🎬 Demo

A demo showing scRNA-Seq cell cluster analysis in a AI client Cherry Studio using natural language based on Liana-mcp

https://github.com/user-attachments/assets/40fb5bd8-a166-4993-9979-3258ef6646a0

📚 Documentation

scmcphub's complete documentation is available at https://docs.scmcphub.org

🏎️ Quickstart

Install

Install from PyPI

pip install liana-mcp

you can test it by running

liana-mcp run

run liana-mcp locally

Refer to the following configuration in your MCP client:

check path

$ which liana 
/home/test/bin/liana-mcp
"mcpServers": {
  "liana-mcp": {
    "command": "/home/test/bin/liana-mcp",
    "args": [
      "run"
    ]
  }
}

run liana-server remotely

Refer to the following configuration in your MCP client:

run it in your server

liana-mcp run --transport shttp --port 8000

Then configure your MCP client in local AI client, like this:


"mcpServers": {
  "liana-mcp": {
    "url": "http://localhost:8000/mcp"
  }
}

🤝 Contributing

If you have any questions, welcome to submit an issue, or contact me(hsh-me@outlook.com). Contributions to the code are also welcome!

Citing

If you use liana-mcp in for your research, please consider citing following work:

Dimitrov D., Schäfer P.S.L, Farr E., Rodriguez Mier P., Lobentanzer S., Badia-i-Mompel P., Dugourd A., Tanevski J., Ramirez Flores R.O. and Saez-Rodriguez J. LIANA+ provides an all-in-one framework for cell–cell communication inference. Nat Cell Biol (2024). https://doi.org/10.1038/s41556-024-01469-w

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liana_mcp-0.3.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liana_mcp-0.3.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file liana_mcp-0.3.0.tar.gz.

File metadata

  • Download URL: liana_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for liana_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7f68558a590a662d77c0752a83163491c66c3fbfec9fc2f5a4d6a3f15e970055
MD5 9a0f91279cec2b6af0527dc7f5729332
BLAKE2b-256 af0272e2ae377fc5a59c2b4f9a00f14ab8d013ae0083257a0dcac6eee37b5f6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for liana_mcp-0.3.0.tar.gz:

Publisher: publish.yml on scmcphub/liana-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file liana_mcp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: liana_mcp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for liana_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6ac4a9cea18697dffdc4383c31537ed00c43aa4d355e0fb05f0ba88e914fc98
MD5 50c94cd9fcc4e8bdd50eac9a706ea261
BLAKE2b-256 18d3c717887b0d70697c8d31d56d96db66f28b290d207e028804232b1a945b4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for liana_mcp-0.3.0-py3-none-any.whl:

Publisher: publish.yml on scmcphub/liana-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page