Overview
FOKS provides MCP servers that expose KV store and team operations to LLM tools like Claude Code. MCP servers run over stdio, so they can be plugged into any MCP-compatible client. There are currently two MCP servers:| Server | Command | Description |
|---|---|---|
foks-kv | foks mcp kv | Encrypted key-value store operations |
foks-team | foks mcp team | Team listing and membership queries |
Setup
Claude Code
Add the servers to your~/.claude.json:
/mcp to pick up the new servers.
Other MCP Clients
Any MCP client that supports stdio transports can use these servers. Point it at thefoks binary with the appropriate mcp subcommand.
foks mcp kv
Exposes the FOKS encrypted key-value store. All operations accept an optionalteam parameter to act on behalf of a team instead of the personal store.
Tools
| Tool | Description |
|---|---|
list | List contents of a directory |
get | Read file contents |
put | Write file contents |
mkdir | Create a directory |
rm | Remove a file or directory |
mv | Move or rename an entry |
stat | Get metadata for an entry |
usage | Show storage usage |
Examples
Once configured, an LLM can interact with your encrypted store directly:team parameter works on all tools, allowing the LLM to read and write team-scoped data:
foks mcp team
Exposes team listing and membership queries.Tools
| Tool | Description |
|---|---|
list | List the members of a team (requires team name) |
list-memberships | List all teams the current user is a member of |
Examples
Output Format
list returns tab-separated rows:name, host, src-role, dst-role, added-time.
list-memberships returns tab-separated rows: team, src-role, dst-role, via, index-range.