Token导航 LogoToken导航TokenDH.com
Custom Client With Snowflake MCP Server logo
AI代理stdio官方级别未说明来源级核验

Custom Client With Snowflake MCP Server

MCP Server

提供完整的模型上下文协议(MCP)客户端项目设置指南,支持Python 3.10+环境配置和依赖管理。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
依赖管理Python本地部署STDIO

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

ranjeetapegu

提供方

ranjeetapegu

最后核验

2026/5/17 20:20

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python --version # Should show Python 3.10.x

详细介绍

MCP Client Setup Guide

Complete step-by-step guide for setting up a Model Context Protocol (MCP) client project. Assuming the you have snowflake managed mcp server already created (for more details :https://github.com/ranjeetapegu/Snowflake_Managed_MCP_Servers

Reference: https://modelcontextprotocol.io/docs/develop/build-client

Prerequisites

  1. Mac OS (tested on macOS)
  2. Python 3.10+ (required for MCP package compatibility)
  3. uv (latest version) - Python package manager
  4. Verify uv installation: uv --version

Setup Steps

Step 1: Create Project Directory

# Navigate to your workspace
cd /Users/rpegu/Documents/GenAI/MCP_client

# Initialize new project (if not exists)
uv init mcp-client
cd mcp-client

Step 2: Fix Python Version Requirements

Important: The MCP package requires Python >=3.10, so update your pyproject.toml:

[project]
name = "mcp-client"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"  # Changed from >=3.9
dependencies = [
    "anthropic>=0.71.0",
    "mcp>=1.19.0",
    "python-dotenv>=1.1.1",
]

Step 3: Set Python Version

# Pin Python version to avoid conflicts
uv python pin 3.10

# This creates/updates .python-version file

Step 4: Create Virtual Environment

# Remove any existing environment
rm -rf .venv

# Create new environment with Python 3.10+
uv venv --python 3.10

# Activate virtual environment
source .venv/bin/activate

# Verify Python version
python --version  # Should show Python 3.10.x

Step 5: Install Dependencies

# Install required packages
uv add mcp anthropic python-dotenv

# Or use sync to install from pyproject.toml
uv sync

Step 6: Execution

Navigate

cd /Users/rpegu/Documents/GenAI/MCP_client/mcp-client

Activate environment

source .venv/bin/activate

Run non-interactive (automatic demo)

python without_llm_client.py

Run interactive (manual queries)

python interactive_mcp.py

Deactivate when done

deactivate

System Specifications Used

  • OS: macOS (darwin 24.6.0)
  • Python: 3.10.11
  • Package Manager: uv
  • Shell: /bin/zsh

目录标签

目录标签

依赖管理Python本地部署STDIOPython工具模型上下文协议开发环境配置

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP