Napkin
by sshwarts
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_WS_PORT | No | Port for the WebSocket server | 3002 |
| NAPKIN_MCP_PORT | No | Port for the MCP HTTP server | 3003 |
| NAPKIN_TRANSPORT | No | Transport mode for the MCP server, either 'http' or 'stdio' | http |
| ANTHROPIC_API_KEY | No | API key for Anthropic, required for vision tools only | |
| NAPKIN_EXPORT_DIR | No | Optional base directory for relative exports of canvas files | |
| NAPKIN_SESSION_TTL_MS | No | Time-to-live in milliseconds for sessions | 7200000 |
| NAPKIN_TRIGGER_WEBHOOK | No | Optional global webhook URL for triggering agent responses to canvas updates | |
| NAPKIN_COMPACT_TRIGGERS | No | Whether to send compact trigger payloads (true/false) | false |
| AGENT_TRIGGER_DEBOUNCE_MS | No | Debounce time in milliseconds for triggering webhooks on canvas updates | 3000 |
| NAPKIN_TRIGGER_INCLUDE_CANVAS | No | Whether to include full canvas data in trigger payloads (true/false) | false |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/sshwarts/napkin'
If you have feedback or need assistance with the MCP directory API, please join our Discord server