Credentials stay server-side
Do not embed an agent key in browser code. Store it in the execution environment and rotate it through your administration process.
For developers
An MCP interface and a framework adapter for cited, permission-aware memory. Keep orchestration in your application; bring the relevant context into each request.
Use a running Slashh server and a built local MCP checkout. During private preview, we can help provision the environment.
Issue an agent key through your authenticated administration flow. Limit its scopes to the workflow and keep it out of source control.
Set the local build path, server URL and issued key in your client’s MCP configuration. The values shown here are placeholders.
{
"mcpServers": {
"slashh": {
"command": "node",
"args": ["/absolute/path/to/mcp/dist/index.js"],
"env": {
"SLASHH_API_BASE": "http://localhost:4001",
"SLASHH_AGENT_KEY": "REPLACE_WITH_AGENT_KEY"
}
}
}
}
The interface
A selection of the MCP tools. Available results depend on the principal’s permissions and granted scopes.
memory_searchRetrieve ranked context with source citations.
memory_askAsk a question and get a grounded answer.
entity_profileExplore the relationships around a person or project.
who_knowsFind people connected to a topic.
decisionsRetrieve decision records and their context.
glossary_defineLook up your company’s terminology.
timemachine_diffCompare facts about an entity across dates.
memory_writeRecord agent-authored facts with provenance.
Use your own orchestration
The framework adapter exposes search, recall and writes through the Slashh REST client. This example assumes the workspace package is built and available to your application.
import { SlashhMemory } from "@slashh/mcp/framework-adapter";
const memory = new SlashhMemory({
baseUrl: process.env.SLASHH_API_BASE ?? "http://localhost:4001",
apiKey: process.env.SLASHH_AGENT_KEY,
});
const answer = await memory.recall(
"Why did we move the launch?"
);
console.log(answer.text, answer.citations);
Before the first call
Do not embed an agent key in browser code. Store it in the execution environment and rotate it through your administration process.
Test with a narrowly scoped principal. Verify both permitted retrieval and refusal behavior before adding the tool to an autonomous workflow.
Handle missing context and ungrounded results in your application. Citations are part of the response, not optional decoration.
Read tools that support as_of accept a historical timestamp. Evaluate which time boundary your workflow needs.
Your next step
Discuss a development environment, source connections and the workflow you want your agent to handle.