DevSpeak
v1.4.1Improve or correct developer writing, or turn rough notes into technical specs, from your agent.
Official DevSpeak MCP server. Give any MCP-compatible AI IDE or agent DevSpeak's writing tools. translate_text, translate_markdown, and refine_translation also accept four optional generation flags: webSearch (real-time web grounding), responseFormat (markdown or xml), managedModel (pin a managed model), and contextProjectId (ground on a Context Project). Omitting managedModel engages the server-side LLM router, which picks the best-fit managed model from the request signals. optimize_text, translate_text and translate_markdown accept correctionsOnly (boolean).
Summary extracted from the README.
@devspeak/mcp
Official DevSpeak MCP server. Give any MCP-compatible AI IDE or agent DevSpeak's writing tools.
- Improve or correct developer writing: PR descriptions, commit messages, tickets, docs and comments, in the language they were written in.
- Turn rough notes into technical specifications: Technical Specs, Jira Tickets, API Designs, RFCs, Data Models, and more, for a chosen audience.
Tools
| Tool | Description |
|---|---|
translate_text |
Translate informal input into a formal technical spec |
translate_markdown |
Translate README / docs while preserving Markdown structure |
refine_translation |
Iteratively refine generated output based on feedback |
optimize_text |
Stage 1 — improve raw text in its own language (or corrections only) |
summarize_input |
Condense text above the 10,000-character translation limit |
get_history |
List previous translations so prior work can be reused |
get_account_info |
Report tier, features, and quotas before calling a gated tool |
detect_language |
Detect the natural language of input text |
list_languages |
Return supported natural languages |
auth_confirm |
Verify API credentials against DevSpeak |
patch_translation_note |
Surgically update a note in the DevSpeak Notes Workspace |
publish_linkedin_post |
Compose — and optionally publish — a LinkedIn post from a published DevSpeak article |
translate_text, translate_markdown, and refine_translation also accept four optional generation flags: webSearch (real-time web grounding), responseFormat (markdown or xml), managedModel (pin a managed model), and contextProjectId (ground on a Context Project). Omitting managedModel engages the server-side LLM router, which picks the best-fit managed model from the request signals.
optimize_text, translate_text and translate_markdown accept correctionsOnly (boolean). Omitted or false improves the whole text (word choice, flow, clarity) in the language it was written in; true fixes only spelling, grammar and punctuation. On the translate tools it applies to format: "Optimize", which returns the input itself improved rather than a document. In both modes only the prose is edited: code blocks, inline code, links and URLs, tables and placeholders ({{name}}, ${name}, <name>) come back unchanged.
publish_linkedin_post is admin-only, enforced server-side; a standard API key receives 403. Its dryRun argument defaults to true, so calling the tool without arguments can only compose a preview — publishing requires an explicit second call with dryRun: false.
Prerequisites
- A DevSpeak account at devspeak.dev
- An API key — generate one from Settings → API Keys in the DevSpeak dashboard
- Node.js 18 or later
Installation by IDE
Claude Code
Add to ~/.claude/settings.json (user-level) or .claude/settings.json (project-level):
{
"mcpServers": {
"devspeak": {
"command": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
Or install the server globally and reference it directly:
npm install -g @devspeak/mcp
{
"mcpServers": {
"devspeak": {
"command": "devspeak-mcp",
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"devspeak": {
"command": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
Cursor
Create or edit .cursor/mcp.json at the project root or ~/.cursor/mcp.json globally:
{
"mcpServers": {
"devspeak": {
"command": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"devspeak": {
"command": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
VS Code (GitHub Copilot — Agent Mode)
Create .vscode/mcp.json at the workspace root:
{
"servers": {
"devspeak": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
Zed
Add to Zed's assistant.json (accessible via Zed → Settings → Assistant):
{
"context_servers": {
"devspeak": {
"command": {
"path": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE"
}
}
}
}
}
Any MCP-compatible host (generic stdio config)
{
"command": "npx",
"args": ["-y", "-p", "@devspeak/mcp", "devspeak-mcp"],
"env": {
"DEVSPEAK_API_KEY": "dsk_live_YOUR_KEY_HERE",
"DEVSPEAK_API_URL": "https://www.devspeak.dev"
}
}
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
DEVSPEAK_API_KEY |
Yes | — | DevSpeak API key (dsk_live_… or dsk_test_…) |
DEVSPEAK_API_URL |
No | https://www.devspeak.dev |
Override for self-hosted or staging instances |
Usage Examples
Once installed, your AI agent can invoke DevSpeak tools directly:
Translate this rough spec into a formal Technical Spec for a Senior Dev:
"users should be able to log in with google and remember their session"
Translate the README at the path below for a Junior Dev audience, preserving all Markdown:
./README.md
Refine the previous output — make it more concise and remove the implementation details section.
Resources
The server also exposes three read-only resources your agent can fetch:
devspeak://supported-languages— list of supported natural languagesdevspeak://api-reference— DevSpeak API surface summarydevspeak://workflow-reference— the 3-stage Optimize → Translate → Refine workflow
Agent Skills
For guided, task-specific workflows (translate a README, translate docs, improve code comments, draft release notes), install the official DevSpeak Agent Skills:
- GitHub: devspeak-dev/devspeak-skills
- skills.sh: search
devspeak
Skills require this MCP server to be installed and authenticated.
Privacy
The server stores nothing locally and sends no telemetry. It reads DEVSPEAK_API_KEY from the environment and sends the text of each tool call to the DevSpeak API, which processes it as described in the Privacy Policy.
Links
- Platform: devspeak.dev
- CLI: @devspeak/cli on npm
- VS Code Extension: search DevSpeak in the VS Code Marketplace
- API Reference: devspeak.dev/docs
- Issues: github.com/juanjaragavi/devspeak/issues