Secondlayer MCP
An official MCP server by Secondlayer that provides agents with live access to Stacks chain data, including indexing, streaming, subgraph management, and webhook configuration for building on Bitcoin and Stacks.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Official MCP Registry namespace is tied to secondlayer.tools ·
What you can do with it
- Index Stacks and Runes data from genesis
- Stream new chain events as they land
- Deploy and manage subgraphs in Postgres
- Create webhooks to react to chain events
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@secondlayer/mcp 11.2.4
{
"version": "11.2.4",
"transport": "stdio",
"identifier": "@secondlayer/mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "SECONDLAYER_API_KEY",
"format": "string",
"description": "Account API key (sk-sl_*) for the hosted API: credits, writes."
},
{
"name": "SECONDLAYER_API_URL",
"format": "string",
"default": "http://127.0.0.1:3800",
"description": "Instance API URL. Use https://api.secondlayer.tools for hosted."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"secondlayer-mcp": {
"command": "npx",
"args": [
"-y",
"@secondlayer/mcp@11.2.4"
],
"env": {
"SECONDLAYER_API_KEY": "<YOUR_SECONDLAYER_API_KEY>",
"SECONDLAYER_API_URL": "<YOUR_SECONDLAYER_API_URL>"
}
}
}
}Cline
{
"mcpServers": {
"secondlayer-mcp": {
"command": "npx",
"args": [
"-y",
"@secondlayer/mcp@11.2.4"
],
"env": {
"SECONDLAYER_API_KEY": "<YOUR_SECONDLAYER_API_KEY>",
"SECONDLAYER_API_URL": "<YOUR_SECONDLAYER_API_URL>"
}
}
}
}VS Code
{
"servers": {
"secondlayer-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@secondlayer/mcp@11.2.4"
],
"env": {
"SECONDLAYER_API_KEY": "<YOUR_SECONDLAYER_API_KEY>",
"SECONDLAYER_API_URL": "<YOUR_SECONDLAYER_API_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"secondlayer-mcp": {
"command": "npx",
"args": [
"-y",
"@secondlayer/mcp@11.2.4"
],
"env": {
"SECONDLAYER_API_KEY": "<YOUR_SECONDLAYER_API_KEY>",
"SECONDLAYER_API_URL": "<YOUR_SECONDLAYER_API_URL>"
}
}
}
}Let your agent find its tools
Find servers like Secondlayer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.