Metadata-Version: 2.4
Name: sansos-sanskrit
Version: 0.1.9
Summary: A Python module and MCP server for coding agents to understand and write Sassembly/Sanskrit code.
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: mcp>=0.1.0
Requires-Dist: wasmtime>=21.0.0

# Sanskrit Agent

A Python module and MCP server for coding agents to understand and write Sassembly/Sanskrit code.

## Installation

```bash
pip install sansos-sanskrit
```

### Installing the Compiler and Tools
You can install the `sadhana` compiler and `sassembly-web` directly from our public GitHub repository:
```bash
cargo install --git https://github.com/paramtatv/sansos.git sadhana
cargo install --git https://github.com/paramtatv/sansos.git sassembly-web
```

## Usage with Coding Agents

This module uses the [Model Context Protocol (MCP)](https://modelcontextprotocol.io) to integrate seamlessly with Claude Code, Cursor, and other compatible agents.

### Auto-Sync with Agents

Instead of manually configuring each agent, you can automatically install the MCP server into all supported and installed coding agents on your machine (like Claude Desktop, Cursor, Windsurf, etc.):

```bash
sanskrit sync
```

### Manual Configuration

If you prefer to configure your agent manually, add the following to your agent's configuration file (e.g., `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "sanskrit": {
      "command": "sanskrit",
      "args": []
    }
  }
}
```

### Supported Agents
- Claude Code
- Cursor
- OpenDevin
- Aider
- Sweep
- Continue.dev
- Codex
- Gemini
- Windsurf
- Copilot
- And any other agent supporting MCP!

## Features

- **check_sassembly**: Validates Sassembly code syntax.
- **transliterate_sanskrit**: Transliterates text into Devanagari script for Sassembly compatibility.
