Skip to main content
Glama

Code Snippet Server

create_snippet

Generate and store code snippets with a title, programming language, and tags for easy retrieval and organization in the Code Snippet Server.

Instructions

Create a snippet (specify title, language, and code)

Input Schema

NameRequiredDescriptionDefault
codeYesCode snippet
languageYesProgramming language
tagsNoSnippet tags
titleYesSnippet title

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Code snippet", "type": "string" }, "language": { "description": "Programming language", "type": "string" }, "tags": { "description": "Snippet tags", "items": { "type": "string" }, "type": "array" }, "title": { "description": "Snippet title", "type": "string" } }, "required": [ "title", "language", "code" ], "type": "object" }

You must be authenticated.

Other Tools from Code Snippet Server

Related Tools

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/ngeojiajun/mcp-code-snippets'

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