Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @keeperhub/mcp-client build
- run: pnpm --filter @keeperhub/mcp-client test
- run: pnpm --filter @keeperhub/mcp-client type-check
- run: pnpm --filter @keeperhub/mcp build
- run: pnpm --filter @keeperhub/mcp test
- run: pnpm --filter @keeperhub/mcp type-check

python:
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: release-npm

# Publishes @keeperhub/mcp-client (TypeScript) to npm via trusted publishing (OIDC).
# Publishes @keeperhub/mcp (TypeScript) to npm via trusted publishing (OIDC).
# Triggered by an npm release tag, e.g. `git tag npm-v0.1.0 && git push origin npm-v0.1.0`.
# (Independent of the Python package, which uses py-v* tags / release-pypi.yml.)
#
# ONE-TIME SETUP (npm cannot trust a package that doesn't exist yet):
# 1. Publish v1 manually once: `cd packages/mcp-client && npm publish`.
# 2. On npmjs.com: package @keeperhub/mcp-client -> Settings -> Trusted Publisher ->
# 1. Publish v1 manually once: `cd packages/mcp && npm publish`.
# 2. On npmjs.com: package @keeperhub/mcp -> Settings -> Trusted Publisher ->
# GitHub Actions, org "KeeperHub", repo "mcp-client", workflow file "release-npm.yml".

on:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Ensure npm supports OIDC trusted publishing
run: npm install -g npm@latest # OIDC requires npm >= 11.5.1
- run: pnpm install --frozen-lockfile
- run: pnpm --filter @keeperhub/mcp-client build
- run: pnpm --filter @keeperhub/mcp build
- name: Publish to npm
working-directory: packages/mcp-client
working-directory: packages/mcp
run: npm publish # no token, no --provenance: both handled by trusted publishing
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @keeperhub/mcp-client
# @keeperhub/mcp

Shared MCP client foundation for connecting agent frameworks to [KeeperHub](https://keeperhub.com).

Expand All @@ -8,7 +8,7 @@ This repo holds the small, framework-agnostic MCP kernel that framework adapters

| Package | Language | Path | Registry |
| -- | -- | -- | -- |
| `@keeperhub/mcp-client` | TypeScript | `packages/mcp-client` | npm |
| `@keeperhub/mcp` | TypeScript | `packages/mcp` | npm |
| `keeperhub-mcp-client` | Python | `python` | PyPI |

Both clients implement the same kernel:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@keeperhub/mcp-client-monorepo",
"name": "@keeperhub/mcp-monorepo",
"version": "0.0.0",
"private": true,
"description": "KeeperHub MCP client foundation (TypeScript + Python).",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/KeeperHub/mcp-client.git"
"url": "https://github.com/KeeperHub/mcp.git"
},
"scripts": {
"build": "pnpm -r build",
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions packages/mcp-client/README.md → packages/mcp/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @keeperhub/mcp-client
# @keeperhub/mcp

Official TypeScript client for the KeeperHub MCP HTTP endpoint (`https://app.keeperhub.com/mcp`).

Expand All @@ -13,7 +13,7 @@ Official TypeScript client for the KeeperHub MCP HTTP endpoint (`https://app.kee
## Usage

```ts
import { getClient, resolveApiKey } from "@keeperhub/mcp-client";
import { getClient, resolveApiKey } from "@keeperhub/mcp";

const apiKey = resolveApiKey({ env: process.env });
if (!apiKey) throw new Error("KH_API_KEY not set");
Expand All @@ -29,8 +29,8 @@ const workflows = await client.callTool("list_workflows", {});

```bash
pnpm install
pnpm --filter @keeperhub/mcp-client build
pnpm --filter @keeperhub/mcp-client test
pnpm --filter @keeperhub/mcp build
pnpm --filter @keeperhub/mcp test
```

## License
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@keeperhub/mcp-client",
"name": "@keeperhub/mcp",
"version": "0.1.0",
"description": "Shared MCP client foundation for KeeperHub agent-framework adapters.",
"author": "KeeperHub",
Expand Down Expand Up @@ -30,12 +30,12 @@
},
"repository": {
"type": "git",
"url": "https://github.com/KeeperHub/mcp-client.git",
"directory": "packages/mcp-client"
"url": "https://github.com/KeeperHub/mcp.git",
"directory": "packages/mcp"
},
"homepage": "https://docs.keeperhub.com",
"bugs": {
"url": "https://github.com/KeeperHub/mcp-client/issues"
"url": "https://github.com/KeeperHub/mcp/issues"
},
"scripts": {
"build": "tsup",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class KeeperHubMcpClient {
this.apiKeyKind = classifyApiKey(apiKey);
this.baseUrl = options.baseUrl ?? DEFAULT_MCP_URL;
this.clientInfo = options.clientInfo ?? {
name: "@keeperhub/mcp-client",
name: "@keeperhub/mcp",
version: "0.1.0",
};
this.logger = options.logger ?? console;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Python MCP client foundation for connecting agent frameworks (Hermes and others) to [KeeperHub](https://keeperhub.com).

The Python counterpart to [`@keeperhub/mcp-client`](https://www.npmjs.com/package/@keeperhub/mcp-client). Implements the same kernel: MCP session bootstrap + re-init on `401`/`404`, `kh_` vs `wfb_` key disambiguation, and single JSON-result unwrap.
The Python counterpart to [`@keeperhub/mcp`](https://www.npmjs.com/package/@keeperhub/mcp). Implements the same kernel: MCP session bootstrap + re-init on `401`/`404`, `kh_` vs `wfb_` key disambiguation, and single JSON-result unwrap.

## Usage

Expand Down
4 changes: 2 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ dev = ["pytest>=8", "httpx>=0.27"]
[project.urls]
Homepage = "https://keeperhub.com"
Documentation = "https://docs.keeperhub.com"
Repository = "https://github.com/KeeperHub/mcp-client"
Issues = "https://github.com/KeeperHub/mcp-client/issues"
Repository = "https://github.com/KeeperHub/mcp"
Issues = "https://github.com/KeeperHub/mcp/issues"

[tool.hatch.build.targets.wheel]
packages = ["keeperhub_mcp_client"]
Expand Down
Loading