Skip to content

Pulumi MCP example doesn't work #540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antimius opened this issue Jun 1, 2025 · 2 comments
Closed

Pulumi MCP example doesn't work #540

antimius opened this issue Jun 1, 2025 · 2 comments

Comments

@antimius
Copy link

antimius commented Jun 1, 2025

The example for running a server via NPX doesn't work. When running thv run npx://pulumi/mcp-server@latest the server doesn't start. This is in the logs:

1:04PM INF JSON-RPC raw: [\npm error code ENOENT]
1:04PM INF Sanitized JSON: []
1:04PM INF JSON-RPC raw: [npm error syscall open]
1:04PM INF Sanitized JSON: []
1:04PM INF JSON-RPC raw: [npm error path /app/pulumi/mcp-server@latest/package.json]
1:04PM INF Sanitized JSON: []
1:04PM INF JSON-RPC raw: [npm error errno -2]
1:04PM INF Sanitized JSON: []
1:04PM INF JSON-RPC raw: [npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/app/pulumi/mcp-server@latest/package.json']
1:04PM INF Sanitized JSON: []
1:04PM INF JSON-RPC raw: [npm error enoent This is related to npm not being able to find a file.]
1:04PM INF Sanitized JSON: []
1:04PM INF JSON-RPC raw: [npm error enoent]
@eleftherias
Copy link
Member

Hey @antimius, thanks for pointing this out!
We had an error in our README, where we weren't using scoped npm package name @pulumi. We've fixed it now and if you run thv run npx://@pulumi/mcp-server@latest you shouldn't get those errors.

@antimius
Copy link
Author

antimius commented Jun 5, 2025

It works now, thanks!

@antimius antimius closed this as completed Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants