VFB3-MCP
Enables AI assistants to query VirtualFlyBrain data, run queries, and search for terms related to Drosophila neurobiology.
README
VFB3-MCP Server
A Model Context Protocol (MCP) server for interacting with VirtualFlyBrain (VFB) APIs. This server provides tools to query VFB data, run queries, and search for terms.
🚀 Quick Start
Use the Live Service (Recommended)
The easiest way to use VFB3-MCP is through our hosted service at https://vfb3-mcp.virtualflybrain.org. This requires no installation or setup on your machine.
Claude Desktop Setup
- Open Claude Desktop and go to Settings
- Navigate to the MCP section
- Add a new MCP server with these settings:
- Server Name:
virtual-fly-brain(or any name you prefer) - Type: HTTP
- Server URL:
https://vfb3-mcp.virtualflybrain.org
- Server Name:
Configuration JSON (alternative method):
{
"mcpServers": {
"virtual-fly-brain": {
"url": "https://vfb3-mcp.virtualflybrain.org"
}
}
}
Claude Code Setup
-
Locate your Claude configuration file:
- macOS/Linux:
~/.claude.json - Windows:
%USERPROFILE%\.claude.json
- macOS/Linux:
-
Add the VFB3-MCP server to your configuration:
{
"mcpServers": {
"virtual-fly-brain": {
"url": "https://vfb3-mcp.virtualflybrain.org"
}
}
}
- Restart Claude Code for changes to take effect
GitHub Copilot Setup
- Open VS Code with GitHub Copilot installed
- Open Settings (
Ctrl/Cmd + ,) - Search for "MCP" in the settings search
- Find the MCP Servers setting
- Add the server URL:
https://vfb3-mcp.virtualflybrain.org - Give it a name like "Virtual Fly Brain"
Visual Studio Code (with MCP Extension)
- Install the MCP extension for VS Code from the marketplace
- Open the Command Palette (
Ctrl/Cmd + Shift + P) - Type "MCP: Add server" and select it
- Choose "HTTP" as the server type
- Enter the server details:
- Name:
virtual-fly-brain - URL:
https://vfb3-mcp.virtualflybrain.org
- Name:
- Save and restart VS Code if prompted
Other MCP Clients
For any MCP-compatible client that supports HTTP servers:
{
"mcpServers": {
"virtual-fly-brain": {
"url": "https://vfb3-mcp.virtualflybrain.org",
"type": "http"
}
}
}
Testing the Connection
Once configured, you can test that VFB3-MCP is working by asking your AI assistant to:
- "Get information about the term VFB_jrcv0i43"
- "Search for terms related to medulla"
- "Run a PaintedDomains query for VFB_00101567"
If you see responses with VirtualFlyBrain data, the setup is successful!
🛠️ Local Installation
Prerequisites
- Node.js 18 or higher
- npm or yarn
Step-by-Step Installation
-
Clone the repository:
git clone https://github.com/Robbie1977/VFB3-MCP.git cd VFB3-MCP -
Install dependencies:
npm install -
Build the project:
npm run build -
Start the server:
npm start
Platform-Specific Setup
Claude Desktop (Local Development)
For local development with Claude Desktop, add this to your MCP configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"vfb3-mcp": {
"command": "node",
"args": ["/absolute/path/to/VFB3-MCP/dist/index.js"]
}
}
}
Claude Code
Add to your claude.json file:
{
"mcpServers": {
"vfb3-mcp": {
"command": "node",
"args": ["/absolute/path/to/VFB3-MCP/dist/index.js"]
}
}
}
Visual Studio Code
- Install the MCP extension for VS Code
- Press
Cmd + Shift + P(macOS) orCtrl + Shift + P(Windows/Linux) - Select MCP: Add server…
- Choose Command type
- Enter:
- Name:
vfb3-mcp - Command:
node - Arguments:
/absolute/path/to/VFB3-MCP/dist/index.js
- Name:
GitHub Copilot
Configure the MCP server URL in your Copilot settings to point to your local server:
http://localhost:3000
For HTTP mode testing:
MCP_MODE=http PORT=3000 node dist/index.js
Docker Installation
Using Docker Compose (Recommended):
docker-compose up --build
Manual Docker Build:
# Build the image
docker build -t vfb3-mcp .
# Run the container
docker run -p 3000:3000 vfb3-mcp
Pull Pre-built Image:
docker pull virtualflybrain/vfb3-mcp:latest
docker run -p 3000:3000 virtualflybrain/vfb3-mcp:latest
Available Tools
get_term_info
Retrieve detailed information about VFB terms using their IDs.
Parameters:
id(string): VFB ID (e.g., "VFB_jrcv0i43")
run_query
Execute predefined queries on VFB data.
Parameters:
id(string): VFB ID (e.g., "VFB_00101567")query_type(string): Type of query (e.g., "PaintedDomains")
search_terms
Search for VFB terms using the Solr search server.
Parameters:
query(string): Search query (e.g., "medulla")
🧠 About VirtualFlyBrain
VirtualFlyBrain (VFB) is a comprehensive knowledge base about Drosophila melanogaster neurobiology, providing 3D images, gene expression data, neural connectivity information, and standardized terminology for fly brain research.
📖 Documentation
- LLM Guidance: Guide for AI assistants on using this MCP effectively
- Examples: Usage examples and integration guides
- Technical Documentation: Infrastructure, deployment, and development details
📄 License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。