Skip to main content
Glama

Accounting MCP Server

by smile7up
setup_env.sh1.42 kB
#!/bin/bash # 项目环境设置脚本 echo "🚀 设置记账 MCP 项目环境..." # 检查是否有 conda if command -v conda &> /dev/null; then echo "✅ 发现 conda,激活 myenv 环境..." # 检查 myenv 环境是否存在 if conda env list | grep -q "myenv"; then echo "✅ myenv 环境存在,激活中..." eval "$(conda shell.bash hook)" conda activate myenv else echo "❌ myenv 环境不存在,请先创建:" echo " conda create -n myenv python=3.11" exit 1 fi # 检查是否有 uv if command -v uv &> /dev/null; then echo "✅ 使用 uv 安装依赖(推荐,更快)..." uv pip install -r requirements.txt uv pip install -r requirements-dev.txt else echo "⚠️ uv 未安装,使用 pip 安装依赖..." echo " 建议安装 uv: pip install uv" pip install -r requirements.txt pip install -r requirements-dev.txt fi else echo "❌ 未找到 conda,创建虚拟环境..." python -m venv venv source venv/bin/activate pip install -r requirements.txt pip install -r requirements-dev.txt fi echo "✅ 环境设置完成!" echo "" echo "🧪 运行测试:" echo " pytest" echo "" echo "🚀 启动服务器:" echo " python -m accounting_mcp.server" echo "" echo "🔧 交互式测试:" echo " python test_client.py"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smile7up/accounting-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server