Skip to main content
Glama
hsiangjenli

Gitignore MCP Tool

by hsiangjenli

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITIGNORE_API_BASENoBase URL for gitignore.io APIhttps://www.toptal.com/developers/gitignore/api

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_gitignore_templates

List all available gitignore templates from gitignore.io

Responses:

  • 200 (Success): Successful Response

    • Content-Type: application/json

    • Response Properties:

      • templates: List of available gitignore templates

    • Example:

{ "templates": [ "string" ] }
generate_gitignore

Generate a .gitignore file based on specified templates and save it to the specified path

Responses:

  • 200 (Success): Successful Response

    • Content-Type: application/json

    • Response Properties:

      • success: Whether the operation was successful

      • message: Status message

      • content: Generated .gitignore content

    • Example:

{ "success": true, "message": "string", "content": "string" }
  • 422: Validation Error

    • Content-Type: application/json

    • Response Properties:

    • Example:

{ "detail": [ "unknown_type" ] }

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/hsiangjenli/mcp-gitignore'

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