Home / Servers / GitHub API / gists_create
Create a gist
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a gist Allows you to add a new gist with one or more files. > [!NOTE] > Don't name your files "gistfile" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally. [POST /gists]
Name on the gateway: github_api__gists_create · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
description | string | Description of the gist |
files required | object | Names and content for the files that make up the gist |
public | boolean | Flag indicating whether the gist is public |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__gists_create",
"arguments": {
"files": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a gist tool with description set to ….