simpleinout-mcp
MCP server for the Simple In/Out APIv4, providing tools for check-in/out statuses, user and group management, and access to beacons, geofences, networks, announcements, and roles.
README
simpleinout-mcp
Simple In/Out MCP Service — a stateless HTTP MCP server wrapping the Simple In/Out APIv4, covering company info, in/out statuses, users, groups, beacons, geofences, networks, announcements, and roles.
Tech stack: Python 3.12 + uv + FastMCP (Starlette/Uvicorn)
Scope
15 tools, going beyond MSPbots' historical usage (which was just 1 endpoint — "Companies") to cover the broader resource catalog, prioritizing the core check-in/check-out status feature plus the read-side of every other resource category the API exposes.
Authentication
Simple In/Out's API is pure OAuth2 with no non-redirect alternative (confirmed against the official docs — only authorization_code and refresh_token grants exist; no client_credentials, no API key). However, the redirect step is only needed once, by a human, out-of-band — not by this service at runtime:
- One-time setup (a person does this, not the MCP): visit
GET /oauth/authorize?response_type=code&client_id=...&redirect_uri=...&scope=write, log in, approve. Exchange the returnedcodefor anaccess_token+refresh_tokenviaPOST /oauth/tokenwithgrant_type=authorization_code. - Ongoing operation (this service does this, per call): exchange the
refresh_tokenfor a freshaccess_tokenviaPOST /oauth/tokenwithgrant_type=refresh_token— this grant needs onlyclient_id+client_secret+refresh_token, no redirect_uri. Since access tokens are cheap to re-mint and this service must stay stateless, it does this on every call rather than caching.
So the only credentials this service needs are client_id, client_secret, and a refresh_token obtained once via step 1.
Quick Start
cd D:\claude\project\simpleinout-mcp
uv sync
$env:SIMPLEINOUT_CLIENT_ID="your_client_id"
$env:SIMPLEINOUT_CLIENT_SECRET="your_client_secret"
$env:SIMPLEINOUT_REFRESH_TOKEN="your_refresh_token"
uv run simpleinout-mcp
Configuration
Copy .env.example to .env and fill in your values:
| Variable | Default | Description |
|---|---|---|
SIMPLEINOUT_CLIENT_ID |
— | Simple In/Out OAuth2 client ID |
SIMPLEINOUT_CLIENT_SECRET |
— | Simple In/Out OAuth2 client secret |
SIMPLEINOUT_REFRESH_TOKEN |
— | Refresh token obtained from the one-time interactive authorization (see above) |
AUTH_MODE |
gateway |
gateway = credentials per-request via headers (SOP-compliant); env = shared credentials from env vars (local dev only) |
MCP_TRANSPORT |
stdio |
stdio (Claude Desktop) or http (gateway) |
MCP_HTTP_PORT |
8080 |
HTTP server port |
HEADER 授权参数说明
| Header | 类型 | 是否必填 | 默认值 | 枚举值 | 字段描述 | Example |
|---|---|---|---|---|---|---|
X-SimpleInOut-Client-Id |
string | 是 | 无 | 无 | Simple In/Out OAuth2 client ID(发邮件到 help@simplymadeapps.com 申请) | abc123def456 |
X-SimpleInOut-Client-Secret |
string | 是 | 无 | 无 | Simple In/Out OAuth2 client secret | xyz789uvw012 |
X-SimpleInOut-Refresh-Token |
string | 是 | 无 | 无 | 一次性人工登录授权换出来的 refresh_token(本服务用它每次调用换新的 access_token,不需要 redirect_uri) | osm5x33j2wd6rlsnwenrdrlgk1jpgsi5 |
Claude Desktop Setup
{
"mcpServers": {
"simpleinout": {
"command": "uv",
"args": ["run", "--directory", "D:/claude/project/simpleinout-mcp", "simpleinout-mcp"],
"env": {
"SIMPLEINOUT_CLIENT_ID": "your_client_id",
"SIMPLEINOUT_CLIENT_SECRET": "your_client_secret",
"SIMPLEINOUT_REFRESH_TOKEN": "your_refresh_token"
}
}
}
}
Transport Modes
stdio
$env:SIMPLEINOUT_CLIENT_ID="your_client_id"
$env:SIMPLEINOUT_CLIENT_SECRET="your_client_secret"
$env:SIMPLEINOUT_REFRESH_TOKEN="your_refresh_token"
uv run simpleinout-mcp
HTTP — single-tenant
$env:SIMPLEINOUT_CLIENT_ID="your_client_id"
$env:SIMPLEINOUT_CLIENT_SECRET="your_client_secret"
$env:SIMPLEINOUT_REFRESH_TOKEN="your_refresh_token"
$env:MCP_TRANSPORT="http"
$env:AUTH_MODE="env"
uv run simpleinout-mcp
HTTP — gateway / multi-tenant
$env:MCP_TRANSPORT="http"
$env:AUTH_MODE="gateway"
uv run simpleinout-mcp
# Each request must include: X-SimpleInOut-Client-Id, X-SimpleInOut-Client-Secret, X-SimpleInOut-Refresh-Token headers
Available Tools (15)
| Tool | Description | API |
|---|---|---|
simpleinout_get_current_company |
Retrieve the current company | GET /companies/my |
simpleinout_list_statuses |
List status-change history company-wide | GET /statuses |
simpleinout_list_my_statuses |
List the current user's status history | GET /users/my/statuses |
simpleinout_list_user_statuses |
List a specific user's status history | GET /users/:id/statuses |
simpleinout_create_my_status |
Change the current user's status (check in/out) | POST /users/my/statuses |
simpleinout_create_user_status |
Change another user's status | POST /users/:id/statuses |
simpleinout_list_users |
List all users | GET /users |
simpleinout_get_user |
Retrieve a specific user | GET /users/:id |
simpleinout_get_current_user |
Retrieve the current authenticated user | GET /users/my |
simpleinout_list_groups |
List all groups | GET /groups |
simpleinout_list_beacons |
List all beacons | GET /beacons |
simpleinout_list_fences |
List all geofences | GET /fences |
simpleinout_list_networks |
List all Wi-Fi networks | GET /networks |
simpleinout_list_announcements |
List all announcements | GET /announcements |
simpleinout_list_roles |
List all roles | GET /roles |
Known Gaps
- ⚠️ Not yet tested against a live Simple In/Out account. All 15 tools checked structurally only (MCP handshake, tools-list, schema validity,
/health, gateway 401 credential-gating). Per the parent ClickUp task, the previously-applied API client has expired; a new one has been requested via email (registering MSPbots' own MCP Management Service OAuth callback URLs as the redirect URIs) and is pending Simple In/Out's reply. Once a client_id/secret comes back, someone still needs to do the one-time interactive authorization to obtain the initial refresh_token before this can be tested end-to-end. - Endpoint paths/params verified directly against the docs' verbatim
Endpoint/Route/Parametersblocks (page text extraction, not an AI-summarized fetch) — not guessed. - "Settings" has no documented endpoint at all — it only appears as a timestamp key inside the
meta.last_updated_atobject on every response, not as its own resource. Not built as a tool. - "Favorites" is not a top-level resource — all favorites actions live under
/users/my/favorites(bulk-replace viaPOST) and/users/my/statuses/favorite//hide//unfavorite(per-item). NoGET /favoritesexists. Not built as a tool in this 15-tool scope; thePOST /users/my/favoritesbulk-replace endpoint could be added if favorites management is needed. - Statuses have no update/PATCH — a status is an immutable log entry; "changing" status means creating a new one (
simpleinout_create_my_status/simpleinout_create_user_status). - Scope is limited to the 15 operations above, not the full API surface (which also includes user/role/group create-update-delete, beacon/fence/network create-update-delete, and the newer Reporting API endpoint mentioned in Simple In/Out's changelog).
API Reference
- Simple In/Out API v4 Documentation
- How to request API credentials (email
help@simplymadeapps.com, subject "API")
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。