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.4.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.4.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: liana_mcp-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 8d07db7290e15d6de98e8c5b869cb09083ba19fa57ea43ccb44c86dfac1ec579
MD5 b21d4f86c80512e03fbb1d9b256bbaf1
BLAKE2b-256 b04832d261779341755bee39bd679a2656c09b12bc9e8ae11990b82a01ee264b

See more details on using hashes here.

Provenance

The following attestation bundles were made for liana_mcp-0.4.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: liana_mcp-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad79e3cdc18e64e85f154be69bd5c10af8aa3364b64551094b24025d6bb95ee9
MD5 e686d2550a7c963c4aab6a288574adc3
BLAKE2b-256 32eb12f56cac4b41c250a6af4b688ba2c066504f7989a0533adfd50cd06c8a27

See more details on using hashes here.

Provenance

The following attestation bundles were made for liana_mcp-0.4.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