open-index/open-npm huggingface dataset:
npm package: @parchmenthealth/docs-mcp
Description: MCP server for Parchment Health API documentation
Author: Parchment Health
Latest version: 1.0.1

# @parchmenthealth/docs-mcp

MCP (Model Context Protocol) server for Parchment Health API documentation. This server provides AI assistants with access to Parchment's integration documentation, OpenAPI specification, and search capabilities.

## Installation

### Claude Code

Add to your `~/.claude.json`:

```json
{
  "mcpServers": {
    "parchment-docs": {
      "command": "npx",
      "args": ["-y", "@parchmenthealth/docs-mcp"]
    }
  }
}
```

Or via CLI:

```bash
claude mcp add parchment-docs -- npx -y @parchmenthealth/docs-mcp
```

### Cursor

Add to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "parchment-docs": {
      "command": "npx",
      "args": ["-y", "@parchmenthealth/docs-mcp"]
    }
  }
}
```

### Codex

Use the same stdio configuration pattern as above.

## Available Tools

### `search_docs`

Search through Parchment API documentation.

**Parameters:**
- `query` (string, required): Search query - can include multiple terms
- `limit` (number, optional): Maximum results to return (default: 5)

**Example:**
```
search_docs("authentication token")
search_docs("webhook events", limit=10)
```

### `list_resources`

List all available documentation resources.

### `get_openapi_spec`

Get the complete OpenAPI 3.0 specification for the Parchment API.

## Available Resources

| Resource | URI | Description |
|----------|-----|-------------|
| OpenAPI Spec | `parchment://openapi` | Complete API specification |
| Integration Guide | `parchment://docs/integration-guide` | Partner integration guide |
| Authentication | `parchment://docs/authentication` | Auth overview |
| Token Creation | `parchment://docs/token-creation` | How to create tokens |
| Scopes | `parchment://docs/scopes` | Available API scopes |
| SSO | `parchment://docs/sso` | SSO integration guide |
| Webhooks | `parchment://docs/webhooks` | Webhook integration |
| FAQ | `parchment://docs/faq` | Frequently asked questions |

## Development

### Setup

```bash
cd mcp-server
npm install
```

### Build

```bash
npm run build
```

This runs two steps:
1. `build:content` - Parses MDX files and generates search index
2. `tsc` - Compiles TypeScript

### Test locally

```bash
# Run directly with tsx
npm run dev

# Or test JSON-RPC
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node dist/index.js
```

## License

MIT
npm package: @parcility/kennel
Description: A comprehensive, easy-to-use native depiction renderer.
Author: Zenith
Latest version: 2.0.5

# Kennel

A complete implementation of Sileo's native depictions in TypeScript.

---

### Get Started

```shell script
$ npm i @parcility/kennel
```

### API

Kennel was written to be as easy to interact with as possible.

`render(depiction: any, options?: Parital<RenderOptions>): Promise<HTMLElement | string>`

> Render a depiction to either a HTMLElement or a string.
>
> `depiction`: An object that stores the native depiction's contents.
>
> `options`: The settings used for rendering.
> `options.ssr`: Output a string instead of a DOM element.
> `options.defaultTintColor`: The css color used for the tint.

`hydrate(target?: ParentNode): void`

> Runs the hydrate function on views that need to be hydrate. Can only be ran on the client side.
> `target`: The root element for hydration. Defaults to `document.body`.

#### Example

```ts
// Import Kennel
import { render, hydrate } from "@parcility/kennel";

// Assumes the `depiction` variables exists elsewhere. The second argument (options) can be omitted.
let output = await render(depiction, { ssr: true });

// sometime on the client.
hydrate();
```

A full demo is available by running `yarn dev`.

---

### Development

### Testing

Run the test page, which loads depictions from the `test/` directory.

```shell script
yarn dev
```

### Building

This is not required if you installed Kennel through NPM.

1: Install dependencies

```shell script
yarn install
```

2: Build module

```shell script
yarn build
```
npm package: @parcl-finance/e2e-react-adapter
Description: Adapter for Solana end-to-end tests. Injects a programmatic wallet in you dapp.
Latest version: 0.0.2

# @parcl-finance/e2e-react-adapter

## What is it?

@parcl-finance/e2e-react-adapter is a fork of the test adapter developed by @jet-lab for solana decentralised applications. It allows to interact with your application without having to go through a browser extension, this in turn enables end-to-end testing. It also allows to programmatically reject transaction, so you can test the sad paths too.

We forked this in order to add missing functionality quickly without having to bother the @jet-lab team.

## Why?

We have found difficult to integrate a solid end-to-end test suite by using what's currently available in the ecosystem. As we care about bug free code, it was a no-brainer to create an adapter that enabled e2e testing.

## Installation

To install: `yarn add @parcl-finance/e2e-react-adapter` or `npm -i @parcl-finance/e2e-react-adapter`

## Usage

Simply add your wallet adapter to the array of adapters you normally send to your `wallet-adapter-react`

```tsx
import {  WalletProvider  }  from  '@solana/wallet-adapter-react';
import {
  PhantomWalletAdapter,
  MathWalletAdapter,
  SolflareWalletAdapter,
  SolongWalletAdapter,
  SolletWalletAdapter
} from '@solana/wallet-adapter-wallets';
import { E2EWalletAdapter } from 'e2e-react-adapter';
import { useMemo } from 'react';
import Main from './Main'

export function App() {
  const wallets = useMemo(() => [
    new PhantomWalletAdapter(),
    new MathWalletAdapter(),
    new SolflareWalletAdapter(),
    new SolongWalletAdapter(),
    new SolletWalletAdapter(),
    new SlopeWalletAdapter(),
    new E2EWalletAdapter()
  ]}, []);
  
  return (
    <WalletProvider wallets={wallets}  autoConnect>
	    <Main />
    </WalletProvier>
  )
}
```

The library will generate a new kepair each time is re-run so you either need to have an airdrop functionality on your localnet / devnet instance or you can pass a keypair object to the constructor like so:

```
new E2EWalletAdapter({
  keypair: <your_keypair>
})
```

optionally you can also programmatically reject to send or signing a transaction with `adapter.rejectNext()` or `window.solanaE2E.rejectNext()`
npm package: @parcl-oss/staking
Description: Parcl Staking SDK
Latest version: 0.0.3

# Staking Program

This repository contains the Staking Program.

## Prerequisites

Before you begin, ensure you have met the following requirements:

- Node.js v16.13
- Solana CLI v1.14.20
- Anchor v0.27.0
- Docker

## Building the Project

You can create a verifiable build of the project by running the following command:

```bash
./scripts/build_verifiable_staking_program.sh
```

If you want to create a verifiable build for testing, use the -t option:

```bash
./scripts/build_verifiable_staking_program.sh -t
```

The result of the build will be `target` folder.

## Clone the required programs

To clone the governance and chat programs from the Devnet environment, execute the following command:

```bash
npm run dump_governance
```

## Run tests

To run the tests locally use the following command:

```bash
npm run test
```

To run the tests with verifiable builds:

```bash
npm run test:ci
```
npm package: @parcl-oss/v3-api-client
Description: <div align="center"> <img height="180" src="https://avatars.githubusercontent.com/u/84755822?s=200&v=4"/> <h1 style="margin-top:-15px;">v3-api-client-ts</h1> </div>
Latest version: 0.0.0

<div align="center">
<img height="180" src="https://avatars.githubusercontent.com/u/84755822?s=200&v=4"/>
<h1 style="margin-top:-15px;">v3-api-client-ts</h1>
</div>

## Quick Start

Typescript client library for interacting with parcl-v3 via an api. Provides easy ways to trade and manage margin accounts.

Api and client library are in alpha. Code may change.

## Getting Started

To use the typescript library, add the library to your dependencies in your `package.json`:

```bash
npm install @parcl-oss/v3-api-client
```

## Usage

```typescript
import { ParclV3ApiClient } from "@parcl-oss/v3-api-client";

const v3ApiClient = new ParclV3ApiClient();
```

## Examples

For the full code and other examples please see [examples repo](https://github.com/ParclFinance/v3-api-examples).

Simplified trade:

```typescript
import {
  setupWalletAndV3ApiClientAndRpcClient,
  deserializeTransactionSetBlockhashAndSignMessage,
  sendAndConfirmTransaction,
} from "../utils";

(async function main() {
  // See utils for more info on setup
  const { wallet, v3ApiClient, rpcClient } =
    setupWalletAndV3ApiClientAndRpcClient();

  // Setup trade inputs
  const marginAccountId = 0; // Margin account with id 0
  const marketId = 23; // SOL market
  const sizeDelta = -20; // 0.00002 SOL short
  const slippageToleranceBps = 200; // 2%

  // Fetch trade transaction and latest blockhash.
  const [response, { blockhash: latestBlockhash }] = await Promise.all([
    v3ApiClient.transactions.getModifyPositionTransaction({
      modifyPositionPayload: {
        owner: wallet.publicKey.toBase58(),
        marginAccountId: marginAccountId.toString(),
        marketId: marketId,
        sizeDelta: sizeDelta.toString(),
        slippageToleranceBps,
      },
    }),
    rpcClient.getLatestBlockhash(),
  ]);

  // Deserialize trade transaction into a versioned transaction. Set blockhash and sign transaction.
  const tx = deserializeTransactionSetBlockhashAndSignMessage(
    response.transaction,
    wallet,
    latestBlockhash
  );

  // Send trade transaction
  console.log("Sending modify_position transaction...");
  const signature = await sendAndConfirmTransaction(tx, rpcClient);
  console.log("Signature: ", signature);
})();
```

## Additional Resources

- [OpenAPI Documentation](https://v3.parcl-api.com/docs): See available routes.
- [Examples Repo](https://github.com/ParclFinance/v3-api-examples): Examples of common use cases.
- [Parcl Website](https://parcl.co): Check out the official Parcl website for additional information and resources.
npm package: @parcl-oss/v3-sdk
Description: <div align="center"> <img height="180" src="https://app.parcl.co/favicon.png"/> <h1>v3-sdk</h1> </div>
Latest version: 0.0.5

<div align="center">
<img height="180" src="https://app.parcl.co/favicon.png"/>
<h1>v3-sdk</h1>
</div>

[![npm version](https://img.shields.io/npm/v/@parcl-oss/v3-sdk/latest.svg)](https://www.npmjs.com/package/@parcl-oss/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@parcl-oss/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@parcl-oss/v3-sdk@latest)

Parcl-v3 client library and SDK in TypeScript.

## Alpha Software

This sdk is in alpha. It may contain bugs and it may change significantly between versions.

## Development

Pull requests welcome. Please reach out in the discord dev channel with any questions.

## Installation

```bash
npm install @parcl-oss/v3-sdk

or

yarn add @parcl-oss/v3-sdk
```

## Usage

Examples folder shows account fetching and modify position example. Please reach out in the discord dev channel with any usage questions or examples requests.

## Documentation

https://parcl-v3-sdk-ts-docs.vercel.app/