About Stash
Stash is an MCP server published by Fergana-Labs in the RAG category: open-source infrastructure for agents that learn from experience. Capture production traces and turn lessons into reusable knowledge and skills. Conduid read 69 tools from its source: stash_add_column, stash_add_source, stash_batch_delete, stash_batch_move, stash_batch_restore, stash_browse_source and 63 more. It is published to PyPI as stashai and runs with uvx.
The repository has 347 stars and 46 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is pr-815-images (15 Jul 2026): Assets uploaded by gh-attach. The release before it was gh-attach-assets (18 May 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-collaboration, artifacts, cli, coding-agent, context-engineering and continual-learning.
Install
uvx stashaipip install stashaigit clone https://github.com/Fergana-Labs/stashTools (69)
stash_add_columnAdd a column to a table. col_type: text, number, boolean, date, select, url.| Parameter | Type | Description |
|---|---|---|
| col_type | string | |
| name * | string | |
| options | string | |
| table_id * | string |
stash_add_sourceConnect a source. source_type: github_repo | google_drive | gmail || Parameter | Type | Description |
|---|---|---|
| display_name | string | |
| external_ref | string | |
| source_type * | string |
stash_batch_deleteMove many pages/files to the trash at once. `items` is a list of| Parameter | Type | Description |
|---|---|---|
| items * | array |
stash_batch_moveMove many items at once. `items` is a list of {object_type, object_id}| Parameter | Type | Description |
|---|---|---|
| items * | array | |
| move_to_root | boolean | |
| target_folder_id | string |
stash_batch_restoreRestore many pages/files from the trash at once. Best-effort.| Parameter | Type | Description |
|---|---|---|
| items * | array |
stash_browse_sourceList a source's entries like a file system. `source` is a handle from| Parameter | Type | Description |
|---|---|---|
| path | string | |
| source * | string |
stash_copy_fileDuplicate an uploaded file (and its blob) as 'Copy of <name>'.| Parameter | Type | Description |
|---|---|---|
| file_id * | string | |
| target_folder_id | string |
stash_copy_folderDeep-duplicate a folder (subfolders, pages, tables, files) as 'Copy of <name>'.| Parameter | Type | Description |
|---|---|---|
| folder_id * | string | |
| target_folder_id | string |
stash_copy_pageDuplicate a page as 'Copy of <name>'. Optionally place it in target_folder_id.| Parameter | Type | Description |
|---|---|---|
| page_id * | string | |
| target_folder_id | string |
stash_create_folderCreate a folder. Pass parent_folder_id to nest.| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| parent_folder_id | string |
stash_create_pageCreate a page. Pass folder_id to drop it into a folder; omit for the root.| Parameter | Type | Description |
|---|---|---|
| content | string | |
| folder_id | string | |
| name * | string |
stash_create_skillCreate a skill from full SKILL.md content (frontmatter + body).| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| skill_md * | string |
stash_create_tableCreate a new table. columns is a JSON array of {name, type} objects.| Parameter | Type | Description |
|---|---|---|
| columns | string | |
| description | string | |
| name * | string |
stash_delete_columnDelete a column from a table.| Parameter | Type | Description |
|---|---|---|
| column_id * | string | |
| table_id * | string |
stash_delete_fileDelete a file.| Parameter | Type | Description |
|---|---|---|
| file_id * | string |
stash_delete_folderDelete a folder (and everything inside it).| Parameter | Type | Description |
|---|---|---|
| folder_id * | string |
stash_delete_pageDelete a page.| Parameter | Type | Description |
|---|---|---|
| page_id * | string |
stash_delete_rowDelete a row from a table.| Parameter | Type | Description |
|---|---|---|
| row_id * | string | |
| table_id * | string |
stash_delete_sessionSoft-delete a session. Use stash_restore(kind='session', id=...) to| Parameter | Type | Description |
|---|---|---|
| session * | string |
stash_delete_tableDelete a table.| Parameter | Type | Description |
|---|---|---|
| table_id * | string |
stash_edit_fileRename and/or move a file. Pass any subset of name / folder_id / move_to_root.| Parameter | Type | Description |
|---|---|---|
| file_id * | string | |
| folder_id | string | |
| move_to_root | boolean | |
| name | string |
stash_edit_folderRename and/or reparent a folder. Pass any subset of name / parent_folder_id / move_to_root.| Parameter | Type | Description |
|---|---|---|
| folder_id * | string | |
| move_to_root | boolean | |
| name | string | |
| parent_folder_id | string |
stash_edit_pageUpdate an existing page's content (and optionally rename).| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| expected_content_hash * | string | |
| name | string | |
| page_id * | string |
stash_export_tableReturn all rows of a table as JSON. For large tables prefer| Parameter | Type | Description |
|---|---|---|
| table_id * | string |
stash_file_textExtract text content from a file (PDF, doc, etc.).| Parameter | Type | Description |
|---|---|---|
| file_id * | string |
stash_fork_skillFork a public Skill into your own scope.| Parameter | Type | Description |
|---|---|---|
| slug * | string |
stash_get_shared_skillGet a public shared skill by its slug.| Parameter | Type | Description |
|---|---|---|
| slug * | string |
stash_insert_rowInsert a row into a table. data is a JSON object mapping column names to values.| Parameter | Type | Description |
|---|---|---|
| data * | string | |
| table_id * | string |
stash_list_agentsList distinct agent names that have pushed events.stash_list_filesList your uploaded files.stash_list_foldersList your folders (flat).stash_list_pagesFlat list of every page.stash_list_sharesList who an object is shared with.| Parameter | Type | Description |
|---|---|---|
| object_id * | string | |
| object_type * | string |
stash_list_skillsList your skills — local SKILL.md folders and shared bundles.stash_list_sourcesList every source you can read here: native 'files' and 'sessions', plusstash_list_tablesList your tables.stash_list_trashList soft-deleted pages, files, and sessions. Items can be restored or purged.stash_list_workspacesWorkspaces you belong to, plus which scope is active. The active scopestash_memory_treeThe Memory wiki as a nested folder/page tree, rooted at your Memorystash_publish_htmlSingle-call publish: create an HTML page, wrap it in a Skill, and return the Skill URL.| Parameter | Type | Description |
|---|---|---|
| audience | string | |
| description * | string | |
| folder_id | string | |
| html * | string | |
| title * | string |
stash_publish_markdownSingle-call publish: create a markdown page, wrap it in a Skill, and return the Skill URL.| Parameter | Type | Description |
|---|---|---|
| audience | string | |
| description * | string | |
| folder_id | string | |
| markdown * | string | |
| title * | string |
stash_publish_skillPublish a skill folder: make it publicly readable at /skills/<slug>.| Parameter | Type | Description |
|---|---|---|
| discoverable | boolean | |
| folder_id * | string |
stash_purgePermanently delete a trashed page/file/session. Not reversible.| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| kind * | string |
stash_push_eventPush a new event into a session's stream.| Parameter | Type | Description |
|---|---|---|
| agent_name * | string | |
| content * | string | |
| event_type * | string | |
| session_id * | string | |
| tool_name | string |
stash_query_eventsQuery recent session events, optionally filtered by agent or event type.| Parameter | Type | Description |
|---|---|---|
| agent_name | string | |
| event_type | string | |
| limit | integer |
stash_query_tableQuery rows from a table with optional sorting and filtering.| Parameter | Type | Description |
|---|---|---|
| filters | string | |
| limit | integer | |
| offset | integer | |
| sort_by | string | |
| sort_order | string | |
| table_id * | string |
stash_read_pageRead a page's content.| Parameter | Type | Description |
|---|---|---|
| page_id * | string |
stash_read_public_skillFetch a public Skill by slug as plain text (markdown-formatted| Parameter | Type | Description |
|---|---|---|
| slug * | string |
stash_read_skillRead a skill's contents (SKILL.md and sibling pages) by its folder id.| Parameter | Type | Description |
|---|---|---|
| folder_id * | string |
stash_read_sourceRead one document from a source. `ref` is a page id (files), a session| Parameter | Type | Description |
|---|---|---|
| ref * | string | |
| source * | string |
stash_remove_sourceDisconnect a source you own (its indexed documents cascade away).| Parameter | Type | Description |
|---|---|---|
| source_id * | string |
stash_restoreRestore a trashed page/file/session. `kind` is one of: page, file, session.| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| kind * | string |
stash_searchSearch across all your sources — native files + session transcripts +| Parameter | Type | Description |
|---|---|---|
| exclude_sources | string | |
| include_sources | string | |
| limit | integer | |
| modified_after | string | |
| modified_before | string | |
| query * | string | |
| source | string |
stash_search_public_skillsSearch the public Skill catalog (Discover).| Parameter | Type | Description |
|---|---|---|
| query | string | |
| sort | string |
stash_session_transcriptFetch a full session transcript as JSONL text. Each line is one| Parameter | Type | Description |
|---|---|---|
| session * | string |
stash_share_objectShare a folder/page/file/session/table with a person by email. If they| Parameter | Type | Description |
|---|---|---|
| email * | string | |
| expires_at | string | |
| object_id * | string | |
| object_type * | string | |
| permission | string |
stash_snapshot_sourceCopy a point-in-time snapshot of one connected-source document (source_id| Parameter | Type | Description |
|---|---|---|
| path * | string | |
| skill_id * | string | |
| source_id * | string |
stash_switch_workspaceSwitch the active scope to a workspace (by name or domain), or back to| Parameter | Type | Description |
|---|---|---|
| name * | string |
stash_sync_sourceTrigger an immediate re-index of a connected source you own.| Parameter | Type | Description |
|---|---|---|
| source_id * | string |
stash_table_schemaGet a table's schema (columns and types).| Parameter | Type | Description |
|---|---|---|
| table_id * | string |
stash_treeNested folder/page tree for your scope.stash_unpublish_skillStop sharing a skill: delete its publish record. The folder stays.| Parameter | Type | Description |
|---|---|---|
| skill_id * | string |
stash_unshare_objectRevoke a share. principal_type is 'user' (principal_id is the user id from| Parameter | Type | Description |
|---|---|---|
| object_id * | string | |
| object_type * | string | |
| principal_id * | string | |
| principal_type * | string |
stash_update_rowUpdate a row in a table. data is a JSON object of column values to update.| Parameter | Type | Description |
|---|---|---|
| data * | string | |
| row_id * | string | |
| table_id * | string |
stash_update_skillUpdate a published skill's metadata or Discover flag.| Parameter | Type | Description |
|---|---|---|
| description | string | |
| discoverable | string | |
| skill_id * | string | |
| title | string |
stash_update_tableRename or update a table's metadata. Omit a field to leave it| Parameter | Type | Description |
|---|---|---|
| description | string | |
| name | string | |
| table_id * | string |
stash_upload_fileUpload a local file.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
stash_vfsRun one read-only shell-shaped script over your whole Stash — `ls`,| Parameter | Type | Description |
|---|---|---|
| cwd | string | |
| script * | string |
stash_whoamiGet info about the currently authenticated user.Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 441 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and 5 more.
- !No dynamic code executionScanned 883 source files and found 1 call to eval or shell execution, in backend/services/sprite_agent_service.py:313. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdio and Streamable HTTPbackend/routers/mcp_servers.py:20, backend/routers/mcp_servers.py:20
- Starts other programs
- 32 callsbackend/exports/native/diff.py:103, backend/exports/native/diff.py:124, backend/exports/native/diff.py:138
- Outbound network calls
- 242 callsbackend/exports/native/aspose_builder.py:37, backend/exports/native/aspose_builder.py:56, backend/exports/native/aspose_builder.py:92
- Writes or deletes files
- 37 callsbackend/exports/native/cli.py:97, backend/exports/native/diff.py:101, backend/exports/native/diff.py:195
- Lockfile
- uv.lock and 5 more
Pattern matches on the source text of 883 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 441 words, fetched 2 days ago. The original in the repository is authoritative.
Read full README