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-gen": {
"command": "uvx",
"args": ["my-mcp-servers", "bailian-mcp-server"],
"env": {
"DASHSCOPE_API_KEY": "sk-your-api-key"
}
}
}
}
团队部署
- 部署服务器:
docker-compose up -d
- 团队成员配置:
{
"mcpServers": {
"team-bailian": {
"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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file my_mcp_servers-0.1.1-py3-none-any.whl.
File metadata
- Download URL: my_mcp_servers-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efb6eedb48676c1e6c9f54bc2fc26d5958b164336a3bfa967db52fbcf4841cab
|
|
| MD5 |
6b679688e2e40346ed91e6e2c6cd3d8d
|
|
| BLAKE2b-256 |
dbcc0dae20943a06d157ad062ac28884a9780ce55f3878cc69d4b1fa5240f7d9
|