You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated version from 1.4.2 to 1.4.4
- Enhanced documentation examples across all files
- Fixed Claude Desktop MCP configuration format
- Improved testing examples with comprehensive workflows
- Updated Gemini setup instructions
Copy file name to clipboardExpand all lines: README.md
+48-26Lines changed: 48 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ The easiest way to use VFB3-MCP is through our hosted service at `https://vfb3-m
22
22
{
23
23
"mcpServers": {
24
24
"virtual-fly-brain": {
25
-
"url": "https://vfb3-mcp.virtualflybrain.org"
25
+
"type": "http",
26
+
"url": "https://vfb3-mcp.virtualflybrain.org",
27
+
"tools": ["*"]
26
28
}
27
29
}
28
30
}
@@ -39,7 +41,9 @@ The easiest way to use VFB3-MCP is through our hosted service at `https://vfb3-m
39
41
{
40
42
"mcpServers": {
41
43
"virtual-fly-brain": {
42
-
"url": "https://vfb3-mcp.virtualflybrain.org"
44
+
"type": "http",
45
+
"url": "https://vfb3-mcp.virtualflybrain.org",
46
+
"tools": ["*"]
43
47
}
44
48
}
45
49
}
@@ -56,6 +60,18 @@ The easiest way to use VFB3-MCP is through our hosted service at `https://vfb3-m
56
60
5.**Add the server URL**: `https://vfb3-mcp.virtualflybrain.org`
57
61
6.**Give it a name** like "Virtual Fly Brain"
58
62
63
+
**Alternative JSON configuration** (in `mcp.json`):
64
+
```json
65
+
{
66
+
"servers": {
67
+
"virtual-fly-brain": {
68
+
"type": "http",
69
+
"url": "https://vfb3-mcp.virtualflybrain.org"
70
+
}
71
+
}
72
+
}
73
+
```
74
+
59
75
#### Visual Studio Code (with MCP Extension)
60
76
61
77
1.**Install the MCP extension** for VS Code from the marketplace
@@ -75,52 +91,58 @@ For any MCP-compatible client that supports HTTP servers:
75
91
{
76
92
"mcpServers": {
77
93
"virtual-fly-brain": {
94
+
"type": "http",
78
95
"url": "https://vfb3-mcp.virtualflybrain.org",
79
-
"type": "http"
96
+
"tools": ["*"]
80
97
}
81
98
}
82
99
}
83
100
```
84
101
85
102
#### Gemini Setup
86
103
87
-
To use the Virtual Fly Brain (VFB) Model Context Protocol (MCP) server with AI on Google Search, connect through the Gemini CLI or a custom Python/Node.js client.
104
+
To use the Virtual Fly Brain (VFB) Model Context Protocol (MCP) server with Google Gemini, you can connect through custom Python/Node.js clients that support MCP.
88
105
89
-
The Gemini web interface does not directly support custom MCP integration. Developer tools are needed to connect the two.
106
+
**Note**: Direct Gemini web interface integration with MCP is not currently supported. Developer tools are needed to connect the two.
90
107
91
-
**Option 1: Using Gemini CLI**
108
+
**Option 1: Using Python**
92
109
93
-
The Gemini CLI allows direct registration of remote MCP servers.
110
+
For application development, use the `mcp` and `google-genai` libraries to connect.
94
111
95
-
Install the CLI: Ensure Node.js is installed, then run:
96
-
```bash
97
-
npm install -g @google/gemini-cli
98
-
```
112
+
Setup: `pip install google-genai mcp`
99
113
100
-
Add the VFB Server: Use the add command with the VFB URL.
Implementation: Use an `SSEClientTransport` to connect to the VFB URL, list its tools, and pass their schemas to the Gemini model as Function Declarations.
104
115
105
-
Verify & Use: Run the CLI by typing `gemini`. Check the connection with `/mcp`. AI on Google Search will then call VFB's neuroanatomy and connectivity tools when questions about Drosophila are asked.
116
+
#### Testing the Connection
106
117
107
-
**Option 2: Using Python**
118
+
Once configured, you can test that VFB3-MCP is working by asking your AI assistant questions like:
108
119
109
-
For application development, use the `mcp` and `google-genai` libraries to connect.
120
+
**Basic Queries:**
121
+
- "Get information about the neuron VFB_jrcv0i43"
122
+
- "Search for terms related to medulla in the fly brain"
123
+
- "What neurons are in the antennal lobe?"
110
124
111
-
Setup: `pip install google-genai mcp`
125
+
**Advanced Queries:**
126
+
- "Find all neurons that connect to the mushroom body"
127
+
- "Show me expression patterns for gene repo"
128
+
- "What brain regions are involved in olfactory processing?"
129
+
- "Run a connectivity analysis for neuron VFB_00101567"
112
130
113
-
Implementation: Use an `SSEClientTransport` to connect to the VFB URL, list its tools, and pass their schemas to the Gemini model as Function Declarations.
131
+
**Search Examples:**
132
+
- "Search for adult neurons in the visual system"
133
+
- "Find genes expressed in the central complex"
134
+
- "Show me all templates available in VFB"
114
135
115
-
#### Testing the Connection
136
+
If you see responses with VirtualFlyBrain data, including neuron names, brain regions, gene expressions, or connectivity information, the setup is successful!
116
137
117
-
Once configured, you can test that VFB3-MCP is working by asking your AI assistant to:
138
+
For more detailed usage examples and API calls, see **[examples.md](examples.md)**.
118
139
119
-
- "Get information about the term VFB_jrcv0i43"
120
-
- "Search for terms related to medulla"
121
-
- "Run a PaintedDomains query for VFB_00101567"
140
+
### Example Workflow
122
141
123
-
If you see responses with VirtualFlyBrain data, the setup is successful!
142
+
1.**Search for a term**: "Search for neurons in the optic lobe"
143
+
2.**Get detailed info**: "Get information about VFB_00101567"
144
+
3.**Run specific queries**: "Show connectivity for VFB_00101567"
145
+
4.**Explore relationships**: "What neurons synapse in the mushroom body?"
@@ -495,7 +495,9 @@ function getHtmlPage(): string {
495
495
<pre><code>{
496
496
"mcpServers": {
497
497
"virtual-fly-brain": {
498
-
"url": "https://vfb3-mcp.virtualflybrain.org"
498
+
"type": "http",
499
+
"url": "https://vfb3-mcp.virtualflybrain.org",
500
+
"tools": ["*"]
499
501
}
500
502
}
501
503
}</code></pre>
@@ -515,7 +517,9 @@ function getHtmlPage(): string {
515
517
<pre><code>{
516
518
"mcpServers": {
517
519
"virtual-fly-brain": {
518
-
"url": "https://vfb3-mcp.virtualflybrain.org"
520
+
"type": "http",
521
+
"url": "https://vfb3-mcp.virtualflybrain.org",
522
+
"tools": ["*"]
519
523
}
520
524
}
521
525
}</code></pre>
@@ -555,50 +559,59 @@ function getHtmlPage(): string {
555
559
<pre><code>{
556
560
"mcpServers": {
557
561
"virtual-fly-brain": {
562
+
"type": "http",
558
563
"url": "https://vfb3-mcp.virtualflybrain.org",
559
-
"type": "http"
564
+
"tools": ["*"]
560
565
}
561
566
}
562
567
}</code></pre>
563
568
</div>
564
569
565
570
<h3>Gemini Setup</h3>
566
-
<p>To use the Virtual Fly Brain (VFB) Model Context Protocol (MCP) server with AI on Google Search, connect through the Gemini CLI or a custom Python/Node.js client.</p>
567
-
<p>The Gemini web interface does not directly support custom MCP integration. Developer tools are needed to connect the two.</p>
568
-
569
-
<h4>Option 1: Using Gemini CLI</h4>
570
-
<p>The Gemini CLI allows direct registration of remote MCP servers.</p>
571
-
<ol>
572
-
<li class="step"><strong>Install the CLI</strong>: Ensure Node.js is installed, then run:</li>
<li class="step"><strong>Verify & Use</strong>: Run the CLI by typing <code>gemini</code>. Check the connection with <code>/mcp</code>. AI on Google Search will then call VFB's neuroanatomy and connectivity tools when questions about Drosophila are asked.</li>
585
-
</ol>
586
-
587
-
<h4>Option 2: Using Python</h4>
571
+
<p>To use the Virtual Fly Brain (VFB) Model Context Protocol (MCP) server with Google Gemini, you can connect through custom Python/Node.js clients that support MCP.</p>
572
+
<p><strong>Note</strong>: Direct Gemini web interface integration with MCP is not currently supported. Developer tools are needed to connect the two.</p>
573
+
574
+
<h4>Using Python</h4>
588
575
<p>For application development, use the <code>mcp</code> and <code>google-genai</code> libraries to connect.</p>
<li class="step"><strong>Implementation</strong>: Use an <code>SSEClientTransport</code> to connect to the VFB URL, list its tools, and pass their schemas to the Gemini model as Function Declarations.</li>
592
579
</ol>
593
580
594
581
<h2>🧪 Testing the Connection</h2>
595
-
<p>Once configured, you can test that VFB3-MCP is working by asking your AI assistant to:</p>
582
+
<p>Once configured, you can test that VFB3-MCP is working by asking your AI assistant questions like:</p>
583
+
584
+
<h3>Basic Queries:</h3>
585
+
<ul>
586
+
<li>"Get information about the neuron VFB_jrcv0i43"</li>
587
+
<li>"Search for terms related to medulla in the fly brain"</li>
588
+
<li>"What neurons are in the antennal lobe?"</li>
589
+
</ul>
590
+
591
+
<h3>Advanced Queries:</h3>
596
592
<ul>
597
-
<li>"Get information about the term VFB_jrcv0i43"</li>
598
-
<li>"Search for terms related to medulla"</li>
599
-
<li>"Run a PaintedDomains query for VFB_00101567"</li>
593
+
<li>"Find all neurons that connect to the mushroom body"</li>
594
+
<li>"Show me expression patterns for gene repo"</li>
595
+
<li>"What brain regions are involved in olfactory processing?"</li>
596
+
<li>"Run a connectivity analysis for neuron VFB_00101567"</li>
600
597
</ul>
601
-
<p>If you see responses with VirtualFlyBrain data, the setup is successful!</p>
598
+
599
+
<h3>Search Examples:</h3>
600
+
<ul>
601
+
<li>"Search for adult neurons in the visual system"</li>
602
+
<li>"Find genes expressed in the central complex"</li>
603
+
<li>"Show me all templates available in VFB"</li>
604
+
</ul>
605
+
606
+
<p>If you see responses with VirtualFlyBrain data, including neuron names, brain regions, gene expressions, or connectivity information, the setup is successful!</p>
607
+
608
+
<h3>Example Workflow</h3>
609
+
<ol>
610
+
<li><strong>Search for a term</strong>: "Search for neurons in the optic lobe"</li>
611
+
<li><strong>Get detailed info</strong>: "Get information about VFB_00101567"</li>
612
+
<li><strong>Run specific queries</strong>: "Show connectivity for VFB_00101567"</li>
613
+
<li><strong>Explore relationships</strong>: "What neurons synapse in the mushroom body?"</li>
0 commit comments