Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTORCH_MCP_HOSTNoHost address for HTTP transport. Default is unspecified.
PYTORCH_MCP_PORTNoPort for HTTP transport. Default is unspecified.
PYTORCH_MCP_DOCS_ROOTNoPath to the local PyTorch documentation directory. Defaults to the repository's docs/ directory.
PYTORCH_MCP_TRANSPORTNoTransport protocol (stdio or http). Default is unspecified.
PYTORCH_MCP_MAX_CODE_EXAMPLESNoMaximum number of code examples to extract. Default is unspecified.
PYTORCH_MCP_MAX_SEARCH_RESULTSNoMaximum number of search results to return. Default is unspecified.
PYTORCH_MCP_MAX_PAGE_CHARACTERSNoMaximum number of characters per documentation page. Default is unspecified.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/BitingSnakes/pytorch-mcp'

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