freee/freee-mcp
Model Context Protocol (MCP) server for freee API integration
478e0dc90b98freee-mcp0.38.3 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 30 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 3 source files could be read only in part
- 6 of 33 tools, prompts and resources could not be followed through the code
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
- 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 10 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- HIGHTools
Sign ファイルアップロード,freee_file_uploadread or write any file path by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
Sign ファイルアップロード,freee_file_uploadcan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
Sign ファイルアップロード,freee_file_upload, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 23 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
(name computed at run time), Sign ファイルアップロード, freee_current_user, freee_file_upload, freee_list_companies, freee_set_current_company and 2 more(name computed at run time), Sign ファイルアップロード, freee_current_user, freee_file_upload, freee_list_companies, freee_set_current_company(name computed at run time), Sign ファイルアップロード, sign_authenticate(name computed at run time), Sign ファイルアップロード, sign_auth_status, sign_authenticate, sign_clear_auth(name computed at run time), Sign ファイルアップロード, sign_authenticateNo tool was seen to: start other programs on the machine.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
FREEE_SIGN_CLIENT_SECRET· (name computed at run time), Sign ファイルアップロード
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files8 tools · (name computed at run time), Sign ファイルアップロード, freee_current_user +5
Tool annotations
15 of 23 tools declare annotations. readOnlyHint 8, destructiveHint 2, idempotentHint 2.
Tools, prompts and resources (23: 23 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
Sign ファイルアップロードtool ローカルファイルから freee サインの文書を作成 (POST /v1/documents/uploads または /v1/pdf_documents)。Base64 を sign_api_post の body に渡す方法はファイルが大きいと失敗するため、ファイルからの文書作成にはこのツールを使うFilesNetworkCredentialsEnv varsSensitive pathsoutside textReads/writes files
ローカルファイルから freee サインの文書を作成 (POST /v1/documents/uploads または /v1/pdf_documents)。Base64 を sign_api_post の body に渡す方法はファイルが大きいと失敗するため、ファイルからの文書作成にはこのツールを使う
freee_file_uploadtool ファイルボックスにファイルをアップロード (POST /api/1/receipts、詳細ガイドはfreee-api-skill skillを参照)FilesNetworkoutside textReads/writes files
ファイルボックスにファイルをアップロード (POST /api/1/receipts、詳細ガイドはfreee-api-skill skillを参照)
(name computed at run time)tool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
freee_api_bulk_gettool
No description.
freee_api_bulk_writetool
No description.
freee_api_deletetool
No description.
freee_api_gettool
No description.
freee_api_list_pathstool freee API エンドポイント一覧 (詳細ガイドはfreee-api-skill skillを参照)read-only (declared)
freee API エンドポイント一覧 (詳細ガイドはfreee-api-skill skillを参照)
freee_api_patchtool
No description.
freee_api_posttool
No description.
freee_api_puttool
No description.
freee_auth_statustool 認証状態を確認 (詳細ガイドはfreee-api-skill skillを参照)read-only (declared)
認証状態を確認 (詳細ガイドはfreee-api-skill skillを参照)
freee_authenticatetool OAuth認証を開始、初回のみ必要 (詳細ガイドはfreee-api-skill skillを参照)
OAuth認証を開始、初回のみ必要 (詳細ガイドはfreee-api-skill skillを参照)
freee_clear_authtool 認証情報をクリア (詳細ガイドはfreee-api-skill skillを参照)destructive (declared)
認証情報をクリア (詳細ガイドはfreee-api-skill skillを参照)
freee_current_usertool 現在のユーザー情報を取得 (詳細ガイドはfreee-api-skill skillを参照)FilesNetworkoutside textread-only (declared)
現在のユーザー情報を取得 (詳細ガイドはfreee-api-skill skillを参照)
freee_get_current_companytool 現在の事業所情報を表示 (詳細ガイドはfreee-api-skill skillを参照)read-only (declared)
現在の事業所情報を表示 (詳細ガイドはfreee-api-skill skillを参照)
freee_list_companiestool 事業所一覧を表示 (詳細ガイドはfreee-api-skill skillを参照)FilesNetworkoutside textread-only (declared)
事業所一覧を表示 (詳細ガイドはfreee-api-skill skillを参照)
freee_server_infotool freee-mcp サーバーの情報を取得(バージョンなど)read-only (declared)
freee-mcp サーバーの情報を取得(バージョンなど)
freee_set_current_companytool 事業所を設定・切り替え (詳細ガイドはfreee-api-skill skillを参照)FilesNetworkoutside text
事業所を設定・切り替え (詳細ガイドはfreee-api-skill skillを参照)
sign_auth_statustool freee サインの認証状態を確認FilesEnv varsoutside textread-only (declared)
freee サインの認証状態を確認
sign_authenticatetool freee サイン OAuth認証を開始(初回のみ必要)FilesCredentialsEnv varsSensitive pathsoutside text
freee サイン OAuth認証を開始(初回のみ必要)
sign_clear_authtool freee サインの認証情報をクリアEnv varsdestructive (declared)
freee サインの認証情報をクリア
sign_server_infotool freee-sign-mcp サーバーの情報を取得read-only (declared)
freee-sign-mcp サーバーの情報を取得
Text the model reads (26)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
freee_file_upload tool
ファイルボックスにファイルをアップロード (POST /api/1/receipts、詳細ガイドはfreee-api-skill skillを参照)
freee_current_user tool
現在のユーザー情報を取得 (詳細ガイドはfreee-api-skill skillを参照)
freee_authenticate tool
OAuth認証を開始、初回のみ必要 (詳細ガイドはfreee-api-skill skillを参照)
freee_auth_status tool
認証状態を確認 (詳細ガイドはfreee-api-skill skillを参照)
freee_clear_auth tool
認証情報をクリア (詳細ガイドはfreee-api-skill skillを参照)
freee_set_current_company tool
事業所を設定・切り替え (詳細ガイドはfreee-api-skill skillを参照)
freee_get_current_company tool
現在の事業所情報を表示 (詳細ガイドはfreee-api-skill skillを参照)
freee_list_companies tool
事業所一覧を表示 (詳細ガイドはfreee-api-skill skillを参照)
freee_server_info tool
freee-mcp サーバーの情報を取得(バージョンなど)
freee_api_get tool
freee_api_post tool
freee_api_put tool
freee_api_delete tool
freee_api_patch tool
freee_api_bulk_get tool
freee_api_bulk_write tool
freee_api_list_paths tool
freee API エンドポイント一覧 (詳細ガイドはfreee-api-skill skillを参照)
Sign ファイルアップロード tool
ローカルファイルから freee サインの文書を作成 (POST /v1/documents/uploads または /v1/pdf_documents)。Base64 を sign_api_post の body に渡す方法はファイルが大きいと失敗するため、ファイルからの文書作成にはこのツールを使う
sign_authenticate tool
freee サイン OAuth認証を開始(初回のみ必要)
sign_auth_status tool
freee サインの認証状態を確認
sign_clear_auth tool
freee サインの認証情報をクリア
(name computed at run time) tool
sign_server_info tool
freee-sign-mcp サーバーの情報を取得
freee_api_get tool
freee_auth_status tool
freee_api_get tool
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH1 finding in freee_file_upload; 1 more to review
- Requests any addressNo tool sends a request to an address the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 23 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 23 capabilities; 16 more call code the scanner could not follow, where it may happen
- Tools that touch files8 of 23 capabilities touch files; 8 more call code the scanner could not follow, where it may happen
- Tools that call the network6 of 23 capabilities call the network; 10 more call code the scanner could not follow, where it may happen
Where the code is: 23 handlers in 5 files at commit 478e0dc90b98
src/mcp/file-upload-tool.tsfreee_file_uploadsrc/mcp/tools.tsfreee_current_user, freee_authenticate, freee_auth_status, freee_clear_auth, freee_set_current_company, freee_get_current_company, freee_list_companies, freee_server_infosrc/openapi/client-mode.tsfreee_api_get, freee_api_post, freee_api_put, freee_api_delete, freee_api_patch, freee_api_bulk_get, freee_api_bulk_write, freee_api_list_pathssrc/sign/file-upload-tool.tsSign ファイルアップロードsrc/sign/tools.tssign_authenticate, sign_auth_status, sign_clear_auth, (name computed at run time), sign_server_info
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSVNothing could be resolved to exact versions; 2 not resolved: bun.lock: lockfile format is not supported by this analyzer, dependencies were not checked; package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK version@modelcontextprotocol/inspector ^0.17.5 (dev), @modelcontextprotocol/sdk ^1.29.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials3 of 23 capabilities read credentials; 13 more call code the scanner could not follow, where it may happen
- Environment variables5 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (12 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/inspector ^0.17.5 (dev), @modelcontextprotocol/sdk ^1.29.0 |
| Servers in the code | 3 (test, freee-sign) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-12 |
| Signed releases | not checked yet |
Install it
For the server's own npm package freee-mcp. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"freee-mcp": {
"command": "npx",
"args": [
"-y",
"freee-mcp"
],
"env": {
"FREEE_SIGN_CLIENT_SECRET": "<your freee_sign_client_secret>"
}
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"freee-mcp": {
"command": "npx",
"args": [
"-y",
"freee-mcp"
],
"env": {
"FREEE_SIGN_CLIENT_SECRET": "<your freee_sign_client_secret>"
}
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"freee-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"freee-mcp"
],
"env": {
"FREEE_SIGN_CLIENT_SECRET": "<your freee_sign_client_secret>"
}
}
}
}Claude Code terminal
claude mcp add freee-mcp -e FREEE_SIGN_CLIENT_SECRET=... -- npx -y freee-mcpWhere it is published
| npm package | freee-mcp |
|---|---|
| Downloads | 72 988 a month on npm |
| Listed in | 5 catalogs (awesome_habitoai, github_search, glama, mcp_toplist, npm) |
| License | Apache-2.0 |
| Created | 2025-01-29 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.