Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
code_prompt | Get a prompt to write a code snippet in Python based on the specified task. |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
resource_logo | Get the base64 encoded PNG logo of PyMCP. |
resource_logo_svg | Get the PyMCP logo as SVG. |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
greet | Greet the caller with a quintessential Hello World message. |
generate_password | Generate a random password with specified length, optionally including special characters. The password will meet the complexity requirements of at least one lowercase letter, one uppercase letter, and two digits. If special characters are included, it will also contain at least one such character. Until the password meets these requirements, it will keep regenerating. This is a simple example of a tool that can be used to generate passwords. It is not intended for production use. |
permutations | Calculate the number of ways to choose k items from n items without repetition and with order. If k is not provided, it defaults to n. |
pirate_summary | Summarise the given text in a pirate style. This is an example of a tool that can use LLM sampling to generate a summary. |
vonmises_random | Generate a random number from the von Mises distribution. This is an example of a tool that uses elicitation to obtain a required parameter. |