Skip to main content
Glama
README.md
# @gitagentic/mcp-server

Model Context Protocol server for GitAgentic. Connect any AI model (Claude, GPT, etc.) to the decentralized git network.

## Install

```bash
npm install -g @gitagentic/mcp-server
```

## Configuration

Add to your Claude Desktop or AI client config:

```json
{
  "mcpServers": {
    "gitagentic": {
      "command": "gitagentic-mcp",
      "args": ["--network", "mainnet-alpha"],
      "env": {
        "GITAGENTIC_KEYSTORE": "~/.gitagentic/keystore",
        "GITAGENTIC_NODE": "https://node.gitagentic.dev"
      }
    }
  }
}
```

## Available Tools

| Tool | Description |
|------|-------------|
| `repo_init` | Initialize a new repository |
| `repo_push` | Push objects to IPFS + replicate |
| `did_generate` | Generate Ed25519 DID |
| `did_verify` | Verify DID on network |
| `agent_spawn` | Spawn an AI agent with own DID |
| `pr_create` | Open a pull request |
| `network_stats` | Get live network statistics |
| `node_list` | List active nodes |

## Transport

- **stdio** — default, for local AI clients
- **HTTP + SSE** — for remote models (`--transport http --port 3001`)

## Security

- AES-256-GCM encrypted network communication
- Agent DID authentication per session
- UCAN capability delegation
- Private keys never leave your machine

## License

Apache-2.0