stackpress-ai
v0.10.8
Published
MCP server package for the Stackpress framework.
Readme
Stackpress AI
MCP server package for the Stackpress framework.
Configuration
mcp: {
name: 'Blog MCP',
tools: [
{
name: 'article_search',
type: 'app',
method: 'GET',
event: 'article-search',
scopes: ['articles.read'],
input: {
type: 'object',
properties: {
q: { type: 'string' }
}
}
},
{
mode: 'plugin',
type: 'user',
event: 'comment-tool'
}
]
}Authorization
publictools require no bearer tokenapptools authenticate throughapplication-detailusertools authenticate throughsession-detail- non-
GETappandusertools require the token secret to match the stored application or session secret
Live Transport Auth
- Streamable HTTP resolves bearer auth per initialize request in
statefulmode and per request instatelessmode - SSE resolves bearer auth from the initial event-stream connection and keeps that auth bound to the session
- authenticated transports only register the tools visible to that caller, so live
tools/listandtools/callstay in sync - user-scoped tool calls receive
profileId,applicationId, andsessionIdin the downstream event payload
Current Status
- Tool registry assembly, plugin resolution, and transport shells are implemented
- JSON Schema inputs are validated through
zod.fromJSONSchema() tools/listauth filtering helpers are implemented- Per-request authenticated filtering is wired into the live HTTP and SSE MCP transports
