Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
context.json1.46 kB
{ "$schema": "https://raw.githubusercontent.com/context-hub/generator/refs/heads/main/json-schema.json", "documents": [ { "description": "Project structure", "outputPath": "structure.md", "sources": [ { "type": "tree", "sourcePaths": [ "src" ], "showCharCount": true, "showSize": true } ] }, { "description": "This is a test document", "outputPath": "test-document.md", "sources": [ { "type": "file", "sourcePaths": [ "src/dir1" ], "filePattern": "*.php" }, { "type": "text", "content": "Foo Bar" } ] }, { "description": "This is a test document 1", "outputPath": "test-document1.md", "sources": [ { "type": "file", "sourcePaths": [ "src/dir2" ], "filePattern": "*.php" }, { "type": "text", "content": "Foo Bar" } ] }, { "description": "This is a test document 2", "outputPath": "test-document2.md", "sources": [ { "type": "file", "sourcePaths": [ "src" ], "filePattern": "*.txt" }, { "type": "text", "content": "Foo Bar" } ] } ] }

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/context-hub/generator'

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