
bfrs/shiprocket-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
이것은 Shiprocket를 위한 모형 Context 의정서 (MCP) 서버입니다.
개요
이것은 Shiprocket를 위한 모형 Context 의정서 (MCP) 서버입니다. 이로, 당신은 할 수 있습니다: - 도시 또는 핀 코드에 근거를 둔 제일 빠른 서비스할 수 있는 특사 파트너 및 그들의 선박 비율 - 창조, 갱신 (단 하나 또는 대량) 및 취소 명령 - AWB 번호, Shiprocket 순서 ID를 사용하여 직접 선박 순서를 추적하십시오, 또는 근원 순서 ID 메일 및 비밀번호로 직접 개인 Shiprocket 계정에 연결됩니다. - 노드 (버전 > 20.0.0 및 < 23.0.0) - Claude 데스크탑 앱 (또는 커서) claude desktop config.json 또는 mcp.json에 다음을 추가하십시오. Claude의 경우 Claude Desktop 구성 디렉토리에 claude desktop config.json으로 저장하십시오. Cursor의 경우 Cursor 구성 디렉토리에 mcp.json으로 저장하십시오. Claude Desktop을 열고 Shiprocket을 사용할 수 있는 통합으로 볼 수 있습니다.
개요(AI 번역)
이것은 Shiprocket를 위한 모형 Context 의정서 (MCP) 서버입니다.
이것으로, 당신은 할 수 있습니다:
- 가장 빠르고 빠른 서비스 제공 업체 (도시 또는 핀 코드 기반) 및 배송 요금 확인
- 생성, 업데이트 (단일 또는 대량), 및 주문 취소
- 선박 주문
- AWB 번호, Shiprocket 주문 ID 또는 소스 주문 ID를 사용하여 주문 추적
메일 및 비밀번호로 직접 개인 Shiprocket 계정에 연결됩니다.
여기에 Claude에 연결 될 때 할 수있는 일의 예입니다.
542️ 예약
- 노드 (버전 > 20.0.0 및 < 23.0.0)
- Claude 데스크탑 앱 (또는 커서)
672️ 설치
##1. 저장소를 복제
##2. 기존 package.json을 사용하여 의존성을 설치하십시오.
##3. MCP 서버 연결
claude_desktop_config.json 또는 mcp.json에 다음을 추가하십시오.
Claude의 경우 Claude Desktop 구성 디렉토리에 claude desktop config.json으로 저장하십시오.
Cursor의 경우 Cursor 구성 디렉토리에 mcp.json으로 저장하십시오.
Claude 데스크톱을 열고 사용할 수 있는 통합으로 ``Shiprocket]을 참조해야 합니다.
또는 시작 Cursor.
원격으로 실행 (HTTP + OAuth) 서버
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
🚀 Shiprocket MCP Integration
This is a Model Context Protocol (MCP) server for Shiprocket.
With this, you can:
- Check best and fastest serviceable courier partners(based on city or pincodes) and their shipping rates
- Create, update (single or bulk), and cancel orders
- Ship orders directly
- Track orders using the AWB number, Shiprocket Order ID, or Source Order ID
It connects to your personal Shiprocket account directly via Email and password.
Here’s an example of what you can do when it’s connected to Claude.
🛠️ Prerequisites
- Node (version > 20.0.0 and < 23.0.0)
- Claude Desktop app (or Cursor)
🛠️ Installation
1. Clone the Repository
git clone https://github.com/bfrs/shiprocket-mcp.git
cd shiprocket-mcp
2. Install Dependencies using the existing package.json
# Install dependencies
npm install
# Build the binary
npm run build
3. Connect to MCP server
Add the following to your claude_desktop_config.json or mcp.json
{
"mcpServers": {
"Shiprocket": {
"command": "npm",
"args": [
"--prefix",
"{{PATH_TO_SRC}}",
"start",
"--silent"
],
"env": {
"SELLER_EMAIL":"",
"SELLER_PASSWORD":""
}
}
}
}
For Claude, save this as claude_desktop_config.json in your Claude Desktop configuration directory at:
~/Library/Application Support/Claude/claude_desktop_config.json
For Cursor, save this as mcp.json in your Cursor configuration directory at:
~/.cursor/mcp.json
Open Claude Desktop and you should now see Shiprocket as an available integration.
Or restart Cursor.
Running as a remote (HTTP + OAuth) server
Instead of every user running a local copy with their password in a config file, the server can be hosted once and sellers connect by URL. Clients (Claude.ai, ChatGPT, Claude Code, Cursor) discover the OAuth endpoints automatically and open a browser login.
cp .env.example .env # then fill in the HTTP section
npm run build && npm run start:http
# or: docker compose up
| Variable | Required | Purpose |
|---|---|---|
OAUTH_ISSUER |
production | Public base URL, e.g. https://mcp.example.com |
TOKEN_ENC_KEY |
production | Base64 32-byte key; seller tokens are AES-256-GCM encrypted in Redis. Generate with openssl rand -base64 32. Rotating it invalidates every stored token (sellers re-login). |
REDIS_HOST / REDIS_PORT / REDIS_PASSWORD / REDIS_TLS |
production | Token store. Without REDIS_HOST an in-memory store is used (development only). |
Endpoints: /.well-known/oauth-authorization-server, /oauth/register (DCR),
/oauth/authorize, /oauth/consent, /oauth/token, /oauth/revoke (RFC 7009 — revoking
either token of a pair invalidates both and closes any live MCP session), /mcp.
Consent and scopes
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"Shiprocket": {
"command": "npm",
"args": [
"--prefix",
"{{PATH_TO_SRC}}",
"start",
"--silent"
],
"env": {
"SELLER_EMAIL":"<Your Shiprocket Email>",
"SELLER_PASSWORD":"<Your Shiprocket password>"
}
}
}
}