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服务器
Cherry Studio
前提条件:已安装 Cherry Studio
{
"mcpServers": {
"TextToImage": {
"name": "文生图",
"type": "streamableHttp",
"description": "基于阿里云百炼文生图模型封装的 MCP服务器",
"isActive": true,
"baseUrl": "http://localhost:8000/gen_images/mcp",
"headers": {
"Authorization": "Bearer ${DASHSCOPE_API_KEY}"
}
}
}
}
cursor/kilo/roocode/cline
{
"mcpServers": {
"TextToImage-文生图": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8000/gen_images/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "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 Distribution
my_mcp_servers-0.1.0.tar.gz
(10.8 kB
view details)
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.0.tar.gz.
File metadata
- Download URL: my_mcp_servers-0.1.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
656259ef3597e02e25057e12b5e89633a846b7c3fcaf3c80c82d4d16aaa7e9bd
|
|
| MD5 |
7433130069435821c149664df0812f98
|
|
| BLAKE2b-256 |
9ac080e74cb244e8e05dd2296a28ac10501d3176b97ae7186a499986da51af80
|
File details
Details for the file my_mcp_servers-0.1.0-py3-none-any.whl.
File metadata
- Download URL: my_mcp_servers-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.6 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 |
da555ba12c7cab52b280ec12280e24f94e6fb24f009496288fe3c175b907c7e2
|
|
| MD5 |
79e542f4ff4169c2cdc63e46e1323edb
|
|
| BLAKE2b-256 |
1dbddc2edc016e9504a3f0746e525693fb776e8ce0f72022bf24e383279c59af
|