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.4-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: my_mcp_servers-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fe287bf8f76159657c748f3d988a86af8fcba55990b5e8d59a9fa4a3bc66415c
MD5 b4cbc277ec5a6432e9fec68f3f7b06cd
BLAKE2b-256 92fe57f860824fb464062f49c3b5f06ce3c07770dc852794513cfcd0deaf5f36

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