UNPKG
@felores/placid-mcp-server
Version:
latest (1.7.0)
1.7.0
1.5.0
1.0.0
Placid.app MCP server to list templates and generate images and videos
@felores/placid-mcp-server
/
build
/
config
/
config.js
11 lines
(10 loc)
•
300 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
function
loadConfig
(
) {
const
placidApiToken = process.
env
.
PLACID_API_TOKEN
;
if
(!placidApiToken) {
throw
new
Error
(
"PLACID_API_TOKEN environment variable is required"
); }
return
{ placidApiToken,
apiBaseUrl
:
"https://api.placid.app/api/rest"
, }; }