serve-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SERVE_MCP_HOST | No | Host address to bind the HTTP shelf. Default: 127.0.0.1 | 127.0.0.1 |
| SERVE_MCP_PORT | No | Port to bind the HTTP shelf. Default: 7331 | 7331 |
| SERVE_MCP_DATA_DIR | No | Directory for the SQLite registry and snapshots. Default: ~/.local/share/serve-mcp | ~/.local/share/serve-mcp |
| SERVE_MCP_ALLOWED_ROOTS | No | Colon-separated list of allowed root directories for path/folder publishing. Default: anywhere readable |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| artifact_publishA | Snapshot a file, folder, or inline content into the artifact shelf and get a stable browser preview URL back. Use the same slug with updateExisting:true to push new revisions of the same page. path/folder sources are read from the machine running the shelf; over remote MCP connections use content sources. |
| artifact_listB | List published artifacts on the shelf, newest first. Returns preview URLs humans can open. |
| artifact_deleteA | Remove a publication and ALL of its revisions from the shelf, including stored files. Irreversible. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| publications | All publications on the shelf as JSON |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/saidmukhamad/serve-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server