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

Uploaded Python 3

File details

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

File metadata

  • Download URL: my_mcp_servers-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc793fb8d6f2b050700c787b2952dfab9894ce7aaedc66c0872beaa2f746751
MD5 bd199c01d654b1bf7c533172288d34b4
BLAKE2b-256 1fcfcf574a1cc1b46dec51cbb689593e2221beed293caebc7ae8057d0e9dfff3

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