Home / Servers / GitHub API / gitignore_get_template
Get a gitignore template
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Get a gitignore template Get the content of a gitignore template. This endpoint supports the following custom media types. For more information, see "Media types." - **application/vnd.github.raw+json**: Returns the raw… [GET /gitignore/templates/{name}]
Name on the gateway: github_api__gitignore_get_template · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | name parameter |
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__gitignore_get_template",
"arguments": {
"name": "…"
}
}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 get a gitignore template tool with name set to ….