
uipath/uipath-mcp-python
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
UiPath 내의 MCP 서버 구축 및 호스트
개요
UiPath 플랫폼에서 로컬 MCP 서버를 호스팅하는 Python SDK. 다양한 MCP 서버 구현을 탐색하기 위해 샘플 디렉토리를 확인하십시오. UiPath 내의 언어로 작성된 이진 서버를 포장하고 호스트하는 방법을 배울 수 있습니다. SDK는 Python 기반 MCP 서버를 생성, 포장, 배포하는 명령행 인터페이스도 제공합니다. 이 명령은 인증을위한 브라우저를 열고 적절한 자격 증명으로 .env 파일을 생성 / 업데이트합니다. 프로젝트의 uipath.json 구성 파일을 만듭니다. [SERVER]가 제공되지 않은 경우, mcp.json 파일에 정의된 각 MCP 서버의 엔트리포인트를 만들 것입니다. MCP Server를 UiPath로 배포할 수 있는 .nupkg 파일로 패키지합니다. pyproject.toml는 다음을 포함해야 합니다: - 설명 필드 (보id 문자: &, , ", ', ;) - 저자 정보 최근 UiPath Orchestrator에 패키지를 만들었습니다.
개요(AI 번역)
UiPath 플랫폼에서 로컬 MCP 서버를 호스팅하는 Python SDK.
다양한 MCP 서버 구현을 탐색하기 위해 샘플 디렉토리를 확인하십시오. UiPath 내의 언어로 작성된 이진 서버를 포장하고 호스트하는 방법을 배울 수 있습니다.
설치
사용 uv:
구성
서버 정의
mcp.json 파일 만들기:
명령 선 공용영역 (CLI)
SDK는 Python 기반 MCP 서버를 생성, 포장, 배포하는 명령행 인터페이스도 제공합니다.
인증
이 명령은 인증을위한 브라우저를 열고 .env] 파일을 적절한 자격 증명으로 생성/업데이트합니다.
프로젝트 초기화
프로젝트의 uipath.json 구성 파일을 만듭니다. [SERVER]가 제공되지 않은 경우, mcp.json] 파일에 정의된 각 MCP 서버의 엔트리포인트를 만들 것입니다.
프로젝트 디버그
로컬 MCP Server 시작
프로젝트 패키지
MCP Server를 UiPath로 배포할 수 있는 .nupkg 파일로 패키지합니다.
**주의: ** pyproject.toml는 다음을 포함합니다:
- 설명 필드 (자본: &, ", ', ;)
- 저자 정보
예:
# 패키지를 게시
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
UiPath MCP Python SDK
A Python SDK that enables hosting local MCP servers on UiPath Platform.
Check out our samples directory to explore various MCP server implementations. You can also learn how to pack and host binary servers written in languages like Go within UiPath.
Installation
pip install uipath-mcp
using uv:
uv add uipath-mcp
Configuration
Servers Definition
Create the mcp.json file:
{
"servers": {
"my-python-server": {
"type": "stdio",
"command": "python",
"args": ["server.py"]
},
}
}
Command Line Interface (CLI)
The SDK also provides a command-line interface for creating, packaging, and deploying Python-based MCP servers:
Authentication
uipath auth
This command opens a browser for authentication and creates/updates your .env file with the proper credentials.
Initialize a Project
uipath init [SERVER]
Creates a uipath.json configuration file for your project. If [SERVER] is not provided, it will create an entrypoint for each MCP server defined in the mcp.json file.
Debug a Project
uipath run [SERVER]
Starts the local MCP Server
Package a Project
uipath pack
Packages your MCP Server into a .nupkg file that can be deployed to UiPath.
Note: Your pyproject.toml must include:
- A description field (avoid characters: &, , ", ', ;)
- Author information
Example:
description = "Your package description"
authors = [{name = "Your Name", email = "[email protected]"}]
Publish a Package
uipath publish
Publishes the most recently created package to your UiPath Orchestrator.
Project Structure
To properly use the CLI for packaging and publishing, your project should include:
- A
pyproject.tomlfile with project metadata - A
mcp.jsonfile with servers metadata - A
uipath.jsonfile (generated byuipath init) - Any Python files needed for your automation
Development
Setting Up a Development Environment
Please read our contribution guidelines before submitting a pull request.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →