Skip to main content
Glama

Protein MCP Server

by gqy20

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RCSB_API_TIMEOUTNoTimeout in seconds for RCSB API requests
PROTEIN_MCP_CACHE_DIRNoDirectory path for caching protein MCP data
PROTEIN_MCP_LOG_LEVELNoLog level for the protein MCP server (e.g., debug, info, trace)
PROTEIN_MCP_PROXY_URLNoProxy URL for network requests
PROTEIN_MCP_LOG_FORMATNoLog format (e.g., json)
PROTEIN_MCP_USER_AGENTNoCustom user agent string for requests
PROTEIN_MCP_VERIFY_SSLNoWhether to verify SSL certificates
PROTEIN_MCP_MAX_RETRIESNoMaximum number of retries for failed requests
PROTEIN_MCP_LOG_REQUESTSNoWhether to log HTTP requests
RCSB_API_CUSTOM_ENDPOINTNoCustom RCSB API endpoint URL
PROTEIN_MCP_LOG_RESPONSESNoWhether to log HTTP responses
PROTEIN_MCP_CACHE_DURATIONNoDuration in seconds for cache retention
PROTEIN_MCP_PERFORMANCE_STATSNoWhether to enable performance statistics logging

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
find_protein_structures_tool

蛋白质结构发现工具 - 搜索、示例、验证的统一入口

这是蛋白质研究的起点,帮助你发现和验证PDB结构。

Args: keywords: 搜索关键词 (如: "hemoglobin", "kinase", "DNA") category: 预设类别 ("癌症靶点", "病毒蛋白", "酶类", "抗体", "膜蛋白", "核糖体") pdb_id: 直接验证或查看特定PDB ID (如: "1A3N") max_results: 搜索结果最大数量 (默认10,最大100)

Returns: 包含PDB结构列表、验证结果、示例数据的综合响应

Examples: # 搜索血红蛋白相关结构 find_protein_structures(keywords="hemoglobin")

# 获取癌症靶点示例 find_protein_structures(category="癌症靶点") # 验证PDB ID find_protein_structures(pdb_id="1A3N")
get_protein_data_tool

蛋白质综合数据工具 - 获取完整蛋白质信息包

这个工具是蛋白质数据获取的核心,一次性获取你需要的所有信息。

Args: pdb_id: PDB ID (例如: "5G53") data_types: 需要的数据类型列表 - "basic": 基本信息 (标题、方法、分辨率等) - "sequence": 氨基酸序列信息 - "structure": 二级结构分析 - "all": 获取所有数据 chain_id: 特定链ID (例如: "A",可选)

Returns: 完整的蛋白质数据包,包含请求的所有数据类型

Examples: # 获取所有数据 get_protein_data("5G53", ["all"])

# 只获取基本信息和序列 get_protein_data("1A3N", ["basic", "sequence"]) # 获取特定链的数据 get_protein_data("2HHB", ["all"], "A")
download_structure_tool

结构文件工具 - 下载和管理蛋白质结构文件

这个工具处理所有文件相关的操作,从下载到格式说明。

Args: pdb_id: PDB ID (例如: "5G53") file_format: 文件格式 - "pdb": 标准PDB格式 (推荐,人类可读) - "mmcif": 大分子晶体信息文件格式 (现代标准) - "cif": 晶体信息文件格式 - "mmtf": 大分子传输格式 (二进制,速度快) save_local: 是否保存到本地文件 (默认False返回内容)

Returns: 文件内容或下载信息 + 格式说明和使用指南

Examples: # 获取PDB文件内容 download_structure("1A3N")

# 下载mmCIF格式并保存到本地 download_structure("2HHB", "mmcif", True) # 获取快速MMTF格式 download_structure("6VSB", "mmtf")

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gqy20/protein-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server