924ec49796
A unified virtual filesystem for AI agents. Mount S3, Google Drive, Slack, Gmail, GitHub, Linear, Notion, Postgres, MongoDB, SSH, and more behind one filesystem so agents read, write, and pipe across services with familiar shell commands. Ships Python (mirage-ai) and TypeScript (@struktoai/mirage-*) SDKs, a CLI, FUSE mounts, and adapters for OpenAI Agents SDK, Vercel AI SDK, LangChain deepagents, Pydantic AI, CAMEL, OpenHands, Mastra, Pi Coding Agent, plus FUSE-based integration with Claude Code and Codex. Apache 2.0 licensed.
28 lines
674 B
Plaintext
28 lines
674 B
Plaintext
---
|
|
title: GitHub
|
|
icon: github
|
|
description: Set up a GitHub Personal Access Token for the GitHub resource.
|
|
---
|
|
|
|
## Credentials
|
|
|
|
### 1. Create a Personal Access Token
|
|
|
|
1. Go to https://github.com/settings/tokens
|
|
1. **Generate new token (classic)** or **Fine-grained token**
|
|
1. For classic tokens, select scopes:
|
|
- `repo` (read access to repositories)
|
|
1. For fine-grained tokens:
|
|
- **Repository access**: select the repos you need
|
|
- **Permissions**: Contents -> Read-only
|
|
1. Copy the token
|
|
|
|
### 2. Set Environment Variables
|
|
|
|
```bash
|
|
# .env.development
|
|
GITHUB_TOKEN=ghp_xxxx...
|
|
```
|
|
|
|
For Python configuration, see the [Python GitHub Setup](/python/setup/github) guide.
|