Skip to content

Commit fcf276b

Browse files
authored
Add MCP server (#152)
Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent a3735e7 commit fcf276b

1 file changed

Lines changed: 98 additions & 0 deletions

File tree

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "markets.alpaca-mcp-uvx",
4+
"name": "Alpaca (uvx)",
5+
"alias": "alpaca",
6+
"description": "Trade stocks, ETFs, options, and crypto, run market-data analysis, and manage your portfolio in plain English through Alpaca's official Trading API. Defaults to paper trading for safe testing.",
7+
"logo": "https://avatars.githubusercontent.com/u/30398729?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools"
11+
],
12+
"tags": [
13+
"alpaca",
14+
"trading",
15+
"stocks",
16+
"finance",
17+
"options",
18+
"crypto",
19+
"market-data"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "uvx",
24+
"args": [
25+
"alpaca-mcp-server"
26+
],
27+
"env": {
28+
"ALPACA_API_KEY": "${input:ALPACA_API_KEY}",
29+
"ALPACA_SECRET_KEY": "${input:ALPACA_SECRET_KEY}",
30+
"ALPACA_PAPER_TRADE": "${input:ALPACA_PAPER_TRADE}"
31+
},
32+
"metadata": {
33+
"inputs": [
34+
{
35+
"id": "ALPACA_API_KEY",
36+
"label": "Alpaca API Key",
37+
"description": "Your Alpaca API key ID. Use your paper-trading key for testing or your live key for real trading.",
38+
"type": "text",
39+
"required": true,
40+
"secret": true,
41+
"placeholder": "PK************************",
42+
"obtain": {
43+
"url": "https://app.alpaca.markets/paper/dashboard/overview",
44+
"instructions": "1. Sign in to the Alpaca dashboard\n2. Open the Paper Trading dashboard (or switch to Live for real trading)\n3. In the right sidebar, find 'API Keys' and click 'Generate New Key'\n4. Copy the API Key ID and the Secret Key (the secret is shown only once)",
45+
"button_label": "Open Alpaca Dashboard"
46+
}
47+
},
48+
{
49+
"id": "ALPACA_SECRET_KEY",
50+
"label": "Alpaca Secret Key",
51+
"description": "Your Alpaca secret key, generated alongside your API key. Shown only once at creation time.",
52+
"type": "text",
53+
"required": true,
54+
"secret": true,
55+
"placeholder": "************************************",
56+
"obtain": {
57+
"url": "https://app.alpaca.markets/paper/dashboard/overview",
58+
"instructions": "1. Sign in to the Alpaca dashboard\n2. Open the Paper Trading dashboard (or switch to Live for real trading)\n3. Under 'API Keys', click 'Generate New Key'\n4. Copy the Secret Key immediately (it cannot be retrieved later)",
59+
"button_label": "Open Alpaca Dashboard"
60+
}
61+
},
62+
{
63+
"id": "ALPACA_PAPER_TRADE",
64+
"label": "Paper Trading",
65+
"description": "When enabled (default), trades run against Alpaca's paper-trading account with simulated money. Disable only with live API keys to trade with real capital.",
66+
"type": "boolean",
67+
"required": false,
68+
"secret": false,
69+
"default": "true"
70+
}
71+
]
72+
}
73+
},
74+
"auth": {
75+
"type": "api_key",
76+
"instructions": "Generate an API Key ID and Secret Key from the Alpaca dashboard (Paper Trading for testing, Live for real money) at https://app.alpaca.markets/paper/dashboard/overview"
77+
},
78+
"contributor": {
79+
"name": "Alpaca",
80+
"github": "alpacahq",
81+
"url": "https://alpaca.markets"
82+
},
83+
"links": {
84+
"repository": "https://github.com/alpacahq/alpaca-mcp-server",
85+
"homepage": "https://alpaca.markets",
86+
"documentation": "https://docs.alpaca.markets/us/docs/alpaca-mcp-server"
87+
},
88+
"platforms": [
89+
"all"
90+
],
91+
"capabilities": {
92+
"tools": true,
93+
"resources": false,
94+
"prompts": false,
95+
"read_only_mode": false
96+
},
97+
"changelog_url": "https://github.com/alpacahq/alpaca-mcp-server/releases"
98+
}

0 commit comments

Comments
 (0)