Quick Reference
Start here
- Documentation map
- Visual assets guide — diagrams and screenshots
- Quick Start tutorials
- Glossary
Install and run GG
./gg ./MyLib.dll --port 8888 --httpPort 8889
Full options: CLI reference · Install GG
Install a Graft
npm install @graft/nuget-EnergyPrice --registry=http://grft.dev/<project-id>__graftcode
Details: Install a Graft
Basic usage
import { EnergyService } from "@graft/nuget-EnergyPrice"; const energy = new EnergyService(); const price = await energy.getCurrentPrice("DE");
Configuration
import { GraftConfig } from "@graft/nuget-EnergyPrice"; // Remote GraftConfig.host = "tcp://energy-service:8990"; // In-memory: leave host unset GraftConfig.stateless = true;
Full guide: GraftConfig reference · In-memory vs remote
Common GG flags
| Flag | Purpose |
|---|---|
--projectKey / GC_PROJECT_KEY | Portal project binding |
--noVersioning | Hash-based module identity |
--types | Filter exposed types |
--mcpBaseClass | MCP tool resolution |
--tcpServer | Enable TCP transport |
Troubleshooting
| Issue | Doc |
|---|---|
| Gateway won't start | Troubleshooting |
| Connection failed | Transport guide |
| Auth / tokens | Edge client auth |
| Debug wire traffic | GG_DEBUG=1 — Debugging runbook |
Full reference
Links
- Vision:
http://localhost:<httpPort>/vision - Portal: https://portal.graftcode.com
- Documentation: https://docs.graftcode.com