File size: 1,001 Bytes
5bb9765
f970651
 
 
 
5bb9765
 
f970651
5bb9765
 
f970651
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
title: biopython MCP Service
emoji: 🔧
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit
---

# biopython MCP Service

This deployment package exposes core Biopython sequence-analysis capabilities as an MCP service using FastMCP.

## Available Tools

- `health_check`
- `parse_fasta_text`
- `translate_dna`
- `reverse_complement`
- `global_align`
- `compute_gc_fraction`
- `find_motif_positions`

## Local stdio (Claude Desktop / CLI)

```bash
cd biopython/mcp_output
MCP_TRANSPORT=stdio python start_mcp.py
```

You can also run the local stdio entry directly:

```bash
cd biopython/mcp_output/mcp_plugin
python main.py
```

## HTTP MCP (Docker / HF Spaces)

This deployment uses FastMCP HTTP transport, with endpoint exposed at `/mcp`.

Local run:

```bash
MCP_TRANSPORT=http MCP_PORT=7860 python biopython/mcp_output/start_mcp.py
```

Docker run:

```bash
./run_docker.sh
```

Then connect MCP clients to:

- `http://localhost:7860/mcp`
- `https://<your-space-host>/mcp`