@buildwithlayer/layer-mcp-demo
v0.0.9
Published
A demo MCP server using a Layer account
Keywords
Readme
Layer MCP Demo
An MCP server that uses a demo Layer account.
Prerequisites
This requires you to have a valid MCP client that supports tools, as well as a demo Layer account.
Getting Started
To use this demo server, you must first note your Layer API key. Then, you can launch the server with the following command:
# Replace LAYER_API_KEY_HERE with your API key
npx @buildwithlayer/layer-mcp-demo --Layer-Api-Key={LAYER_API_KEY_HERE} --{other-authentication-flags}Add the other authentication flags as needed. They match for the name expected by in the headers of the api request.
You can also add it directly to an MCP client. Here is an example of how to add it to cursor:
- Go to Cursor Settings > Features > MCP
- Click the
+ Add New MCP Serverbutton - Name it whatever you like (
layer-mcp-demofor example) - Set the
Typetocommand - Set the
Commandtonpx @buildwithlayer/layer-mcp-demo --Layer-Api-Key=LAYER_API_KEY_HERE, replacingLAYER_API_KEY_HEREwith your API key
