Skip to main content
Glama
Pharaoh-so

Pharaoh - Your AI breaks things it can't see

request_upload

Upload structural metadata from local repositories to map codebases into Pharaoh's knowledge graph without exposing source code, enabling AI analysis of private or unmapped repositories.

Instructions

Map a local repo into Pharaoh without installing the GitHub App. Source code never leaves the machine — only structural metadata (function names, imports, exports, complexity) is uploaded.

CALL THIS WHEN:

  • get_codebase_map returns no repos for this user

  • The user asks about a repo that isn't mapped in Pharaoh

  • The user wants to map a private repo without admin access

  • The user says "analyze this repo", "map this codebase", or similar

When 'path' is provided, this tool returns a ready-to-run bash block that parses the repo locally and uploads the structural metadata. The agent should execute this bash block directly — no user action needed beyond approval. The upload URL is single-use and expires in 10 minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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/Pharaoh-so/pharaoh'

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