automate-glama-submit

nirholas/automate-glama-submit Checked 1 hour ago

CLI that bulk-submits all your MCP server repos to glama.ai by committing glama.json through the GitHub API.

Bulk-submit all your MCP server repos to glama.ai in one command. Glama indexes MCP servers via a glama.json file in each repo root. This tool automatically finds every MCP repo in your GitHub account and commits that file to each one. 1. Fetches all your public GitHub repos 2. Filters for MCP repos (by name, description, or topic containing mcp / model-context-protocol) 3. Commits a glama.json to each repo's default branch 4. Glama crawls GitHub and your repos appear at glama.ai/mcp/servers within ~24h

Summary extracted from the README.

glama-submit

GitHub stars Last commit PRs welcome AI agent friendly

Bulk-submit all your MCP server repos to glama.ai in one command.

Glama indexes MCP servers via a glama.json file in each repo root. This tool automatically finds every MCP repo in your GitHub account and commits that file to each one.

How it works

  1. Fetches all your public GitHub repos
  2. Filters for MCP repos (by name, description, or topic containing mcp / model-context-protocol)
  3. Commits a glama.json to each repo's default branch
  4. Glama crawls GitHub and your repos appear at glama.ai/mcp/servers within ~24h

Usage

GITHUB_TOKEN=ghp_... GITHUB_USERNAME=yourname npx glama-submit

Dry run (preview only, no changes):

GITHUB_TOKEN=ghp_... GITHUB_USERNAME=yourname npx glama-submit --dry-run

Requirements

Token setup

  1. Go to github.com/settings/tokens/new
  2. Check public_repo scope
  3. Generate and copy the token

What gets committed

A glama.json is added to each MCP repo root:

{
  "$schema": "https://glama.ai/mcp/schemas/server.json",
  "maintainers": ["your-github-username"]
}

Repos that already have a valid glama.json are skipped automatically.

MCP detection

A repo is considered an MCP server if its name, description, or GitHub topics contain any of:

  • mcp
  • model-context-protocol
  • modelcontextprotocol
  • model context protocol

Documentation

  • How it works — detailed walkthrough of the submission flow.

License

All rights reserved. See LICENSE.

Star History

Star History Chart

Support the project

If automate-glama-submit saves you time, star it on GitHub. Stars are how other developers and AI agents find the repositories worth trusting, and they cost you one click.

Know someone who would use it? Post on X · Share on Bluesky · Share on LinkedIn · Submit to Hacker News · Share on Reddit

Built for AI agents too

Coding agents and LLM tooling can read this repo directly: AGENTS.md, llms.txt, llms-full.txt. Point an agent at https://github.com/nirholas/automate-glama-submit and it has the context it needs.

More from the same author

Contributors

Contributors