Skip to main content

Model Context Protocol servers for PostgreSQL and Alibaba Cloud Bailian image generation

Project description

my-mcp-servers

Model Context Protocol Servers

项目介绍

本项目包含多个Model Context Protocol (MCP)服务器实现,用于提供各种工具和服务。

服务器列表

1. PostgreSQL MCP服务器

提供与PostgreSQL数据库交互的工具和资源。

2. 阿里云百炼生图API MCP服务器

支持两种部署模式:

个人使用(推荐)

{
  "mcpServers": {
    "bailian-image-gen": {
      "command": "uvx",
      "args": ["my-mcp-servers", "bailian-mcp-server"],
      "env": {
        "DASHSCOPE_API_KEY": "sk-your-api-key"
      }
    }
  }
}

团队部署

  1. 部署服务器:
docker-compose up -d
  1. 团队成员配置:
{
  "mcpServers": {
    "bailian-image-gen": {
      "type": "streamableHttp",
      "baseUrl": "https://your-server.com:8000/mcp",
      "headers": {
        "Authorization": "Bearer ${DASHSCOPE_API_KEY}"
      }
    }
  }
}

开发说明

环境配置

# 使用uv安装依赖
uv sync

运行服务器

启动 PostgreSQL MCP 服务器

uv run mcp dev src/postgresql/pg_mcpserver.py

启动 阿里云百炼生图API MCP 服务器

uv run mcp dev src/gen_images/bailian_mcpserver.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

my_mcp_servers-0.1.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file my_mcp_servers-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: my_mcp_servers-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for my_mcp_servers-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dddc20b38e03604bd72fcbd5f68ad533a674545d2d03218844cb304d2c1889ca
MD5 4f60853ce465bdf4634751cd7f58422d
BLAKE2b-256 245fd2c0d473215ab311f7d7388c086e6c806dee1e676fc7ed68496b58dbf18c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page