Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HTTP_HOST | No | HTTP server bind address | 0.0.0.0 |
| MCP_HTTP_PORT | No | HTTP server port | 8000 |
| MCP_HTTP_RELOAD | No | Enable auto-reload: 1 or true | 0 |
| UNIPROT_LOG_LEVEL | No | Logging level: debug, info, warning, error | info |
| MCP_HTTP_LOG_LEVEL | No | Uvicorn log level | info |
| UNIPROT_LOG_FORMAT | No | Log format: plain or json | plain |
| UNIPROT_ENABLE_FIELDS | No | Request minimal field subsets to reduce payload size | |
| MCP_CORS_ALLOW_HEADERS | No | CORS allowed headers | * |
| MCP_CORS_ALLOW_METHODS | No | CORS allowed methods | GET,POST,DELETE |
| MCP_CORS_ALLOW_ORIGINS | No | CORS allowed origins (comma-separated) | * |
| UNIPROT_MAX_CONCURRENCY | No | Max concurrent UniProt API requests | 8 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch_entry | Return a structured UniProt entry. |
| get_sequence | Return only the sequence metadata for an accession. |
| search_uniprot | Search UniProtKB and return curated hits. |
| fetch_entry_flatfile | Return the UniProt flatfile (txt or fasta) for a specific entry version. |
| map_ids | Map identifiers between UniProt-supported namespaces. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize_protein | Generate instructions for summarising a UniProt entry. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| search_help | Static help text explaining search conventions. |