🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@humanform/mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@humanform/mcp - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
package.json
{
"name": "@humanform/mcp",
"version": "0.1.0",
"version": "0.1.1",
"description": "Model Context Protocol server for the Humanform anthropometric prediction API",

@@ -5,0 +5,0 @@ "type": "module",

@@ -7,13 +7,17 @@ # Humanform MCP server

1. Build from the repo root:
1. Install (optional if you use `npx` in your MCP config):
```bash
pnpm --filter @humanform/mcp build
npm install @humanform/mcp
```
2. Set your API key (from the Humanform dashboard):
2. Set your API key from the [Humanform dashboard](https://dashboard.humanform.app):
```bash
export HUMANFORM_API_KEY="hf_live_..."
# optional override (defaults to https://api.humanform.app)
```
Optional: override the API base URL (defaults to `https://api.humanform.app`):
```bash
export HUMANFORM_API_URL="https://api.humanform.app"

@@ -38,3 +42,3 @@ ```

For local development from this repo, use `node` with the path to `apps/mcp/dist/index.js` instead.
If you installed globally or locally, you can use `"command": "humanform-mcp"` instead of `npx`.

@@ -54,4 +58,3 @@ ## Tools

```bash
pnpm --filter @humanform/mcp build
HUMANFORM_API_KEY="hf_live_..." npx @modelcontextprotocol/inspector node apps/mcp/dist/index.js
HUMANFORM_API_KEY="hf_live_..." npx @modelcontextprotocol/inspector npx -y @humanform/mcp
```

@@ -67,6 +70,17 @@

## Local smoke script
## Local development
For contributors working in the [humanform-api](https://github.com/dougkilby/humanform-api) monorepo:
```bash
pnpm --filter @humanform/mcp build
pnpm --filter @humanform/mcp test:smoke
```
Smoke test and MCP Inspector against a local build:
```bash
pnpm --filter @humanform/mcp build
HUMANFORM_API_KEY="hf_live_..." pnpm --filter @humanform/mcp test:smoke
HUMANFORM_API_KEY="hf_live_..." npx @modelcontextprotocol/inspector node apps/mcp/dist/index.js
```