About mcp-server-gist
mcp-server-gist is an MCP server for creating GitHub Gists. It is intended for MCP-compatible clients that need to publish text content as a public or secret gist.
Key features
- 01Create a GitHub Gist
- 02Set gist visibility
- 03Provide a filename
- 04Receive the gist URL
Use cases
- 01Save text as a GitHub Gist
- 02Create a secret gist by default
- 03Publish content under a chosen filename
MCP support
The server wraps GitHub's create gist API as an MCP tool named `create-gist`. A fine-grained token is required.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-server-gist
create gist by using MCP.
A Model Context Protocol(MCP) Server that wrap github create gist api as a MCP tool.
Tools
create-gist- create a gist to your github account
- Inputs:
- gistContent(string): the content of the gist file.
- isPublic(boolean): Whether the gist is public or secret, if not explicitly specified, it will be false.
- filename(string): the name of the gist file, if not explicitly specified, it will be generated automatically.
- Returns: gist url
Usage
{
"mcpServers": {
"create-gist": {
"command": "node",
"args": [
"LOCAL_ABSOLUTE_PATH/mcp-server-gist/build/index.js"
],
"env": {
"GITHUB_GIST_TOKEN": "YOUR_OWN_GITHUB_TOKEN"
}
}
}
}
A fine grained TOKEN is needed.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.