Skip to content

Commit 265a5da

Browse files
author
AgentSIM
committed
chore: sync from monorepo v0.10.0-sync-test
1 parent 876a9b6 commit 265a5da

6 files changed

Lines changed: 1442 additions & 124 deletions

File tree

README.md

Lines changed: 10 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,8 @@
1-
<p align="center">
2-
<a href="https://agentsim.dev">
3-
<img src="https://agentsim.dev/logo.svg" alt="AgentSIM" width="80" />
4-
</a>
5-
</p>
1+
# agentsim-mcp
62

7-
<h1 align="center">agentsim-mcp</h1>
3+
<!-- mcp-name: dev.agentsim/mcp -->
84

9-
<p align="center">
10-
<strong>MCP server for AgentSIM — give AI coding assistants real phone numbers</strong>
11-
</p>
12-
13-
<p align="center">
14-
<a href="https://pypi.org/project/agentsim-mcp/"><img src="https://img.shields.io/pypi/v/agentsim-mcp?color=%2334D058&label=pypi" alt="PyPI version"></a>
15-
<a href="https://www.npmjs.com/package/@agentsim/mcp-server"><img src="https://img.shields.io/npm/v/@agentsim/mcp-server?color=%2334D058&label=npm" alt="npm version"></a>
16-
<a href="https://github.com/agentsimdev/agentsim-mcp/blob/main/LICENSE"><img src="https://img.shields.io/github/license/agentsimdev/agentsim-mcp" alt="License"></a>
17-
</p>
18-
19-
<p align="center">
20-
<a href="https://docs.agentsim.dev/mcp">Docs</a> ·
21-
<a href="https://agentsim.dev/dashboard">Dashboard</a> ·
22-
<a href="https://github.com/agentsimdev/agentsim-examples">Examples</a>
23-
</p>
24-
25-
---
26-
27-
MCP server that exposes AgentSIM phone number tools to AI coding assistants. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible host.
28-
29-
Real SIM-backed numbers. No VoIP. Carrier lookup returns `mobile`.
5+
MCP server that exposes AgentSIM phone number tools to AI coding assistants — Claude Code, Cursor, Windsurf, and any other MCP-compatible host.
306

317
## Setup
328

@@ -60,7 +36,7 @@ Add `agentsim-mcp` as a stdio MCP server with `AGENTSIM_API_KEY` in the environm
6036

6137
### Remote (no install)
6238

63-
Connect directly to the hosted server — no local installation required:
39+
Connect directly to the hosted MCP server without installing anything locally:
6440

6541
```json
6642
{
@@ -80,62 +56,16 @@ Connect directly to the hosted server — no local installation required:
8056

8157
| Tool | Description |
8258
|------|-------------|
83-
| `provision_number` | Lease a real mobile phone number — returns number + session ID |
84-
| `wait_for_otp` | Long-poll until an OTP arrives (returns parsed code) |
59+
| `provision_number` | Provision a phone number for an agent — returns number, session ID, expiry |
60+
| `wait_for_otp` | Long-poll until an OTP arrives on the session (returns parsed code) |
8561
| `get_messages` | List raw SMS messages received on a session |
8662
| `release_number` | Release a session early (number returned to pool) |
87-
| `list_numbers` | List all active sessions for your account |
88-
89-
### Typical Workflow
63+
| `list_numbers` | List all active sessions for this account |
9064

91-
```
92-
1. provision_number → get phone number + session_id
93-
2. Use the number on target service to trigger SMS
94-
3. wait_for_otp → get the OTP code
95-
4. Use the OTP in your workflow
96-
5. release_number → return number to pool
97-
```
98-
99-
If `wait_for_otp` returns `status=carrier_retry_required`, a replacement number has been provisioned on the same session. Re-enter the new number on the target service, then call `wait_for_otp` again.
100-
101-
## Authentication
65+
## Auth
10266

10367
Set `AGENTSIM_API_KEY` in your environment. Get your key at [agentsim.dev/dashboard](https://agentsim.dev/dashboard).
10468

105-
## Self-Hosting
106-
107-
### Docker / Railway
108-
109-
```toml
110-
# railway.toml
111-
[build]
112-
builder = "nixpacks"
113-
114-
[deploy]
115-
startCommand = "python -m agentsim_mcp.server --http"
116-
healthcheckPath = "/health"
117-
```
118-
119-
### Manual
120-
121-
```bash
122-
pip install agentsim-mcp
123-
AGENTSIM_API_KEY=asm_live_xxx agentsim-mcp --sse
124-
```
125-
126-
## Pricing
127-
128-
- **Hobby**: 10 free sessions/month
129-
- **Builder**: $0.99/session
130-
- Sessions that time out are **not billed**
131-
132-
## Links
133-
134-
- [Documentation](https://docs.agentsim.dev/mcp)
135-
- [Python SDK](https://github.com/agentsimdev/agentsim-python)
136-
- [TypeScript SDK](https://github.com/agentsimdev/agentsim-typescript)
137-
- [Examples](https://github.com/agentsimdev/agentsim-examples)
138-
139-
## License
69+
## Supported Countries
14070

141-
[MIT](LICENSE)
71+
US (more coming soon)

npm/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"homepage": "https://agentsim.dev",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/agentsimdev/agentsim-mcp"
9+
"url": "https://github.com/agentsimdev/agentsim",
10+
"directory": "mcp"
1011
},
1112
"license": "MIT",
1213
"bin": {

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agentsim-mcp"
3-
version = "0.9.0"
3+
version = "0.10.0"
44
description = "AgentSIM MCP server — phone number provisioning tools for AI coding assistants"
55
readme = {text = "<!-- mcp-name: dev.agentsim/mcp -->\n\nReal SIM-backed phone numbers for AI agents. Provision a number, receive OTP codes, release — in 3 API calls. No VoIP. Carrier lookup returns `mobile`.\n\nSee [agentsim.dev](https://agentsim.dev) for documentation.", content-type = "text/markdown"}
66
requires-python = ">=3.11"
@@ -41,3 +41,5 @@ packages = ["agentsim_mcp"]
4141

4242
[tool.pytest.ini_options]
4343
asyncio_mode = "auto"
44+
45+
# sync-test: 2026-03-28T08:39:31Z

tests/__init__.py

Whitespace-only changes.

tests/test_server.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)