Delivers cryptocurrency sentiment analysis to AI agents.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add crypto-sentiment --env SANTIMENT_API_KEY='<SANTIMENT_API_KEY>' -- uv --directory path/to/crypto-sentiment-mcp run main.py~/.codex/config.toml
[mcp_servers.crypto-sentiment]
command = "uv"
args = ["--directory", "path/to/crypto-sentiment-mcp", "run", "main.py"]
env = { SANTIMENT_API_KEY = "<SANTIMENT_API_KEY>" }
# codex mcp add crypto-sentiment --env SANTIMENT_API_KEY='<SANTIMENT_API_KEY>' -- uv --directory path/to/crypto-sentiment-mcp run main.py~/.cursor/mcp.json
{
"mcpServers": {
"crypto-sentiment": {
"command": "uv",
"args": [
"--directory",
"path/to/crypto-sentiment-mcp",
"run",
"main.py"
],
"env": {
"SANTIMENT_API_KEY": "<SANTIMENT_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"crypto-sentiment": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"path/to/crypto-sentiment-mcp",
"run",
"main.py"
],
"env": {
"SANTIMENT_API_KEY": "<SANTIMENT_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"crypto-sentiment": {
"command": "uv",
"args": [
"--directory",
"path/to/crypto-sentiment-mcp",
"run",
"main.py"
],
"env": {
"SANTIMENT_API_KEY": "<SANTIMENT_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"crypto-sentiment": {
"command": "uv",
"args": [
"--directory",
"path/to/crypto-sentiment-mcp",
"run",
"main.py"
],
"env": {
"SANTIMENT_API_KEY": "<SANTIMENT_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"crypto-sentiment": {
"command": "uv",
"args": [
"--directory",
"path/to/crypto-sentiment-mcp",
"run",
"main.py"
],
"env": {
"SANTIMENT_API_KEY": "<SANTIMENT_API_KEY>"
}
}
}
}需要的环境变量
SANTIMENT_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。