open-index/open-npm huggingface dataset:
npm package: @modexamm/sdk
Description: 🛠 An SDK for building applications on top of Mode Network.
Author: miscuzi69
Latest version: 1.0.0

# ModeX SDK
This repo contains tools for developing with ModeX.

## Running
This project uses standard npm and yarn workflows.

Install dependencies

```sh
yarn
```

Compile
```sh
yarn build
```

Yarn is available to install [here](https://classic.yarnpkg.com/en/docs/install/#debian-stable) if you need it.

## Installation
This project is available as an npm package. Add to your project with `npm install @modex/sdk`

## Attribution
This code was adapted from this Uniswap repo: [uniswap-sdk](https://github.com/Uniswap/sdk).
npm package: @modfin/mf-json-rpc
Description: websocket implementation of json-rpc as used at modular finance
Author: Jonas Zeitler
Latest version: 0.1.0

# MF JSON RPC

### Install

```
npm i @modfin/mf-json-rpc
```

### Call (standard request/response)

```javascript
import { Rpc } from '@modfin/mf-json-rpc'

const client = new Rpc({ uri: 'ws://localhost:7357' })
// (don't need to wait for any connection to be established, it's handled internally)
const res = await client.call('method', { optional: 'params' })
```

### Stream 

TODO: maybe expose a generator or some fancy cycle.js stream, but is a simple callback for now

```javascript
import { Rpc } from '@modfin/mf-json-rpc'

const client = new Rpc({ uri: 'ws://localhost:7357' })
let updates = []
client.stream('method_with_stream_support', { optional: 'params' }, update => {
    updates = [...updates, update]
})
```

### Options

```javascript
const client = new Rpc({ uri: 'ws://localhost:7357' })
const res = await client.call(
    'method',
    { optional: 'params' },
    { headers: { Authorization: authToken } }
)
client.stream(
    'method_with_stream_support',
    { optional: 'params' },
    update => { updates = [...updates, update] },
    { headers: { Authorization: authToken } }
)
```

### Typescript support

Some methods have a template parameter to indicate the expected shape of e.g. a result:

```Typescript
interface ComplexType { s: string, n: number, nested: { a: (number | string)[] } }
const complexResponse: MFJsonRpcResponse<ComplexType> = await client.call<ComplexType>('complex-method')
const complexResult: ComplexType = complexResponse.result
```
npm package: @modflowai/mcp-server
Description: Cursor IDE wrapper for MFAI Repository Navigator MCP server
Author: ModFlow AI
Latest version: 1.0.4

# @modflowai/mcp-server

A wrapper that enables Cursor IDE to connect to the MFAI Repository Navigator MCP server using HTTP transport. This package works around known compatibility issues between Cursor and mcp-remote.

## Installation

You don't need to install this package separately. It can be run directly using `npx`.

## Usage

Add this configuration to your Cursor MCP settings (usually in `~/.cursor/mcp.json` or through Cursor's settings):

```json
{
  "mcpServers": {
    "mfai": {
      "command": "npx",
      "args": ["-y", "@modflowai/mcp-server"],
      "env": {
        "MFAI_API_KEY": "your_api_key_here"
      }
    }
  }
}
```

## Configuration

### Required Environment Variables

- `MFAI_API_KEY`: Your API key for authentication (required)

### Optional Environment Variables

- `MFAI_SERVER_URL`: Override the default server URL (default: `https://mfai-repository-navigator.little-grass-273a.workers.dev/mcp`)
- `MFAI_DEBUG`: Set to `"true"` for debug logging

## Example with Custom Server

```json
{
  "mcpServers": {
    "mfai": {
      "command": "npx",
      "args": ["-y", "@modflowai/mcp-server"],
      "env": {
        "MFAI_API_KEY": "your_api_key_here",
        "MFAI_SERVER_URL": "https://your-custom-server.workers.dev/mcp"
      }
    }
  }
}
```

## How It Works

This wrapper:
1. Reads the API key from the `MFAI_API_KEY` environment variable
2. Spawns `mcp-remote` with the correct HTTP transport settings
3. Handles process lifecycle and error management
4. Passes through all stdio communication between Cursor and the MCP server

## Troubleshooting

If the wrapper doesn't work:

1. **Check Node.js is installed**: Run `node --version` (requires Node.js 18+)
2. **Check npm is available**: Run `npm --version`
3. **Enable debug mode**: Set `MFAI_DEBUG=true` in the env section
4. **Check the API key**: Ensure it's correctly set and valid

## License

MIT
npm package: @modfy/design
Description: Here are where we stores custom tailwind properties, colors, etc.
Latest version: 0.1.6

# Modfy Design Extras

Here are where we stores custom tailwind properties, colors, etc.

And logos, icons, etc.


## Usage

```bash
pnpm install @modfy/design
```

```js
// tailwind.config.js
const withModfyTailwindConfig =
  require('./dist/tailwind.config.cjs').withModfyTailwindConfig

module.exports = withModfyTailwindConfig({
  purge: ['**/*.tsx'],
  theme: {
    extend: {
      colors: {
        orange: colors.orange
      }
    }
  },
  variants: {
    extend: {}
  },
  plugins: [require('@tailwindcss/forms')]
})
```

## Dev

Add tailwind customization to `tailwind.config.ts`

```bash
pnpm build - to update tailwind config
```

Use `App.tsx` to play with your changes and styles
```bash
pnpm dev
```
npm package: @modfy/eslint
Description: Supports - Typescript - React - Eslint - Prettier - Automatic Import Sorting - Recommend to use with Prettier + Eslint Plugin on Vscode
Latest version: 0.1.1

# Internal Eslint Config

Supports
- Typescript
- React
- Eslint
- Prettier
- Automatic Import Sorting
- Recommend to use with Prettier + Eslint Plugin on Vscode


## Install

```
yarn add -D @modfy/eslint eslint prettier prettier-config-standard

pnpm add -D @modfy/eslint eslint prettier prettier-config-standard
```


## Usage

```
touch .eslintrc.js .prettierrc
echo "module.exports = require('@modfy/eslint').default" >> .eslintrc.js
echo "\"prettier-config-standard\"" >> .prettierrc
```