get_template
Pack: gitignore · Endpoint: https://gateway.pipeworx.io/gitignore/mcp
Fetch the raw .gitignore content for the named template (case-sensitive, e.g. “Node”, “Python”, “macOS”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Template name without the .gitignore suffix. |
Example call
Arguments
{
"name": "Node"
}
curl
curl -X POST https://gateway.pipeworx.io/gitignore/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_template","arguments":{"name":"Node"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_template', {
"name": "Node"
});
More examples
{
"name": "Python"
}
Response shape
Always returns: name, body
| Field | Type | Description |
|---|---|---|
name | string | Template name that was requested |
body | string | Raw .gitignore template content |
Full JSON Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Template name that was requested"
},
"body": {
"type": "string",
"description": "Raw .gitignore template content"
}
},
"required": [
"name",
"body"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"gitignore": {
"url": "https://gateway.pipeworx.io/gitignore/mcp"
}
}
}
See Getting Started for client-specific install steps.